@digital-realty/ix-button 3.2.1 → 3.2.3
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/dist/IxButton.js.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/ix-button-styles.js.map +1 -0
- package/dist/ix-button.js.map +1 -0
- package/dist/react/IxButton.js.map +1 -0
- package/package.json +14 -7
- package/dist/src/IxButton.js.map +0 -1
- package/dist/src/index.js.map +0 -1
- package/dist/src/ix-button-styles.js.map +0 -1
- package/dist/src/ix-button.js.map +0 -1
- package/dist/src/react/IxButton.js.map +0 -1
- package/dist/test/ix-button.test.d.ts +0 -1
- package/dist/test/ix-button.test.js +0 -124
- package/dist/test/ix-button.test.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/src/IxButton.ts +0 -116
- package/src/index.ts +0 -1
- package/src/ix-button-styles.ts +0 -10
- package/src/ix-button.ts +0 -3
- package/src/react/IxButton.ts +0 -14
- package/test/ix-button.test.ts +0 -126
- package/tsconfig.json +0 -21
- package/web-dev-server.config.mjs +0 -27
- package/web-test-runner.config.mjs +0 -41
- /package/dist/{src/IxButton.d.ts → IxButton.d.ts} +0 -0
- /package/dist/{src/IxButton.js → IxButton.js} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/ix-button-styles.d.ts → ix-button-styles.d.ts} +0 -0
- /package/dist/{src/ix-button-styles.js → ix-button-styles.js} +0 -0
- /package/dist/{src/ix-button.d.ts → ix-button.d.ts} +0 -0
- /package/dist/{src/ix-button.js → ix-button.js} +0 -0
- /package/dist/{src/react → react}/IxButton.d.ts +0 -0
- /package/dist/{src/react → react}/IxButton.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IxButton.js","sourceRoot":"","sources":["../src/IxButton.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE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AAE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;8CAAsB;AAK1B;IAAnD,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;yCAAiB;AAGpE;IADC,QAAQ,EAAE;sCACa;AAGxB;IADC,QAAQ,EAAE;sCACoC;AAG/C;IADC,QAAQ,EAAE;4CAEA;AAGX;IADC,QAAQ,EAAE;yCACqC","sourcesContent":["import { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '@material/web/button/text-button.js';\nimport '@material/web/button/elevated-button.js';\nimport '@material/web/button/filled-button.js';\nimport '@material/web/button/outlined-button.js';\nimport '@material/web/button/filled-tonal-button.js';\n\nexport class IxButton extends LitElement {\n static get styles() {\n return [];\n }\n\n /**\n * Whether or not the button is disabled.\n */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /**\n * The URL that the link button points to.\n */\n @property() href = '';\n\n /**\n * Where to display the linked `href` URL for a link button. Common options\n * include `_blank` to open in a new tab.\n */\n @property() target: '_blank' | '_parent' | '_self' | '_top' | '' = '';\n\n /**\n * Whether to render the icon at the inline end of the label rather than the\n * inline start.\n *\n * _Note:_ Link buttons cannot have trailing icons.\n */\n @property({ type: Boolean, attribute: 'trailing-icon' }) trailingIcon = false;\n\n /**\n * Whether to display the icon or not.\n */\n @property({ type: Boolean, attribute: 'has-icon' }) hasIcon = false;\n\n @property()\n text: string = 'Submit';\n\n @property()\n type: 'button' | 'submit' | 'reset' = 'button';\n\n @property()\n appearance: 'elevated' | 'filled' | 'filled-tonal' | 'outlined' | 'text' =\n 'filled';\n\n @property()\n onClick: (event: MouseEvent) => void = () => {};\n\n render() {\n let comp;\n if (this.appearance === 'elevated') {\n comp = html`<md-elevated-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-elevated-button\n >`;\n } else if (this.appearance === 'filled') {\n comp = html`<md-filled-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-filled-button\n >`;\n } else if (this.appearance === 'filled-tonal') {\n comp = html`<md-filled-tonal-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-filled-tonal-button\n >`;\n } else if (this.appearance === 'outlined') {\n comp = html`<md-outlined-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-outlined-button\n >`;\n } else if (this.appearance === 'text') {\n comp = html`<md-text-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-text-button\n >`;\n }\n return html`${comp}`;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { IxButton } from './IxButton.js';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ix-button-styles.js","sourceRoot":"","sources":["../src/ix-button-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;CAOhC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const IxButtonStyles = css`\n :host {\n font-family: var(--ix-button-font-family, 'Museo-300', Arial, sans-serif);\n }\n button {\n font-family: var(--ix-button-font-family, 'Museo-300', Arial, sans-serif);\n }\n`;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ix-button.js","sourceRoot":"","sources":["../src/ix-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC","sourcesContent":["import { IxButton } from './IxButton.js';\n\nwindow.customElements.define('ix-button', IxButton);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IxButton.js","sourceRoot":"","sources":["../../src/react/IxButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEzD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAEvD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,WAAW;IACzB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;KACnB;CACF,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { IxButton as IxButtonLit } from '../IxButton.js';\n\nwindow.customElements.define('ix-button', IxButtonLit);\n\nexport const IxButton = createComponent({\n tagName: 'ix-button',\n elementClass: IxButtonLit,\n react: React,\n events: {\n onclick: 'onClick',\n },\n});\n"]}
|
package/package.json
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"description": "Webcomponent ix-button following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "3.2.
|
|
6
|
+
"version": "3.2.3",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "dist/
|
|
9
|
-
"module": "dist/
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "dist/index.js",
|
|
10
10
|
"exports": {
|
|
11
|
-
".": "./dist/
|
|
12
|
-
"./ix-button.js": "./dist/
|
|
13
|
-
"./IxButton": "./dist/
|
|
11
|
+
".": "./dist/index.js",
|
|
12
|
+
"./ix-button.js": "./dist/ix-button.js",
|
|
13
|
+
"./IxButton": "./dist/react/IxButton.js"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
@@ -93,5 +93,12 @@
|
|
|
93
93
|
"prettier --write"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"
|
|
96
|
+
"files": [
|
|
97
|
+
"/dist",
|
|
98
|
+
"!/dist/test",
|
|
99
|
+
"package.json",
|
|
100
|
+
"README.md",
|
|
101
|
+
"LICENSE"
|
|
102
|
+
],
|
|
103
|
+
"gitHead": "8cc87349401c4c07791a7f0b970e71c038958b70"
|
|
97
104
|
}
|
package/dist/src/IxButton.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IxButton.js","sourceRoot":"","sources":["../../src/IxButton.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,yCAAyC,CAAC;AACjD,OAAO,uCAAuC,CAAC;AAC/C,OAAO,yCAAyC,CAAC;AACjD,OAAO,6CAA6C,CAAC;AAErD,MAAM,OAAO,QAAS,SAAQ,UAAU;IAAxC;;QAKE;;WAEG;QACyC,aAAQ,GAAG,KAAK,CAAC;QAE7D;;WAEG;QACS,SAAI,GAAG,E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\nimport '@material/web/button/text-button.js';\nimport '@material/web/button/elevated-button.js';\nimport '@material/web/button/filled-button.js';\nimport '@material/web/button/outlined-button.js';\nimport '@material/web/button/filled-tonal-button.js';\n\nexport class IxButton extends LitElement {\n static get styles() {\n return [];\n }\n\n /**\n * Whether or not the button is disabled.\n */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /**\n * The URL that the link button points to.\n */\n @property() href = '';\n\n /**\n * Where to display the linked `href` URL for a link button. Common options\n * include `_blank` to open in a new tab.\n */\n @property() target: '_blank' | '_parent' | '_self' | '_top' | '' = '';\n\n /**\n * Whether to render the icon at the inline end of the label rather than the\n * inline start.\n *\n * _Note:_ Link buttons cannot have trailing icons.\n */\n @property({ type: Boolean, attribute: 'trailing-icon' }) trailingIcon = false;\n\n /**\n * Whether to display the icon or not.\n */\n @property({ type: Boolean, attribute: 'has-icon' }) hasIcon = false;\n\n @property()\n text: string = 'Submit';\n\n @property()\n type: 'button' | 'submit' | 'reset' = 'button';\n\n @property()\n appearance: 'elevated' | 'filled' | 'filled-tonal' | 'outlined' | 'text' =\n 'filled';\n\n @property()\n onClick: (event: MouseEvent) => void = () => {};\n\n render() {\n let comp;\n if (this.appearance === 'elevated') {\n comp = html`<md-elevated-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-elevated-button\n >`;\n } else if (this.appearance === 'filled') {\n comp = html`<md-filled-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-filled-button\n >`;\n } else if (this.appearance === 'filled-tonal') {\n comp = html`<md-filled-tonal-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-filled-tonal-button\n >`;\n } else if (this.appearance === 'outlined') {\n comp = html`<md-outlined-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-outlined-button\n >`;\n } else if (this.appearance === 'text') {\n comp = html`<md-text-button\n @click=${this.onClick}\n .disabled=${this.disabled}\n .target=${this.target}\n .href=${this.href}\n .trailingIcon=${this.trailingIcon}\n .hasIcon=${this.hasIcon}\n .value=\"${this.text}\"\n >${this.text}</md-text-button\n >`;\n }\n return html`${comp}`;\n }\n}\n"]}
|
package/dist/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { IxButton } from './IxButton.js';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ix-button-styles.js","sourceRoot":"","sources":["../../src/ix-button-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;CAOhC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const IxButtonStyles = css`\n :host {\n font-family: var(--ix-button-font-family, 'Museo-300', Arial, sans-serif);\n }\n button {\n font-family: var(--ix-button-font-family, 'Museo-300', Arial, sans-serif);\n }\n`;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ix-button.js","sourceRoot":"","sources":["../../src/ix-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC","sourcesContent":["import { IxButton } from './IxButton.js';\n\nwindow.customElements.define('ix-button', IxButton);\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IxButton.js","sourceRoot":"","sources":["../../../src/react/IxButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEzD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAEvD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,WAAW;IACzB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;KACnB;CACF,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { IxButton as IxButtonLit } from '../IxButton.js';\n\nwindow.customElements.define('ix-button', IxButtonLit);\n\nexport const IxButton = createComponent({\n tagName: 'ix-button',\n elementClass: IxButtonLit,\n react: React,\n events: {\n onclick: 'onClick',\n },\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '../src/ix-button.js';
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { html } from 'lit';
|
|
2
|
-
import { fixture, expect } from '@open-wc/testing';
|
|
3
|
-
import '../src/ix-button.js';
|
|
4
|
-
describe('IxButton', () => {
|
|
5
|
-
it('Should fire event when submit button is clicked', async () => {
|
|
6
|
-
let message = '';
|
|
7
|
-
const props = {
|
|
8
|
-
disabled: false,
|
|
9
|
-
text: 'Click me!',
|
|
10
|
-
type: 'submit',
|
|
11
|
-
appearance: 'elevated',
|
|
12
|
-
onClick: () => {
|
|
13
|
-
message = 'Hello world!';
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
const el = await fixture(html `
|
|
17
|
-
<ix-button
|
|
18
|
-
.text=${props.text}
|
|
19
|
-
@click=${props.onClick}
|
|
20
|
-
type="${props.type}"
|
|
21
|
-
?disabled=${props.disabled}
|
|
22
|
-
appearance="${props.appearance}"
|
|
23
|
-
></ix-button>
|
|
24
|
-
`);
|
|
25
|
-
el.click();
|
|
26
|
-
expect(message).to.equal('Hello world!');
|
|
27
|
-
});
|
|
28
|
-
it('should render elevated button when appearance is elevated', async () => {
|
|
29
|
-
var _a;
|
|
30
|
-
const props = {
|
|
31
|
-
disabled: false,
|
|
32
|
-
text: 'Click me!',
|
|
33
|
-
type: 'submit',
|
|
34
|
-
appearance: 'elevated',
|
|
35
|
-
};
|
|
36
|
-
const el = await fixture(html `
|
|
37
|
-
<ix-button
|
|
38
|
-
.text=${props.text}
|
|
39
|
-
type="${props.type}"
|
|
40
|
-
?disabled=${props.disabled}
|
|
41
|
-
appearance="${props.appearance}"
|
|
42
|
-
></ix-button>
|
|
43
|
-
`);
|
|
44
|
-
const button = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-elevated-button');
|
|
45
|
-
expect(button).to.be.not.null;
|
|
46
|
-
});
|
|
47
|
-
it('should render filled button when appearance is filled', async () => {
|
|
48
|
-
var _a;
|
|
49
|
-
const props = {
|
|
50
|
-
disabled: false,
|
|
51
|
-
text: 'Click me!',
|
|
52
|
-
type: 'submit',
|
|
53
|
-
appearance: 'filled',
|
|
54
|
-
};
|
|
55
|
-
const el = await fixture(html `
|
|
56
|
-
<ix-button
|
|
57
|
-
.text=${props.text}
|
|
58
|
-
type="${props.type}"
|
|
59
|
-
?disabled=${props.disabled}
|
|
60
|
-
appearance="${props.appearance}"
|
|
61
|
-
></ix-button>
|
|
62
|
-
`);
|
|
63
|
-
const button = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-filled-button');
|
|
64
|
-
expect(button).to.be.not.null;
|
|
65
|
-
});
|
|
66
|
-
it('should render filled-tonal button when appearance is filled-tonal', async () => {
|
|
67
|
-
var _a;
|
|
68
|
-
const props = {
|
|
69
|
-
disabled: false,
|
|
70
|
-
text: 'Click me!',
|
|
71
|
-
type: 'submit',
|
|
72
|
-
appearance: 'filled-tonal',
|
|
73
|
-
};
|
|
74
|
-
const el = await fixture(html `
|
|
75
|
-
<ix-button
|
|
76
|
-
.text=${props.text}
|
|
77
|
-
type="${props.type}"
|
|
78
|
-
?disabled=${props.disabled}
|
|
79
|
-
appearance="${props.appearance}"
|
|
80
|
-
></ix-button>
|
|
81
|
-
`);
|
|
82
|
-
const button = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-filled-tonal-button');
|
|
83
|
-
expect(button).to.be.not.null;
|
|
84
|
-
});
|
|
85
|
-
it('should render outlined button when appearance is outlined', async () => {
|
|
86
|
-
var _a;
|
|
87
|
-
const props = {
|
|
88
|
-
disabled: false,
|
|
89
|
-
text: 'Click me!',
|
|
90
|
-
type: 'submit',
|
|
91
|
-
appearance: 'outlined',
|
|
92
|
-
};
|
|
93
|
-
const el = await fixture(html `
|
|
94
|
-
<ix-button
|
|
95
|
-
.text=${props.text}
|
|
96
|
-
type="${props.type}"
|
|
97
|
-
?disabled=${props.disabled}
|
|
98
|
-
appearance="${props.appearance}"
|
|
99
|
-
></ix-button>
|
|
100
|
-
`);
|
|
101
|
-
const button = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-outlined-button');
|
|
102
|
-
expect(button).to.be.not.null;
|
|
103
|
-
});
|
|
104
|
-
it('should render text button when appearance is text', async () => {
|
|
105
|
-
var _a;
|
|
106
|
-
const props = {
|
|
107
|
-
disabled: false,
|
|
108
|
-
text: 'Click me!',
|
|
109
|
-
type: 'submit',
|
|
110
|
-
appearance: 'text',
|
|
111
|
-
};
|
|
112
|
-
const el = await fixture(html `
|
|
113
|
-
<ix-button
|
|
114
|
-
.text=${props.text}
|
|
115
|
-
type="${props.type}"
|
|
116
|
-
?disabled=${props.disabled}
|
|
117
|
-
appearance="${props.appearance}"
|
|
118
|
-
></ix-button>
|
|
119
|
-
`);
|
|
120
|
-
const button = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-text-button');
|
|
121
|
-
expect(button).to.be.not.null;
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
//# sourceMappingURL=ix-button.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ix-button.test.js","sourceRoot":"","sources":["../../test/ix-button.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,qBAAqB,CAAC;AAE7B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,EAAE,CAAC,iDAAiD,EAAE,KAAK,IAAI,EAAE;QAC/D,IAAI,OAAO,GAAG,EAAE,CAAC;QACjB,MAAM,KAAK,GAAG;YACZ,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,UAAU;YACtB,OAAO,EAAE,GAAG,EAAE;gBACZ,OAAO,GAAG,cAAc,CAAC;YAC3B,CAAC;SACF,CAAC;QACF,MAAM,EAAE,GAAG,MAAM,OAAO,CAAW,IAAI,CAAA;;gBAE3B,KAAK,CAAC,IAAI;iBACT,KAAK,CAAC,OAAO;gBACd,KAAK,CAAC,IAAI;oBACN,KAAK,CAAC,QAAQ;sBACZ,KAAK,CAAC,UAAU;;KAEjC,CAAC,CAAC;QAEH,EAAE,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,2DAA2D,EAAE,KAAK,IAAI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I;oBACN,KAAK,CAAC,QAAQ;sBACZ,KAAK,CAAC,UAAU;;KAEjC,CAAC,CAAC;QAEH,MAAM,MAAM,GAAG,MAAA,EAAE,CAAC,UAAU,0CAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAC9D,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { html } from 'lit';\nimport { fixture, expect } from '@open-wc/testing';\nimport { IxButton } from '../src/IxButton.js';\nimport '../src/ix-button.js';\n\ndescribe('IxButton', () => {\n it('Should fire event when submit button is clicked', async () => {\n let message = '';\n const props = {\n disabled: false,\n text: 'Click me!',\n type: 'submit',\n appearance: 'elevated',\n onClick: () => {\n message = 'Hello world!';\n },\n };\n const el = await fixture<IxButton>(html`\n <ix-button\n .text=${props.text}\n @click=${props.onClick}\n type=\"${props.type}\"\n ?disabled=${props.disabled}\n appearance=\"${props.appearance}\"\n ></ix-button>\n `);\n\n el.click();\n expect(message).to.equal('Hello world!');\n });\n it('should render elevated button when appearance is elevated', async () => {\n const props = {\n disabled: false,\n text: 'Click me!',\n type: 'submit',\n appearance: 'elevated',\n };\n const el = await fixture<IxButton>(html`\n <ix-button\n .text=${props.text}\n type=\"${props.type}\"\n ?disabled=${props.disabled}\n appearance=\"${props.appearance}\"\n ></ix-button>\n `);\n\n const button = el.shadowRoot?.querySelector('md-elevated-button');\n expect(button).to.be.not.null;\n });\n it('should render filled button when appearance is filled', async () => {\n const props = {\n disabled: false,\n text: 'Click me!',\n type: 'submit',\n appearance: 'filled',\n };\n const el = await fixture<IxButton>(html`\n <ix-button\n .text=${props.text}\n type=\"${props.type}\"\n ?disabled=${props.disabled}\n appearance=\"${props.appearance}\"\n ></ix-button>\n `);\n\n const button = el.shadowRoot?.querySelector('md-filled-button');\n expect(button).to.be.not.null;\n });\n it('should render filled-tonal button when appearance is filled-tonal', async () => {\n const props = {\n disabled: false,\n text: 'Click me!',\n type: 'submit',\n appearance: 'filled-tonal',\n };\n const el = await fixture<IxButton>(html`\n <ix-button\n .text=${props.text}\n type=\"${props.type}\"\n ?disabled=${props.disabled}\n appearance=\"${props.appearance}\"\n ></ix-button>\n `);\n\n const button = el.shadowRoot?.querySelector('md-filled-tonal-button');\n expect(button).to.be.not.null;\n });\n it('should render outlined button when appearance is outlined', async () => {\n const props = {\n disabled: false,\n text: 'Click me!',\n type: 'submit',\n appearance: 'outlined',\n };\n const el = await fixture<IxButton>(html`\n <ix-button\n .text=${props.text}\n type=\"${props.type}\"\n ?disabled=${props.disabled}\n appearance=\"${props.appearance}\"\n ></ix-button>\n `);\n\n const button = el.shadowRoot?.querySelector('md-outlined-button');\n expect(button).to.be.not.null;\n });\n it('should render text button when appearance is text', async () => {\n const props = {\n disabled: false,\n text: 'Click me!',\n type: 'submit',\n appearance: 'text',\n };\n const el = await fixture<IxButton>(html`\n <ix-button\n .text=${props.text}\n type=\"${props.type}\"\n ?disabled=${props.disabled}\n appearance=\"${props.appearance}\"\n ></ix-button>\n `);\n\n const button = el.shadowRoot?.querySelector('md-text-button');\n expect(button).to.be.not.null;\n });\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/index.d.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../../../node_modules/@material/web/internal/controller/attachable-controller.d.ts","../../../node_modules/@material/web/focus/internal/focus-ring.d.ts","../../../node_modules/@material/web/focus/md-focus-ring.d.ts","../../../node_modules/@material/web/ripple/internal/ripple.d.ts","../../../node_modules/@material/web/ripple/ripple.d.ts","../../../node_modules/@material/web/internal/controller/element-internals.d.ts","../../../node_modules/@material/web/internal/controller/form-submitter.d.ts","../../../node_modules/@material/web/button/internal/button.d.ts","../../../node_modules/@material/web/button/internal/text-button.d.ts","../../../node_modules/@material/web/button/text-button.d.ts","../../../node_modules/@material/web/elevation/internal/elevation.d.ts","../../../node_modules/@material/web/elevation/elevation.d.ts","../../../node_modules/@material/web/button/internal/elevated-button.d.ts","../../../node_modules/@material/web/button/elevated-button.d.ts","../../../node_modules/@material/web/button/internal/filled-button.d.ts","../../../node_modules/@material/web/button/filled-button.d.ts","../../../node_modules/@material/web/button/internal/outlined-button.d.ts","../../../node_modules/@material/web/button/outlined-button.d.ts","../../../node_modules/@material/web/button/internal/filled-tonal-button.d.ts","../../../node_modules/@material/web/button/filled-tonal-button.d.ts","../src/ixbutton.ts","../src/index.ts","../src/ix-button-styles.ts","../src/ix-button.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@lit-labs/react/create-component.d.ts","../../../node_modules/@lit-labs/react/index.d.ts","../src/react/ixbutton.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/get-diffable-html.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/chai-dom-diff-plugin.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/chai-dom-diff.d.ts","../../../node_modules/@open-wc/semantic-dom-diff/index.d.ts","../../../node_modules/chai-a11y-axe/chai-a11y-axe-plugin.d.ts","../../../node_modules/chai-a11y-axe/src/accessible.d.ts","../../../node_modules/chai-a11y-axe/index.d.ts","../../../node_modules/@types/chai-dom/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/sinon/index.d.ts","../../../node_modules/@types/sinon-chai/index.d.ts","../../../node_modules/@open-wc/testing/register-chai-plugins.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/elementupdated.d.ts","../../../node_modules/lit-html/static.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/renderable.d.ts","../../../node_modules/@open-wc/dedupe-mixin/index.d.ts","../../../node_modules/@open-wc/scoped-elements/types/src/types.d.ts","../../../node_modules/@open-wc/scoped-elements/types/src/scopedelementsmixin.d.ts","../../../node_modules/@open-wc/scoped-elements/types/index.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/fixture-no-side-effect.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/fixture.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/fixturewrapper.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/helpers.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/scopedelementswrapper.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/litfixture.d.ts","../../../node_modules/@open-wc/testing-helpers/types/src/stringfixture.d.ts","../../../node_modules/@open-wc/testing-helpers/types/index.d.ts","../../../node_modules/@open-wc/testing/index.d.ts","../test/ix-button.test.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/accepts/index.d.ts","../../../node_modules/@types/babel__code-frame/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/co-body/index.d.ts","../../../node_modules/@types/command-line-args/index.d.ts","../../../node_modules/@types/content-disposition/index.d.ts","../../../node_modules/@types/convert-source-map/index.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/send/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/http-errors/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/keygrip/index.d.ts","../../../node_modules/@types/cookies/index.d.ts","../../../node_modules/@types/debounce/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/http-assert/index.d.ts","../../../node_modules/@types/intl-tel-input/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@types/jquery/jquerystatic.d.ts","../../../node_modules/@types/jquery/jquery.d.ts","../../../node_modules/@types/jquery/misc.d.ts","../../../node_modules/@types/jquery/legacy.d.ts","../../../node_modules/@types/sizzle/index.d.ts","../../../node_modules/@types/jquery/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/koa-compose/index.d.ts","../../../node_modules/@types/koa/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/mocha/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../../../node_modules/@types/parse5/index.d.ts","../../../node_modules/@types/prismjs/index.d.ts","../../../node_modules/@types/resolve/index.d.ts","../../../node_modules/@types/scheduler/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","e59262ddaae67dec2d226f8a5d05cf6c4dc353c0d9b1e4980a61d7fcf9a2b051","5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576","470b8c2386c916bad4aa0d05e89b271a47dbe1250cb25dc0f93102b457228dde","15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e",{"version":"17f2b4d00e42e0cc1dfc3be692a6da5a14a6cb73b87259e6d20ff02bcd6d573f","affectsGlobalScope":true},"7000ec8572390d035ba5ef993953957150d0c38ffb31b56653c97dd78cb6e1aa","056892cca68dca10a914f1580ba0e5710d26794e8707225dca9b5717ed702f1e","4ddf3962990379d1ea59b369a5516c7533b7944010d6998e0e9b1ab35d5af1f0","1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be","2a8f0a19a927e83421597c056c90695557142f54ca96358f01eb1f2a5eb228be","d08415b3d6d7fd153ba6e7bf7707ffc57f3c6ad85730ea63544756610b4350c6","411f23da7a63c3d3fd4860c41a458e8df239776fd5d9cd36dd3ad6be92afccbd","6ada3e065916c0ef2dbc9bc0f9b5d59afb25d9176f81fa2c8993a536924140c6","356cc1b058e05e07d2acd73bfa87f83a6f4a343450ee375dad232ff4a55d41d8","df286e6b181ed08766bc19cf1a2fddc50bc5d540f233bc1ce4430a3c1c8c8379","f436800c0af503703110c93144fcc7392524636fb4216296411243b29fe0162d","0d5002560b45ce4fd6c4124632f61789e584be0634602486a2ce59541311d153","bbe13c947d7d6c3426e0e5815e2b3464fa03d34a4bf47298c43b9237cf59555b","9f7d0ee33b9f8fa4dc2e9628e0cdf8683104d01de9d3d24f62cd5da014a5bec4","a8992b852521a66f63e0cedc6e1f054b28f972232b6fa5ca59771db6a1c8bbea","905800cc110167503d0cf58bb0dd6fa4aaac1e9cedc9bd9c48e5d1f8b5b8d4c8","37577c4f865accbe17a77e46395831df983810f7f40029dcecab030e0dcf1a98",{"version":"17fef45daf4268739c248d3fd4904112e247beaa33ec18214cf0830cbebae306","affectsGlobalScope":true},"2c887f29f6796ea68247c626acbef560ff29bb8d0042b641e4fc69559841463d",{"version":"726740c77a2cfbf8ddf85c52584bb359be7effbbcb8da1eb74132c9fda946c29","affectsGlobalScope":true},"8736c27cdcd3585148931d1684aa33a611dc00e789e08c3a17f5c2994985c9f0","7a64f400283279e45a541e9339cc8c15ac924f8e55c6fe2563aa7aa72b99332c","a57c91e0d1700059e4b8b4504276c2a52786f97fde470c49275a8a367756f555","0f28503979e769f6ee6e55350f621dc00e300f15688d52b02edc62d837d29b1d",{"version":"8973f59fcbe2a53314d8ef5a692693142be85b8a4b454d676395d6d1354215e5","affectsGlobalScope":true},"6184309fe39e2fe444f4ba94e7cd1abef48fcb48e258457c3b77c65828184241",{"version":"e2cd30c507d2cef0fa1675b90a46a726aa56078be47d0ae79cfdefaae5abef43","affectsGlobalScope":true},"614e0cbf4a0cf857bbb770ba562a67446d69131bd450c6e32c6ab9bb3a15bec4",{"version":"5d685f03674946016263048ee6b9c21e2cee7ce9c5610df3f33498f273f4e9fe","affectsGlobalScope":true},"58b7b1e7fb26cdf192c0f2d328efdb52db1099542eb7530a08d022a6e7562088",{"version":"a66b042cf41a6bf6b032350465188121d826f2f0c1fe5e7a35a63a509ebe5220","affectsGlobalScope":true},"92ecb50ec31c5d5804a7d701dd2ec138c9e9dd30d2383c2bade52cfdaee9e100",{"version":"e4ead30d4a9a31568263f3b1c5684d3cd5ae447a55b43cab3928eaea33f1282a","affectsGlobalScope":true},"f62447a24f44165bcdaf31e71321004853eba4a718408200fb7a033f81cc3a21",{"version":"4c90df944afb173a031cda4533c7b2fd36df65b6e184c89f69791ce325b9abfa","affectsGlobalScope":true},{"version":"1ab8598f6a2dd3caba96bd6d27c98a79f1c0755a711466bac9d538fe893e3776","signature":"95ad3d90455bd2a6453f992bab95cfa37949d364c58f03cdf8dd48f3454c16fd"},"0dc5fc82b4442551434decb8769d7f8ee0e86c3ac45a85963e3716eeb553795b",{"version":"eecfee044863453c40febd5c7e17aa1be2bb1c5ca5559d1a39516f808c310a38","signature":"d23ebf3d49f967034986717934e4172e915cc0e6e2a514d53cb3f8b015230392"},{"version":"55aceb3dc948c7c4f4159920a97def0f6ebbc6420a22362eb2f24197c0df15ca","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"0bd5e7096c7bc02bf70b2cc017fc45ef489cb19bd2f32a71af39ff5787f1b56a","affectsGlobalScope":true},"4c68749a564a6facdf675416d75789ee5a557afda8960e0803cf6711fa569288","60ecad5852d4d83edae430e597405132d278a79c10499e9363aecbe1ddc0eade","5f8f00356f6a82e21493b2d57b2178f11b00cf8960df00bd37bdcae24c9333ca",{"version":"b608a6434fb3fe6901467659e8e96abc07d0d96a69fa7235598c1f91f9fb0266","affectsGlobalScope":true},"f2cf91ff23f677bfc43d6e53493802c32d49be819cdc7882551b30bdcc5d0d3c","8b56bffe700912f2b02068748da0bbdc3778ef2a43e8cecf0c4438b3a5e36b1c",{"version":"9a4ac72dd1984c0fd70476d297d8304f0cf5b38eb7a4408f607d96f84d53efe7","signature":"d0f8ba5c6d7c2b750ee11ad4abb4c92bc7075ae3a1c3360b91a287799f9221ff"},{"version":"1fb008c1a29f86a8a0e9a674b7235f23c6d2a86c9658772941fb626a60aac53b","affectsGlobalScope":true},"72bee526b949b9932edba50997ff3b9cdede7b314d790d5f0d94f3d2944930ea",{"version":"2d412861573a672bd90fdcb1e48740593324565f3b3aaf6808c0e3e2f0d54ae8","affectsGlobalScope":true},{"version":"cd711db43a952f15464b571ac11b7a440332cd52342bc92c4bf908c70688f57f","affectsGlobalScope":true},"9d8709c916778cb34830708ed47b78e9a46d1fb2eb73a682b14eee990bed4aa6",{"version":"507e2131e89b515ce40c05c0c2fef6cc575ba8947703f92e8cdf36078747a9ff","affectsGlobalScope":true},"999a90d30a3183dcee987d0a5a7c586aba5bacbf6ce087ba8635124082ccfeea","8a5878edd52f4a720560b4c6e6247e9ddc3df6118ad9cf2f9927903b03d5f440",{"version":"31214658e22c23eb58ff8383346bf6c8d135b3eab0748f3226aa7b6f30d2021f","affectsGlobalScope":true},"cc75216f6b332971954ef74bf3d14c3881c461e82987050d5f62af3e5966e845","ba413737ba42d8aeb36db45f34d265d4d949a8fe3d645d984311b2e906d2af0b",{"version":"4b93bb181cf4f25ccbf2ec1f559912c81678433a9784ce84163b5c9e1548998f","affectsGlobalScope":true},"65b91a3725399231d3469529b5e27b85bf2aa98013e607f308e5fe260b47eeff","04e3793f33c71ceae20a4719698c068b72c98cf925b3c5f8a33096c00ed44258","bbc354c6a2740b087f1139e88e90309de480c5390362e2f0d32a145d8d7cf539","605e0f5adf8993110c06c775e2a59b7774d1e7a99fc9657140380bab005063bc","88cda4269c54f0803834fd62b2fac61af8bff7a085693f7ca9df85c1f19dee8a",{"version":"d40075d9f1c08b4a8d8e468076f5258900e99895e7259c40f3923b7044bbed6c","affectsGlobalScope":true},"47a20e497d83cd84ad0aa5363200003f08f850fa819339044e03399941eef063","ade0d37a4c1d1abede2abf2591b7cc6347892ea53d4a39bf44a25fb6f707822f","eefa12914a21dafe4352e79866599498b73b3bd232d19854932f58ef36303fb0","d7840fd94e6dfb5b0d9df5a20fe1e79c8dd72b1efdb74d2ef04c31e3588c6b5b","fa6d684e15fe6e99c7208a51b45c04f8e0147f1c8587871aac48fff55b7b1f24","26a3d4bf5351a0034f4203d42946ef5308b22919ba2f26a3ecb976a17c714d83","735eca4958f164c1121f08f9de89352e6f75a56c1533ceefeae075c085799618","d5b69429138b2fb26076427c630064a71c12959263ec3d92cbec54baf89354e1","793fca6322a14fa8fa6bc6a4fc694fd7bcc88922c4f9abcd48bf6908f8bf939b","0b2b7cb8164fcc6f4a71c1bf47c2cd4828c867f0ec19d178bb20954348de9a30","50f63746fc2a779d1f9c5657fd78e292045dc98b540e026799e039ea629f2943",{"version":"aad460a05d382aa45dbfb7977483637e14f680f531726cd12d0069a96dce7047","signature":"f1d92bbe90fbc41ef11716f52d454edfd989e196f268b72b7077c949b774b360"},"09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"45c22e7e615c8bb6e27325339490f6bd83828d843f9f3cf0ce9fd4d81f6cd923","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","f5a8b7ec4b798c88679194a8ebc25dcb6f5368e6e5811fcda9fe12b0d445b8db","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"c65eca1f892b9e5ee97af93963b2bdf813e4be3b599d06dfb681da19df8358b0","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","1ee64912f7961165a3b6e6209fb7a8aced98b578ca1373b9f0ea144edfe17f6c","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","ad8848c289c0b633452e58179f46edccd14b5a0fe90ebce411f79ff040b803e0",{"version":"5d4ef3f46c7f9d62f7c964f9f9ccdd293be99fb3dcc66c983f2aea7430e3c7c6","affectsGlobalScope":true},"91f8b5abcdff8f9ecb9656b9852878718416fb7700b2c4fad8331e5b97c080bb","59d8f064f86a4a2be03b33c0efcc9e7a268ad27b22f82dce16899f3364f70ba8","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"f49fb15c4aa06b65b0dce4db4584bfd8a9f74644baef1511b404dc95be34af00","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","f8c87b19eae111f8720b0345ab301af8d81add39621b63614dfc2d15fd6f140a","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"786dd9ad95e335a5e76759d078940fdb5001b74498a31f90fad98afe196a84ca","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"0ed13c80faeb2b7160bffb4926ff299c468e67a37a645b3ae0917ba0db633c1b","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"d3f4c342fb62f348f25f54b473b0ab7371828cbf637134194fa9cdf04856f87b","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","ef437dd282a112d1172b50ac7fd86713d475a496da7aeb31119f529f1313c8d5","82819f9ecc249a6a3e284003540d02ea1b1f56f410c23231797b9e1e4b9622df","81a109b6bb6adf5ed70f2c7e6d907b8c3adcf7b47b5ee09701c5f97370fd29b7","c7da551241b7be719b7bd654ab12a5098c3206fbb189076dd2d8871011a6ab5a","f78253406029c78c96d8923b15e89a5900836e47a2b98bee6c83dc142421d395","5ae76b5a59f2f787e9eb2d4f1a066ceb4505a52bf8fe77ac321d791ef2e72000","64fcc79ee3c237816b9cef0a9289b00bf3da5b17040cd970ac04ba03c4ac1595","49f1d42ac650932fe64a9b623c27ea6e681335ea2e7cda52a5358f4248701001","f6218314af6f492ce5461bdadac5b829f5b4b31a3d1da3d04e77ed0afe0829fb","7167d932a7e2e991084421bb22af20024ada5a046d948c742de0f89996de5d0b","e2d3bfa79f0fad3ad67dfb0685c50dbe19b364a440160a2d40d0e3f44c75938c",{"version":"1c598f8d911f0bc39f04910c8c93f2f76fbb65f892ee5ecc38a2b58bb95af752","affectsGlobalScope":true},"4eadf1158f1ae8f7b0deea0f96b391359042cf74d1eb3ce1dacdb69de96e590d","f0120fc76274f614e7b8f5420a74abce69eee25b81e2084479fa426f33ccd46a","003f07cf566395059625b39785398f18652c8952e19790e7d6eeb22a9cbe0440","432dc46f22f9790797d98ccf09f7dc4a897bb5e874921217b951fb808947446b","28ed61ddc42936537ad29ade1404d533b4b28967460e29811409e5a40d9fc3b3","a36023d4a654c11e071b99cde8203d55d9feaf4940c766b9c960b8e0eb4f4c1f","42fe73978ddb3a82329bf41a116e921deb266551e4f0ad9e9c7bdc581c24f085","0670eede14b39fd186fe7e224db70510158af5279528d12292df9b980867c1d0","4274d4169679f93587cb887aa43570c2b5a840db17022093aa232ac2a9ca9beb","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51",{"version":"481dc63ed954bc59b9169888ef7f009578f0aa395ff56059c173cba33c7ee065","affectsGlobalScope":true},"8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","c79bd2f3e5c05e7ad80dc82ce8d339cac23ac1f5e6cfab96c860bb70d5162873","e3328cedfe4d7fac23ba75d00bf5169269800ab949d0837cd88c4211a52c3762",{"version":"0e2d2d0ccf42bdd96e597727fad4d30bceabe0d161280824eb60d0d7c8929312","affectsGlobalScope":true},{"version":"fe2af46799ee08961c969f9ce69cefe8e8ac955d970b5b4ec63ef796f66aeb34","affectsGlobalScope":true},{"version":"1ba37271a244a1b872be0134c1b86e2bd446093c312d2f76e405b1c989e2fe97","affectsGlobalScope":true},{"version":"381236c13b79159876be4802d48edfc72dea4e8662e58d189676de9d54ad725f","affectsGlobalScope":true},"592c25a8a783ccd3666c22292dab7125aacee947b9fd0e79204a609284ba80e7","2b1af4170f6dfa90f43d2fe3d6c36f95b7fa121aa434a2acefb763d7be460a53","dd89872dd0647dfd63665f3d525c06d114310a2f7a5a9277e5982a152b31be2b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","fa849c825ac37d70ca78097a1cd06bb5ac281651f765fff8e491cfb0709de57b","c39e1ee964fa0bb318ee2db72c430b3aede3b50dbde414b03b4e43915f80c292","32ab25b7b28b24a138d879ca371b18c8fdfdd564ad5107e1333c5aa5d5fea494","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","30abc554c7ad13063a02ddd06757929b34357aea1f6fcf4ca39114cb0fc19384","2f768f764e91667b3018488352dfcb4b6ef2d14b3e472bbeca7c0b3eae8d7d15","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","0eacae49e20c8004e5022b3abc41cee708925a7bb0a52bafa2e416eca424d39d",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true},"58b3082802116f10782ecaa577a473499def44650204beb38a8541d4d98b757b","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","5cd2c1aad6f55e97990dfb8883885be47f885b78a8576f492389ff85e484d698","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","4964ba28dd6c9d086735062e8f4c63f23dd14e20b9b6d2acdc5774760d47b132","cc0700b1b97e18a3d5d9184470502d8762ec85158819d662730c3a8c5d702584","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","f77ff4cd234d3fd18ddd5aeadb6f94374511931976d41f4b9f594cb71f7ce6f3","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","4f18b4e6081e5e980ef53ddf57b9c959d36cffe1eb153865f512a01aeffb5e1e","7f17d4846a88eca5fe71c4474ef687ee89c4acf9b5372ab9b2ee68644b7e0fe0","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","58e0cee50add50d4b6d47a935e26aeb0080d98c9cf729f8af389511cdfa10526","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","5fdc3a2b97a9b1987cea799a36c6a4ea2f34fb60e52734361451cb5445f11a94"],"root":[[88,91],99,129],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[96,176],[97,176],[176],[49,176],[57,176],[49,57,176],[49,57,65,176],[47,48,176],[56,80,176],[56,82,176],[56,86,176],[53,56,70,72,73,74,176],[53,75,79,176],[53,75,176],[75,176],[56,84,176],[56,76,176],[56,78,176],[53,56,176],[56,68,176],[56,69,176],[56,176],[56,73,176],[53,56,68,176],[56,71,176],[118,176],[49,116,117,176],[49,116,176],[100,101,176],[102,176],[101,103,176],[113,114,121,122,123,125,126,176],[115,119,176],[120,176],[116,176],[115,120,124,176],[115,176],[100,112,127,176],[104,107,108,111,176],[149,176,183],[149,176,183,186],[100,176],[149,176,183,188],[149,176,183,186,199,200],[146,149,176,183,188,194,195],[176,187,188,196,198],[176,204],[176,208],[176,209],[176,211,212,213,214,215],[176,220],[146,149,150,154,160,175,176,183,184,191,197,200,201,206,219],[176,221,223,224,225,226,227,228,229,230,231,232,233],[176,221,222,224,225,226,227,228,229,230,231,232,233],[176,222,223,224,225,226,227,228,229,230,231,232,233],[176,221,222,223,225,226,227,228,229,230,231,232,233],[176,221,222,223,224,226,227,228,229,230,231,232,233],[176,221,222,223,224,225,227,228,229,230,231,232,233],[176,221,222,223,224,225,226,228,229,230,231,232,233],[176,221,222,223,224,225,226,227,229,230,231,232,233],[176,221,222,223,224,225,226,227,228,230,231,232,233],[176,221,222,223,224,225,226,227,228,229,231,232,233],[176,221,222,223,224,225,226,227,228,229,230,232,233],[176,221,222,223,224,225,226,227,228,229,230,231,233],[176,221,222,223,224,225,226,227,228,229,230,231,232],[130,176],[133,176],[134,139,167,176],[135,146,147,154,164,175,176],[135,136,146,154,176],[137,176],[138,139,147,155,176],[139,164,172,176],[140,142,146,154,176],[141,176],[142,143,176],[146,176],[144,146,176],[133,146,176],[146,147,148,164,175,176],[146,147,148,161,164,167,176],[176,180],[142,146,149,154,164,175,176],[146,147,149,150,154,164,172,175,176],[149,151,164,172,175,176],[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[146,152,176],[153,175,176,180],[142,146,154,164,176],[155,176],[156,176],[133,157,176],[158,174,176,180],[159,176],[160,176],[146,161,162,176],[161,163,176,178],[134,146,164,165,166,167,176],[134,164,166,176],[164,165,176],[167,176],[168,176],[133,164,176],[146,170,171,176],[170,171,176],[139,154,164,172,176],[173,176],[154,174,176],[134,149,160,175,176],[139,176],[164,176,177],[153,176,178],[176,179],[134,139,146,148,157,164,175,176,178,180],[164,176,181],[176,240],[176,241],[92,93,94,95,176],[176,183],[176,245,284],[176,245,269,284],[176,284],[176,245],[176,245,270,284],[176,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283],[176,270,284],[147,164,176,183,193],[149,176,183,193,197],[100,110,176],[109,176],[50,176],[146,149,151,154,164,172,175,176,181,183],[146,164,176,183],[106,176],[105,176],[49,53,176],[53,176],[51,52,176],[58,59,60,61,62,63,64,65,66,176],[49,53,54,55,176],[46,88,176],[46,56,176],[46,56,67,77,81,83,85,87,176],[46,88,96,98,176],[46,56,88,91,128,176],[56],[53,56,77,81,83,85,87],[88,98],[91]],"referencedMap":[[97,1],[98,2],[47,3],[57,4],[58,5],[61,6],[59,6],[63,6],[66,7],[65,3],[64,6],[62,6],[60,5],[48,3],[49,8],[81,9],[83,10],[87,11],[75,12],[80,13],[82,13],[86,13],[84,14],[76,15],[85,16],[77,17],[79,18],[78,19],[69,20],[70,21],[68,22],[73,3],[74,23],[71,24],[72,25],[116,3],[119,26],[118,27],[117,28],[102,29],[103,30],[101,3],[104,31],[127,32],[113,3],[120,33],[121,34],[122,3],[123,35],[125,36],[115,22],[124,37],[126,34],[128,38],[112,39],[184,40],[185,3],[187,41],[108,42],[100,3],[189,43],[190,3],[186,40],[191,3],[192,3],[201,44],[202,3],[203,3],[196,45],[199,46],[205,47],[206,3],[197,3],[207,3],[208,3],[209,48],[210,49],[216,50],[212,3],[211,3],[214,3],[213,3],[217,3],[218,3],[200,3],[219,51],[220,52],[222,53],[223,54],[221,55],[224,56],[225,57],[226,58],[227,59],[228,60],[229,61],[230,62],[231,63],[232,64],[233,65],[234,47],[193,3],[235,3],[236,3],[237,3],[130,66],[131,66],[133,67],[134,68],[135,69],[136,70],[137,71],[138,72],[139,73],[140,74],[141,75],[142,76],[143,76],[145,77],[144,78],[146,79],[147,80],[148,81],[132,82],[182,3],[149,83],[150,84],[151,85],[183,86],[152,87],[153,88],[154,89],[155,90],[156,91],[157,92],[158,93],[159,94],[160,95],[161,96],[162,96],[163,97],[164,98],[166,99],[165,100],[167,101],[168,102],[169,103],[170,104],[171,105],[172,106],[173,107],[174,108],[175,109],[176,110],[177,111],[178,112],[179,113],[180,114],[181,115],[238,3],[239,3],[241,116],[240,117],[242,3],[94,3],[188,3],[195,3],[92,3],[96,118],[243,119],[244,3],[95,3],[269,120],[270,121],[245,122],[248,122],[267,120],[268,120],[258,120],[257,123],[255,120],[250,120],[263,120],[261,120],[265,120],[249,120],[262,120],[266,120],[251,120],[252,120],[264,120],[246,120],[253,120],[254,120],[256,120],[260,120],[271,124],[259,120],[247,120],[284,125],[283,3],[278,124],[280,126],[279,124],[272,124],[273,124],[275,124],[277,124],[281,126],[282,126],[274,126],[276,126],[194,127],[198,128],[111,129],[110,130],[109,3],[215,3],[51,131],[50,3],[204,3],[285,132],[286,133],[105,42],[107,134],[106,135],[93,3],[54,136],[52,137],[55,3],[53,138],[114,137],[67,139],[56,140],[46,3],[44,3],[45,3],[8,3],[10,3],[9,3],[2,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[3,3],[4,3],[19,3],[23,3],[20,3],[21,3],[22,3],[24,3],[25,3],[26,3],[5,3],[27,3],[28,3],[29,3],[30,3],[6,3],[34,3],[31,3],[32,3],[33,3],[35,3],[7,3],[36,3],[41,3],[42,3],[37,3],[38,3],[39,3],[40,3],[1,3],[43,3],[89,141],[90,142],[91,141],[88,143],[99,144],[129,145]],"exportedModulesMap":[[97,1],[98,2],[47,3],[57,4],[58,5],[61,6],[59,6],[63,6],[66,7],[65,3],[64,6],[62,6],[60,5],[48,3],[49,8],[81,9],[83,10],[87,11],[75,12],[80,13],[82,13],[86,13],[84,14],[76,15],[85,16],[77,17],[79,18],[78,19],[69,20],[70,21],[68,22],[73,3],[74,23],[71,24],[72,25],[116,3],[119,26],[118,27],[117,28],[102,29],[103,30],[101,3],[104,31],[127,32],[113,3],[120,33],[121,34],[122,3],[123,35],[125,36],[115,22],[124,37],[126,34],[128,38],[112,39],[184,40],[185,3],[187,41],[108,42],[100,3],[189,43],[190,3],[186,40],[191,3],[192,3],[201,44],[202,3],[203,3],[196,45],[199,46],[205,47],[206,3],[197,3],[207,3],[208,3],[209,48],[210,49],[216,50],[212,3],[211,3],[214,3],[213,3],[217,3],[218,3],[200,3],[219,51],[220,52],[222,53],[223,54],[221,55],[224,56],[225,57],[226,58],[227,59],[228,60],[229,61],[230,62],[231,63],[232,64],[233,65],[234,47],[193,3],[235,3],[236,3],[237,3],[130,66],[131,66],[133,67],[134,68],[135,69],[136,70],[137,71],[138,72],[139,73],[140,74],[141,75],[142,76],[143,76],[145,77],[144,78],[146,79],[147,80],[148,81],[132,82],[182,3],[149,83],[150,84],[151,85],[183,86],[152,87],[153,88],[154,89],[155,90],[156,91],[157,92],[158,93],[159,94],[160,95],[161,96],[162,96],[163,97],[164,98],[166,99],[165,100],[167,101],[168,102],[169,103],[170,104],[171,105],[172,106],[173,107],[174,108],[175,109],[176,110],[177,111],[178,112],[179,113],[180,114],[181,115],[238,3],[239,3],[241,116],[240,117],[242,3],[94,3],[188,3],[195,3],[92,3],[96,118],[243,119],[244,3],[95,3],[269,120],[270,121],[245,122],[248,122],[267,120],[268,120],[258,120],[257,123],[255,120],[250,120],[263,120],[261,120],[265,120],[249,120],[262,120],[266,120],[251,120],[252,120],[264,120],[246,120],[253,120],[254,120],[256,120],[260,120],[271,124],[259,120],[247,120],[284,125],[283,3],[278,124],[280,126],[279,124],[272,124],[273,124],[275,124],[277,124],[281,126],[282,126],[274,126],[276,126],[194,127],[198,128],[111,129],[110,130],[109,3],[215,3],[51,131],[50,3],[204,3],[285,132],[286,133],[105,42],[107,134],[106,135],[93,3],[54,136],[52,137],[55,3],[53,138],[114,137],[67,139],[56,140],[46,3],[44,3],[45,3],[8,3],[10,3],[9,3],[2,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[3,3],[4,3],[19,3],[23,3],[20,3],[21,3],[22,3],[24,3],[25,3],[26,3],[5,3],[27,3],[28,3],[29,3],[30,3],[6,3],[34,3],[31,3],[32,3],[33,3],[35,3],[7,3],[36,3],[41,3],[42,3],[37,3],[38,3],[39,3],[40,3],[1,3],[43,3],[89,141],[90,146],[88,147],[99,148],[129,149]],"semanticDiagnosticsPerFile":[97,98,47,57,58,61,59,63,66,65,64,62,60,48,49,81,83,87,75,80,82,86,84,76,85,77,79,78,69,70,68,73,74,71,72,116,119,118,117,102,103,101,104,127,113,120,121,122,123,125,115,124,126,128,112,184,185,187,108,100,189,190,186,191,192,201,202,203,196,199,205,206,197,207,208,209,210,216,212,211,214,213,217,218,200,219,220,222,223,221,224,225,226,227,228,229,230,231,232,233,234,193,235,236,237,130,131,133,134,135,136,137,138,139,140,141,142,143,145,144,146,147,148,132,182,149,150,151,183,152,153,154,155,156,157,158,159,160,161,162,163,164,166,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,238,239,241,240,242,94,188,195,92,96,243,244,95,269,270,245,248,267,268,258,257,255,250,263,261,265,249,262,266,251,252,264,246,253,254,256,260,271,259,247,284,283,278,280,279,272,273,275,277,281,282,274,276,194,198,111,110,109,215,51,50,204,285,286,105,107,106,93,54,52,55,53,114,67,56,46,44,45,8,10,9,2,11,12,13,14,15,16,17,18,3,4,19,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,89,90,91,88,99,129]},"version":"5.2.2"}
|
package/src/IxButton.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { html, LitElement } from 'lit';
|
|
2
|
-
import { property } from 'lit/decorators.js';
|
|
3
|
-
import '@material/web/button/text-button.js';
|
|
4
|
-
import '@material/web/button/elevated-button.js';
|
|
5
|
-
import '@material/web/button/filled-button.js';
|
|
6
|
-
import '@material/web/button/outlined-button.js';
|
|
7
|
-
import '@material/web/button/filled-tonal-button.js';
|
|
8
|
-
|
|
9
|
-
export class IxButton extends LitElement {
|
|
10
|
-
static get styles() {
|
|
11
|
-
return [];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Whether or not the button is disabled.
|
|
16
|
-
*/
|
|
17
|
-
@property({ type: Boolean, reflect: true }) disabled = false;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The URL that the link button points to.
|
|
21
|
-
*/
|
|
22
|
-
@property() href = '';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Where to display the linked `href` URL for a link button. Common options
|
|
26
|
-
* include `_blank` to open in a new tab.
|
|
27
|
-
*/
|
|
28
|
-
@property() target: '_blank' | '_parent' | '_self' | '_top' | '' = '';
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Whether to render the icon at the inline end of the label rather than the
|
|
32
|
-
* inline start.
|
|
33
|
-
*
|
|
34
|
-
* _Note:_ Link buttons cannot have trailing icons.
|
|
35
|
-
*/
|
|
36
|
-
@property({ type: Boolean, attribute: 'trailing-icon' }) trailingIcon = false;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Whether to display the icon or not.
|
|
40
|
-
*/
|
|
41
|
-
@property({ type: Boolean, attribute: 'has-icon' }) hasIcon = false;
|
|
42
|
-
|
|
43
|
-
@property()
|
|
44
|
-
text: string = 'Submit';
|
|
45
|
-
|
|
46
|
-
@property()
|
|
47
|
-
type: 'button' | 'submit' | 'reset' = 'button';
|
|
48
|
-
|
|
49
|
-
@property()
|
|
50
|
-
appearance: 'elevated' | 'filled' | 'filled-tonal' | 'outlined' | 'text' =
|
|
51
|
-
'filled';
|
|
52
|
-
|
|
53
|
-
@property()
|
|
54
|
-
onClick: (event: MouseEvent) => void = () => {};
|
|
55
|
-
|
|
56
|
-
render() {
|
|
57
|
-
let comp;
|
|
58
|
-
if (this.appearance === 'elevated') {
|
|
59
|
-
comp = html`<md-elevated-button
|
|
60
|
-
@click=${this.onClick}
|
|
61
|
-
.disabled=${this.disabled}
|
|
62
|
-
.target=${this.target}
|
|
63
|
-
.href=${this.href}
|
|
64
|
-
.trailingIcon=${this.trailingIcon}
|
|
65
|
-
.hasIcon=${this.hasIcon}
|
|
66
|
-
.value="${this.text}"
|
|
67
|
-
>${this.text}</md-elevated-button
|
|
68
|
-
>`;
|
|
69
|
-
} else if (this.appearance === 'filled') {
|
|
70
|
-
comp = html`<md-filled-button
|
|
71
|
-
@click=${this.onClick}
|
|
72
|
-
.disabled=${this.disabled}
|
|
73
|
-
.target=${this.target}
|
|
74
|
-
.href=${this.href}
|
|
75
|
-
.trailingIcon=${this.trailingIcon}
|
|
76
|
-
.hasIcon=${this.hasIcon}
|
|
77
|
-
.value="${this.text}"
|
|
78
|
-
>${this.text}</md-filled-button
|
|
79
|
-
>`;
|
|
80
|
-
} else if (this.appearance === 'filled-tonal') {
|
|
81
|
-
comp = html`<md-filled-tonal-button
|
|
82
|
-
@click=${this.onClick}
|
|
83
|
-
.disabled=${this.disabled}
|
|
84
|
-
.target=${this.target}
|
|
85
|
-
.href=${this.href}
|
|
86
|
-
.trailingIcon=${this.trailingIcon}
|
|
87
|
-
.hasIcon=${this.hasIcon}
|
|
88
|
-
.value="${this.text}"
|
|
89
|
-
>${this.text}</md-filled-tonal-button
|
|
90
|
-
>`;
|
|
91
|
-
} else if (this.appearance === 'outlined') {
|
|
92
|
-
comp = html`<md-outlined-button
|
|
93
|
-
@click=${this.onClick}
|
|
94
|
-
.disabled=${this.disabled}
|
|
95
|
-
.target=${this.target}
|
|
96
|
-
.href=${this.href}
|
|
97
|
-
.trailingIcon=${this.trailingIcon}
|
|
98
|
-
.hasIcon=${this.hasIcon}
|
|
99
|
-
.value="${this.text}"
|
|
100
|
-
>${this.text}</md-outlined-button
|
|
101
|
-
>`;
|
|
102
|
-
} else if (this.appearance === 'text') {
|
|
103
|
-
comp = html`<md-text-button
|
|
104
|
-
@click=${this.onClick}
|
|
105
|
-
.disabled=${this.disabled}
|
|
106
|
-
.target=${this.target}
|
|
107
|
-
.href=${this.href}
|
|
108
|
-
.trailingIcon=${this.trailingIcon}
|
|
109
|
-
.hasIcon=${this.hasIcon}
|
|
110
|
-
.value="${this.text}"
|
|
111
|
-
>${this.text}</md-text-button
|
|
112
|
-
>`;
|
|
113
|
-
}
|
|
114
|
-
return html`${comp}`;
|
|
115
|
-
}
|
|
116
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IxButton } from './IxButton.js';
|
package/src/ix-button-styles.ts
DELETED
package/src/ix-button.ts
DELETED
package/src/react/IxButton.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { createComponent } from '@lit-labs/react';
|
|
3
|
-
import { IxButton as IxButtonLit } from '../IxButton.js';
|
|
4
|
-
|
|
5
|
-
window.customElements.define('ix-button', IxButtonLit);
|
|
6
|
-
|
|
7
|
-
export const IxButton = createComponent({
|
|
8
|
-
tagName: 'ix-button',
|
|
9
|
-
elementClass: IxButtonLit,
|
|
10
|
-
react: React,
|
|
11
|
-
events: {
|
|
12
|
-
onclick: 'onClick',
|
|
13
|
-
},
|
|
14
|
-
});
|
package/test/ix-button.test.ts
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { html } from 'lit';
|
|
2
|
-
import { fixture, expect } from '@open-wc/testing';
|
|
3
|
-
import { IxButton } from '../src/IxButton.js';
|
|
4
|
-
import '../src/ix-button.js';
|
|
5
|
-
|
|
6
|
-
describe('IxButton', () => {
|
|
7
|
-
it('Should fire event when submit button is clicked', async () => {
|
|
8
|
-
let message = '';
|
|
9
|
-
const props = {
|
|
10
|
-
disabled: false,
|
|
11
|
-
text: 'Click me!',
|
|
12
|
-
type: 'submit',
|
|
13
|
-
appearance: 'elevated',
|
|
14
|
-
onClick: () => {
|
|
15
|
-
message = 'Hello world!';
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
const el = await fixture<IxButton>(html`
|
|
19
|
-
<ix-button
|
|
20
|
-
.text=${props.text}
|
|
21
|
-
@click=${props.onClick}
|
|
22
|
-
type="${props.type}"
|
|
23
|
-
?disabled=${props.disabled}
|
|
24
|
-
appearance="${props.appearance}"
|
|
25
|
-
></ix-button>
|
|
26
|
-
`);
|
|
27
|
-
|
|
28
|
-
el.click();
|
|
29
|
-
expect(message).to.equal('Hello world!');
|
|
30
|
-
});
|
|
31
|
-
it('should render elevated button when appearance is elevated', async () => {
|
|
32
|
-
const props = {
|
|
33
|
-
disabled: false,
|
|
34
|
-
text: 'Click me!',
|
|
35
|
-
type: 'submit',
|
|
36
|
-
appearance: 'elevated',
|
|
37
|
-
};
|
|
38
|
-
const el = await fixture<IxButton>(html`
|
|
39
|
-
<ix-button
|
|
40
|
-
.text=${props.text}
|
|
41
|
-
type="${props.type}"
|
|
42
|
-
?disabled=${props.disabled}
|
|
43
|
-
appearance="${props.appearance}"
|
|
44
|
-
></ix-button>
|
|
45
|
-
`);
|
|
46
|
-
|
|
47
|
-
const button = el.shadowRoot?.querySelector('md-elevated-button');
|
|
48
|
-
expect(button).to.be.not.null;
|
|
49
|
-
});
|
|
50
|
-
it('should render filled button when appearance is filled', async () => {
|
|
51
|
-
const props = {
|
|
52
|
-
disabled: false,
|
|
53
|
-
text: 'Click me!',
|
|
54
|
-
type: 'submit',
|
|
55
|
-
appearance: 'filled',
|
|
56
|
-
};
|
|
57
|
-
const el = await fixture<IxButton>(html`
|
|
58
|
-
<ix-button
|
|
59
|
-
.text=${props.text}
|
|
60
|
-
type="${props.type}"
|
|
61
|
-
?disabled=${props.disabled}
|
|
62
|
-
appearance="${props.appearance}"
|
|
63
|
-
></ix-button>
|
|
64
|
-
`);
|
|
65
|
-
|
|
66
|
-
const button = el.shadowRoot?.querySelector('md-filled-button');
|
|
67
|
-
expect(button).to.be.not.null;
|
|
68
|
-
});
|
|
69
|
-
it('should render filled-tonal button when appearance is filled-tonal', async () => {
|
|
70
|
-
const props = {
|
|
71
|
-
disabled: false,
|
|
72
|
-
text: 'Click me!',
|
|
73
|
-
type: 'submit',
|
|
74
|
-
appearance: 'filled-tonal',
|
|
75
|
-
};
|
|
76
|
-
const el = await fixture<IxButton>(html`
|
|
77
|
-
<ix-button
|
|
78
|
-
.text=${props.text}
|
|
79
|
-
type="${props.type}"
|
|
80
|
-
?disabled=${props.disabled}
|
|
81
|
-
appearance="${props.appearance}"
|
|
82
|
-
></ix-button>
|
|
83
|
-
`);
|
|
84
|
-
|
|
85
|
-
const button = el.shadowRoot?.querySelector('md-filled-tonal-button');
|
|
86
|
-
expect(button).to.be.not.null;
|
|
87
|
-
});
|
|
88
|
-
it('should render outlined button when appearance is outlined', async () => {
|
|
89
|
-
const props = {
|
|
90
|
-
disabled: false,
|
|
91
|
-
text: 'Click me!',
|
|
92
|
-
type: 'submit',
|
|
93
|
-
appearance: 'outlined',
|
|
94
|
-
};
|
|
95
|
-
const el = await fixture<IxButton>(html`
|
|
96
|
-
<ix-button
|
|
97
|
-
.text=${props.text}
|
|
98
|
-
type="${props.type}"
|
|
99
|
-
?disabled=${props.disabled}
|
|
100
|
-
appearance="${props.appearance}"
|
|
101
|
-
></ix-button>
|
|
102
|
-
`);
|
|
103
|
-
|
|
104
|
-
const button = el.shadowRoot?.querySelector('md-outlined-button');
|
|
105
|
-
expect(button).to.be.not.null;
|
|
106
|
-
});
|
|
107
|
-
it('should render text button when appearance is text', async () => {
|
|
108
|
-
const props = {
|
|
109
|
-
disabled: false,
|
|
110
|
-
text: 'Click me!',
|
|
111
|
-
type: 'submit',
|
|
112
|
-
appearance: 'text',
|
|
113
|
-
};
|
|
114
|
-
const el = await fixture<IxButton>(html`
|
|
115
|
-
<ix-button
|
|
116
|
-
.text=${props.text}
|
|
117
|
-
type="${props.type}"
|
|
118
|
-
?disabled=${props.disabled}
|
|
119
|
-
appearance="${props.appearance}"
|
|
120
|
-
></ix-button>
|
|
121
|
-
`);
|
|
122
|
-
|
|
123
|
-
const button = el.shadowRoot?.querySelector('md-text-button');
|
|
124
|
-
expect(button).to.be.not.null;
|
|
125
|
-
});
|
|
126
|
-
});
|
package/tsconfig.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es2018",
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"noEmitOnError": true,
|
|
7
|
-
"lib": ["es2017", "dom"],
|
|
8
|
-
"strict": true,
|
|
9
|
-
"esModuleInterop": false,
|
|
10
|
-
"allowSyntheticDefaultImports": true,
|
|
11
|
-
"experimentalDecorators": true,
|
|
12
|
-
"importHelpers": true,
|
|
13
|
-
"outDir": "dist",
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"inlineSources": true,
|
|
16
|
-
"rootDir": "./",
|
|
17
|
-
"declaration": true,
|
|
18
|
-
"incremental": true
|
|
19
|
-
},
|
|
20
|
-
"include": ["**/*.ts"]
|
|
21
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// import { hmrPlugin, presets } from '@open-wc/dev-server-hmr';
|
|
2
|
-
|
|
3
|
-
/** Use Hot Module replacement by adding --hmr to the start command */
|
|
4
|
-
const hmr = process.argv.includes('--hmr');
|
|
5
|
-
|
|
6
|
-
export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
|
|
7
|
-
open: '/demo/',
|
|
8
|
-
/** Use regular watch mode if HMR is not enabled. */
|
|
9
|
-
watch: !hmr,
|
|
10
|
-
/** Resolve bare module imports */
|
|
11
|
-
nodeResolve: {
|
|
12
|
-
exportConditions: ['browser', 'development'],
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
/** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
|
|
16
|
-
// esbuildTarget: 'auto'
|
|
17
|
-
|
|
18
|
-
/** Set appIndex to enable SPA routing */
|
|
19
|
-
// appIndex: 'demo/index.html',
|
|
20
|
-
|
|
21
|
-
plugins: [
|
|
22
|
-
/** Use Hot Module Replacement by uncommenting. Requires @open-wc/dev-server-hmr plugin */
|
|
23
|
-
// hmr && hmrPlugin({ exclude: ['**/*/node_modules/**/*'], presets: [presets.litElement] }),
|
|
24
|
-
],
|
|
25
|
-
|
|
26
|
-
// See documentation for all available options
|
|
27
|
-
});
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// import { playwrightLauncher } from '@web/test-runner-playwright';
|
|
2
|
-
|
|
3
|
-
const filteredLogs = ['Running in dev mode', 'lit-html is in dev mode'];
|
|
4
|
-
|
|
5
|
-
export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
|
|
6
|
-
/** Test files to run */
|
|
7
|
-
files: 'dist/test/**/*.test.js',
|
|
8
|
-
|
|
9
|
-
/** Resolve bare module imports */
|
|
10
|
-
nodeResolve: {
|
|
11
|
-
exportConditions: ['browser', 'development'],
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
/** Filter out lit dev mode logs */
|
|
15
|
-
filterBrowserLogs(log) {
|
|
16
|
-
for (const arg of log.args) {
|
|
17
|
-
if (typeof arg === 'string' && filteredLogs.some(l => arg.includes(l))) {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return true;
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
/** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
|
|
25
|
-
// esbuildTarget: 'auto',
|
|
26
|
-
|
|
27
|
-
/** Amount of browsers to run concurrently */
|
|
28
|
-
// concurrentBrowsers: 2,
|
|
29
|
-
|
|
30
|
-
/** Amount of test files per browser to test concurrently */
|
|
31
|
-
// concurrency: 1,
|
|
32
|
-
|
|
33
|
-
/** Browsers to run tests on */
|
|
34
|
-
// browsers: [
|
|
35
|
-
// playwrightLauncher({ product: 'chromium' }),
|
|
36
|
-
// playwrightLauncher({ product: 'firefox' }),
|
|
37
|
-
// playwrightLauncher({ product: 'webkit' }),
|
|
38
|
-
// ],
|
|
39
|
-
|
|
40
|
-
// See documentation for all available options
|
|
41
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|