@digital-realty/ix-textbox 2.0.1

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.
@@ -0,0 +1,37 @@
1
+ import { html } from 'lit';
2
+ import '../src/ix-textbox.js';
3
+ export default {
4
+ title: 'IxTextbox',
5
+ component: 'ix-textbox',
6
+ argTypes: {
7
+ header: { control: 'text' },
8
+ counter: { control: 'number' },
9
+ textColor: { control: 'color' },
10
+ },
11
+ };
12
+ const Template = ({ header = 'Hello world', counter = 5, textColor, slot, }) => html `
13
+ <ix-textbox
14
+ style="--ix-textbox-text-color: ${textColor || 'black'}"
15
+ .header=${header}
16
+ .counter=${counter}
17
+ >
18
+ ${slot}
19
+ </ix-textbox>
20
+ `;
21
+ export const Regular = Template.bind({});
22
+ export const CustomHeader = Template.bind({});
23
+ CustomHeader.args = {
24
+ header: 'My header',
25
+ };
26
+ export const CustomCounter = Template.bind({});
27
+ CustomCounter.args = {
28
+ counter: 123456,
29
+ };
30
+ export const SlottedContent = Template.bind({});
31
+ SlottedContent.args = {
32
+ slot: html `<p>Slotted content</p>`,
33
+ };
34
+ SlottedContent.argTypes = {
35
+ slot: { table: { disable: true } },
36
+ };
37
+ //# sourceMappingURL=index.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../stories/index.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAC3C,OAAO,sBAAsB,CAAC;AAE9B,eAAe;IACb,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE;QACR,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC3B,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;QAC9B,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KAChC;CACF,CAAC;AAeF,MAAM,QAAQ,GAAoB,CAAC,EACjC,MAAM,GAAG,aAAa,EACtB,OAAO,GAAG,CAAC,EACX,SAAS,EACT,IAAI,GACK,EAAE,EAAE,CAAC,IAAI,CAAA;;sCAEkB,SAAS,IAAI,OAAO;cAC5C,MAAM;eACL,OAAO;;MAEhB,IAAI;;CAET,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAEzC,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,YAAY,CAAC,IAAI,GAAG;IAClB,MAAM,EAAE,WAAW;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,aAAa,CAAC,IAAI,GAAG;IACnB,OAAO,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,GAAG;IACpB,IAAI,EAAE,IAAI,CAAA,wBAAwB;CACnC,CAAC;AACF,cAAc,CAAC,QAAQ,GAAG;IACxB,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CACnC,CAAC","sourcesContent":["import { html, TemplateResult } from 'lit';\nimport '../src/ix-textbox.js';\n\nexport default {\n title: 'IxTextbox',\n component: 'ix-textbox',\n argTypes: {\n header: { control: 'text' },\n counter: { control: 'number' },\n textColor: { control: 'color' },\n },\n};\n\ninterface Story<T> {\n (args: T): TemplateResult;\n args?: Partial<T>;\n argTypes?: Record<string, unknown>;\n}\n\ninterface ArgTypes {\n header?: string;\n counter?: number;\n textColor?: string;\n slot?: TemplateResult;\n}\n\nconst Template: Story<ArgTypes> = ({\n header = 'Hello world',\n counter = 5,\n textColor,\n slot,\n}: ArgTypes) => html`\n <ix-textbox\n style=\"--ix-textbox-text-color: ${textColor || 'black'}\"\n .header=${header}\n .counter=${counter}\n >\n ${slot}\n </ix-textbox>\n`;\n\nexport const Regular = Template.bind({});\n\nexport const CustomHeader = Template.bind({});\nCustomHeader.args = {\n header: 'My header',\n};\n\nexport const CustomCounter = Template.bind({});\nCustomCounter.args = {\n counter: 123456,\n};\n\nexport const SlottedContent = Template.bind({});\nSlottedContent.args = {\n slot: html`<p>Slotted content</p>`,\n};\nSlottedContent.argTypes = {\n slot: { table: { disable: true } },\n};\n"]}
@@ -0,0 +1 @@
1
+ import '../src/ix-textbox.js';
@@ -0,0 +1,23 @@
1
+ import { html } from 'lit';
2
+ import { fixture, expect } from '@open-wc/testing';
3
+ import '../src/ix-textbox.js';
4
+ describe('IxTextbox', () => {
5
+ it('should show the outlined text field by default', async () => {
6
+ var _a, _b;
7
+ const el = await fixture(html `<ix-textbox></ix-textbox>`);
8
+ console.log(el.innerHTML);
9
+ const outlinedTextField = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-outlined-text-field');
10
+ const filledTextField = (_b = el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('md-filled-text-field');
11
+ expect(outlinedTextField).to.not.be.null;
12
+ expect(filledTextField).to.be.null;
13
+ });
14
+ it('should show the filled text field when outlined is false', async () => {
15
+ var _a, _b;
16
+ const el = await fixture(html `<ix-textbox .outlined=${false}></ix-textbox>`);
17
+ const outlinedTextField = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('md-outlined-text-field');
18
+ const filledTextField = (_b = el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('md-filled-text-field');
19
+ expect(outlinedTextField).to.be.null;
20
+ expect(filledTextField).to.not.be.null;
21
+ });
22
+ });
23
+ //# sourceMappingURL=ix-textbox.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ix-textbox.test.js","sourceRoot":"","sources":["../../test/ix-textbox.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,sBAAsB,CAAC;AAE9B,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,gDAAgD,EAAE,KAAK,IAAI,EAAE;;QAC9D,MAAM,EAAE,GAAG,MAAM,OAAO,CAAY,IAAI,CAAA,2BAA2B,CAAC,CAAC;QACrE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;QAC1B,MAAM,iBAAiB,GAAG,MAAA,EAAE,CAAC,UAAU,0CAAE,aAAa,CACpD,wBAAwB,CACzB,CAAC;QACF,MAAM,eAAe,GAAG,MAAA,EAAE,CAAC,UAAU,0CAAE,aAAa,CAClD,sBAAsB,CACvB,CAAC;QACF,MAAM,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC;QACzC,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACrC,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,0DAA0D,EAAE,KAAK,IAAI,EAAE;;QACxE,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB,IAAI,CAAA,yBAAyB,KAAK,gBAAgB,CACnD,CAAC;QACF,MAAM,iBAAiB,GAAG,MAAA,EAAE,CAAC,UAAU,0CAAE,aAAa,CACpD,wBAAwB,CACzB,CAAC;QACF,MAAM,eAAe,GAAG,MAAA,EAAE,CAAC,UAAU,0CAAE,aAAa,CAClD,sBAAsB,CACvB,CAAC;QACF,MAAM,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC;IACzC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { html } from 'lit';\nimport { fixture, expect } from '@open-wc/testing';\nimport { IxTextbox } from '../src/IxTextbox.js';\nimport '../src/ix-textbox.js';\n\ndescribe('IxTextbox', () => {\n it('should show the outlined text field by default', async () => {\n const el = await fixture<IxTextbox>(html`<ix-textbox></ix-textbox>`);\n console.log(el.innerHTML);\n const outlinedTextField = el.shadowRoot?.querySelector(\n 'md-outlined-text-field'\n );\n const filledTextField = el.shadowRoot?.querySelector(\n 'md-filled-text-field'\n );\n expect(outlinedTextField).to.not.be.null;\n expect(filledTextField).to.be.null;\n });\n it('should show the filled text field when outlined is false', async () => {\n const el = await fixture<IxTextbox>(\n html`<ix-textbox .outlined=${false}></ix-textbox>`\n );\n const outlinedTextField = el.shadowRoot?.querySelector(\n 'md-outlined-text-field'\n );\n const filledTextField = el.shadowRoot?.querySelector(\n 'md-filled-text-field'\n );\n expect(outlinedTextField).to.be.null;\n expect(filledTextField).to.not.be.null;\n });\n});\n"]}
@@ -0,0 +1 @@
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.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/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/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/lit-html/directives/style-map.d.ts","../../../node_modules/lit/directives/style-map.d.ts","../../../node_modules/@material/web/menu/internal/surfacepositioncontroller.d.ts","../../../node_modules/@material/web/field/internal/field.d.ts","../../../node_modules/@material/web/field/internal/filled-field.d.ts","../../../node_modules/@material/web/field/filled-field.d.ts","../../../node_modules/lit-html/static.d.ts","../../../node_modules/lit/static-html.d.ts","../../../node_modules/@material/web/textfield/internal/text-field.d.ts","../../../node_modules/@material/web/textfield/internal/filled-text-field.d.ts","../../../node_modules/@material/web/textfield/filled-text-field.d.ts","../../../node_modules/@material/web/field/internal/outlined-field.d.ts","../../../node_modules/@material/web/field/outlined-field.d.ts","../../../node_modules/@material/web/textfield/internal/outlined-text-field.d.ts","../../../node_modules/@material/web/textfield/outlined-text-field.d.ts","../src/types/index.ts","../src/ixtextbox.ts","../src/index.ts","../src/ix-textbox-styles.ts","../src/ix-textbox.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/@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-textbox.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/source-map/source-map.d.ts","../../../node_modules/@types/clean-css/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/keygrip/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/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/uglify-js/index.d.ts","../../../node_modules/@types/relateurl/index.d.ts","../../../node_modules/@types/html-minifier/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/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","../../../node_modules/lit/node_modules/lit-html/directives/style-map.d.ts","../../../node_modules/lit/node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit/node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/node_modules/lit-html/static.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","52dd370c807255c61765347fc90a9bee3c522b8744dc222714e2bf6b5be3a823","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","ccf8ea81b0ac699c220b874b804ad02b8aabc5b494e1c3bda0d255ec8d08694d","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"3c150a2e1758724811db3bdc5c773421819343b1627714e09f29b1f40a5dfb26","affectsGlobalScope":true},"c567d37119d6f56381af48eb7516030ccf35a36f9aca045e238d9c207a7c536c","b448dfbb5a6c4505f6b6beab587cf41f180ad62bcb506b44e3f2c09d20ba63a9","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","5e7e090243bf203382a5cb04eabbdc38d78f6d5922f16f543e4da8fa007d5ff9","cd823094ded7c8ac4f94ab6dc387dab699293eb8323d9f948304efc07e4ae7b2","d45c02bf8b85203f35de2971eafb8f8092090d150c7805a189b3e197f53b12b6","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","097a7e3badfd1c4b35f72aa0f722f5714a4f6a84e53fca5a79dcfebbfc5e718d","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","ea410c8280b0ec480acb195c7dd36c1f054403f5fccee0beca85717777cf8562","628bceb593b3a5b3d73ff44a808a347ec07d6ee397104a1d88b0f9a20d8b4599","57e25505a5de058216a8f4416ca850788bfc3a412c8e90109b2ef91f75fdd615","2ba453918c1fcf1cbb2836f731534f356d5fe65ed9628811f686e8de3920ed0e","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","cc689acd4eff461c808e01225be6a16d1787e44d451310be5dd556dd7ab08457","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","6dbcad87478dd3e4a0b717ef32afd03ab3745502ffa79f34c5eb78f6ae7b5bf7","b761d44a182d39247604152c5b68baa5ef901a5f0f11ab73eb689a5c1e19b283","dd44277ba470fc0b4dc9659f03f8082d0dd1c6f996099359ab126dac0dae555d","5b30fd9bdfe2d31153ae832857c423ba49833d4b2a06b62610631b1e0f9157a5","2bc7a6e5ab7c03acb2d0d031b2a5243db929e2d46262e816091b4299b4dafc91",{"version":"a65289073f07a26a7a95ba0cc52936e764f4cb420c94fde665423108946e3764","affectsGlobalScope":true},"359f23bc7fccaec08632ee5c33eb333a5b207fc8ae17c881c7b69919aced4d58","e028c51ab6625561dc58225d834913d6aebcc5be85f3188b745410c7603479e4","e6f13d9ef4c206a0e5025fd43e3eaaf9ae1050755ad257bc6238259553e0a441","f3a56636fdb6355ad484371b7787faa5b33ef370cc1bf634239409f489844445",{"version":"4df97d1d20a674f44dbfcd06a9e1eb1cd2d85e98ebcfa3c5c071b963cdfcf561","affectsGlobalScope":true},"21e8c0358c7cfb62b870b44aeafab7ac1cb7c36f2264ae8e19f923298b872e8a",{"version":"db48ad93c775f0e2c15cf1a7676dfbe7e3af178f9f9a1bae51edf20fcebb3dd1","affectsGlobalScope":true},"32055f96b66a66d6d0343c44fbe2962ec55a1cbe348e3c9af15ac6d17ab98a6a",{"version":"73ebe8f324a383c26f72b10bd85ede8ee04411a5362e447a2ed5eabfff061faf","affectsGlobalScope":true},{"version":"eb38533e5386262a661189bf3648bb10083d39380642ba80c67c406b0fe20f48","signature":"5be77c26492bdb74b75dff5e2a5f2741d3b179c246c87a978860721d58f4107c"},{"version":"baf812992fc19605047e8b8be0dba3de9c5a0e52d16c01f042d03797e54b5ed0","signature":"71a76c062b78dfa1282b8f8060de798565b14ddb8e09a1168836eff416d29863"},"4336601019ee20e4899e565b43f5823a3e53debacebe4a4149c40fa62b62f469",{"version":"068504183db17bdaac7cbff78180a4d97be3fc34395b6bed30f21ace5d4b9489","signature":"956c9f7723b11f864c6d34c303046e68b96bd9d62956583d94b1fede7c94c303"},{"version":"ea89134ff849c5e036c8d751479fe910b7ec2b79dd614da86b5564339a876685","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"c3bc5d095c3c22fd20b5a6550b9c9a6d56c3ffbb87ef057ccce7764b6bed4428","affectsGlobalScope":true},"8a659f7d82d932649a78f89643c5b436953424a219d705d49b8b3d9ccd6e35ff",{"version":"2d412861573a672bd90fdcb1e48740593324565f3b3aaf6808c0e3e2f0d54ae8","affectsGlobalScope":true},{"version":"cd711db43a952f15464b571ac11b7a440332cd52342bc92c4bf908c70688f57f","affectsGlobalScope":true},"9d8709c916778cb34830708ed47b78e9a46d1fb2eb73a682b14eee990bed4aa6",{"version":"507e2131e89b515ce40c05c0c2fef6cc575ba8947703f92e8cdf36078747a9ff","affectsGlobalScope":true},"999a90d30a3183dcee987d0a5a7c586aba5bacbf6ce087ba8635124082ccfeea","8a5878edd52f4a720560b4c6e6247e9ddc3df6118ad9cf2f9927903b03d5f440",{"version":"4cdd1b520504f86d680470dc91baa79d625fa20e1f9dc1f99eba242eae9fada4","affectsGlobalScope":true},"f83b320cceccfc48457a818d18fc9a006ab18d0bdd727aa2c2e73dc1b4a45e98","5445b5383991fff958fe3a7b0a9c1b9c672a613bc30fda97aee6eddb4053c0d3",{"version":"4f0ad52a7fbd6bfba88ec22ec719b6956a0fc647030462f9db490e74236d116f","affectsGlobalScope":true},"65b91a3725399231d3469529b5e27b85bf2aa98013e607f308e5fe260b47eeff","a11181f6d68200e83ccb1fb48b262a7132a3257e0a230f41c9dc4c351964297a","51bce1535d9cb87390d75581866d79de7b2e2cb525a89fba84411c8bb5be52d2","88cda4269c54f0803834fd62b2fac61af8bff7a085693f7ca9df85c1f19dee8a",{"version":"d40075d9f1c08b4a8d8e468076f5258900e99895e7259c40f3923b7044bbed6c","affectsGlobalScope":true},"754006450e5de2b7dac5993194326e3a65c1474673f7304c20810f5eda18ca05","fdf0aa1a72ff0188a9013926201a391116ef6701cd439b89850786abdf755fb8","0b5817d9435c019648f2a2326eaf1086efb72e8e90e28eb53a58b2f31f61e161","abf9ea97b78a7b239186cf5b7ed59c4a593abac3c408c8c95fc5e604cfdfdb43","ae91c9161caf0af81c89e780a045fc5ea8382407e516342e409c5db9161d3b32","d30c69f9eb16583b0a406358224c312b865514a6a7c787a57f16ef08e49b1886","5e02756608c1ac8ddf96878c3af3d4db7ed4e272aef24837e255859ee0a4fb71","4a662115c4c7186cc027ef4a8163e48c7f1c57f05247f08d5acb2344fae2ca53","d598157512ae6e0d3aa6bb0dd261ae34845831dccf7bc7739695ee2589eb76f5","905fbc07f65451b05cb5594d162674eb3ef8f2bf5f13552a1702215664aae3e7","50f63746fc2a779d1f9c5657fd78e292045dc98b540e026799e039ea629f2943",{"version":"949a44a868869e737b155caed0c29f88cef3069c3961fff35bc0264f5f64711c","signature":"5d9f12352e11b3e7dba9922e82ea404b3d77ef5e26b7763381584b7921edc305"},"587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"3dd49afd822c82b63b3905a13e22240f34cf367aea4f4dd0e6564f4bddcb8370","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","93db4c949a785a3dbef7f5e08523be538e468c580dd276178b818e761b3b68cd","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"6e335a70826a634c5a1a1fa36a2dacbf3712ef2be7a517540ae1de8a1e8ea4f6","affectsGlobalScope":true},"8ff1b82376564edb18f2dec6ff7810af65f5108979f8f6deccc7d24f2e2a8dd7","df8529626079d6f9d5d3cd7b6fb7db9cda5a3118d383d8cd46c52aadb59593e7","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","3122a3f1136508a27a229e0e4e2848299028300ffa11d0cdfe99df90c492fe20","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"8c30d54a10914cecc89f0ae444e8a3786a39f1ab33640274f85232127aa3e49e","affectsGlobalScope":true},"fe6dba0e8c69f2b244e3da38e53dd2cc9e51b2543e647e805396af73006613f7","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"5810080a0da989a944d3b691b7b479a4a13c75947fb538abb8070710baa5ccee","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","8bbe7e6c5844e38754c041b52e3d90f7bbd5a0d60739daf30805c92e4f0c65c6","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"99822adc2defda34dc1b28b727577ec7c098d878d713157dbe90d212c6bf5e58","affectsGlobalScope":true},{"version":"8a985c7d30aea82342d5017730b546bb2b734fe37a2684ca55d4734deb019d58","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"4d06f3abc2a6aae86f1be39e397372f74fb6e7964f594d645926b4a3419cc15d","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"4905d61a3e1e9b12e12dbf8660fc8d2f085734da6da8d725f395bf41a04853d6","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","b95f751a58d283cb5e32f2655361f6e2a27f0368f69edc463a3472aae21d1303","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","2d1323c55cb7a4f2cf73f03797b26645a7657dd0217beb41b0079b0490ec3370","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc","495da6628b9474e31d0636d66c54448bb8d84dbce902e8f70539ef6a525a2d7b","629766229f541d92210f30a92b6038568ec165fab14b7ee53bdf13667da37ca3","204dbe6c72467fb14bbe8f06510b11fb541b6ce29580c6e10ebd3bdb2eb0c1f9","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","aad5ffa61406b8e19524738fcf0e6fda8b3485bba98626268fdf252d1b2b630a","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c",{"version":"352fc8497a30bc806d7defa0043d85802e5f35a7688731ee9a21456f5cb32a94","affectsGlobalScope":true},"f463d61cf39c3a6a5f96cdf7adfdb72a0b1d663f7b5d5b6dd042adba835430c2","f7a9cb83c8fbc081a8b605880d191e0d0527cde2c1b2b2b623beca8f0203a2cd","43cdd474c5aa3340da4816bb8f1ae7f3b1bcf9e70d997afc36a0f2c432378c84","eb96a2321f717bccc3e49e104e299152984b927ea4546b559ae631c06565819c","68c559681a043ca6d622debcce75c4d82446fec08e06bf1066f71d6c325f224e","bee89e1eb6425eb49894f3f25e4562dc2564e84e5aa7610b7e13d8ecddf8f5db","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab","0def05b4e59413659e7f1cad8b0e32858d7d272a4701457e7fea95618f6ef7db","3f6bff86e78e065dad71ca8e395824703f56977f7309139127e58718d7915410","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51",{"version":"5307adc4b2b1298a0f3b661d93e6fbf558d3a65e62a62c006271f2e87cb2e628","affectsGlobalScope":true},"8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0",{"version":"f1ccbbd822e6e6b82cd12c8e737b9785b16354b257d011c8bb36b922abd5358f","affectsGlobalScope":true},{"version":"e78254e27cd0f5473fb1a68da88c16de429cbd1ea6e80fef0923073ca9fdf817","affectsGlobalScope":true},{"version":"28c375e6685170af8542ed1523a31fb5972be45854800ddc26efdd1bed4ed1c8","affectsGlobalScope":true},{"version":"6f1f78e8c2a5c7cd2c38aa9cc5da26d9c039f2bbfa753f2a0a54ce41c4dff8d0","affectsGlobalScope":true},"ec89427601297d439c961528832a75017d9356bec2ee42c1d16f2274590d9330","2b1af4170f6dfa90f43d2fe3d6c36f95b7fa121aa434a2acefb763d7be460a53","dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","d8ff10c7c1f825a87b2b2a1cef499c7079d2d1b880323ce9edbb81282aceee8d","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","19c816167e076e7c24f074389c6cf3ed87bdbb917d1ea439ca281f9d26db2439","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","30abc554c7ad13063a02ddd06757929b34357aea1f6fcf4ca39114cb0fc19384","5774751340e987a6a9e4a5dcc03ff68a6515adc2b91423e1af2f660fc8f30e81","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true},"6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","6484309596f594ae824513336bd2a2e04a1902b06bb149fa904f5cae5fbe5c50","2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","b9f96255e1048ed2ea33ec553122716f0e57fc1c3ad778e9aa15f5b46547bd23","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","a1a261624efb3a00ff346b13580f70f3463b8cdcc58b60f5793ff11785d52cab","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","65dfa4bc49ccd1355789abb6ae215b302a5b050fdee9651124fe7e826f33113c"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"noImplicitAny":false,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[160],[46,160],[54,160],[46,54,160],[46,54,62,160],[44,45,160],[53,69,160],[53,67,160],[50,68,160],[53,76,160],[53,66,160],[53,70,71,73,74,160],[70,71,73,160],[71,73,77,160],[50,53,72,160],[53,71,73,77,78,160],[102,160],[46,100,101,160],[46,100,160],[85,86,160],[87,160],[86,88,160],[71,98,105,106,107,109,110,160],[99,103,160],[104,160],[100,160],[99,104,108,160],[53,160],[99,160],[85,97,111,160],[89,92,93,96,160],[133,160,167],[133,160,167,170],[85,160],[133,135,160,167,172],[133,160,167,174],[133,160,167,170,179,186],[130,133,160,167,174,181,182],[160,171,174,183,185],[160,190],[160,173,192,193],[160,197],[160,198],[160,200,201,202,203,204],[160,209],[130,133,134,138,144,159,160,167,168,177,179,184,187,195,208],[160,210,212,213,214,215,216,217,218,219,220,221,222],[160,210,211,213,214,215,216,217,218,219,220,221,222],[160,211,212,213,214,215,216,217,218,219,220,221,222],[160,210,211,212,214,215,216,217,218,219,220,221,222],[160,210,211,212,213,215,216,217,218,219,220,221,222],[160,210,211,212,213,214,216,217,218,219,220,221,222],[160,210,211,212,213,214,215,217,218,219,220,221,222],[160,210,211,212,213,214,215,216,218,219,220,221,222],[160,210,211,212,213,214,215,216,217,219,220,221,222],[160,210,211,212,213,214,215,216,217,218,220,221,222],[160,210,211,212,213,214,215,216,217,218,219,221,222],[160,210,211,212,213,214,215,216,217,218,219,220,222],[160,210,211,212,213,214,215,216,217,218,219,220,221],[114,160],[117,160],[118,123,151,160],[119,130,131,138,148,159,160],[119,120,130,138,160],[121,160],[122,123,131,139,160],[123,148,156,160],[124,126,130,138,160],[125,160],[126,127,160],[130,160],[128,130,160],[130,131,132,148,159,160],[130,131,132,145,148,151,160],[160,164],[126,130,133,138,148,159,160],[130,131,133,134,138,148,156,159,160],[133,135,148,156,159,160],[114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,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],[130,136,160],[137,159,160,164],[126,130,138,148,160],[139,160],[140,160],[117,141,160],[142,158,160,164],[143,160],[144,160],[130,145,146,160],[145,147,160,162],[118,130,148,149,150,151,160],[118,148,150,160],[148,149,160],[151,160],[152,160],[117,148,160],[130,154,155,160],[154,155,160],[123,138,148,156,160],[157,160],[138,158,160],[118,133,144,159,160],[123,160],[148,160,161],[160,162],[160,163],[118,123,130,132,141,148,159,160,162,164],[148,160,165],[160,229],[160,230],[160,167],[160,233,272],[160,233,257,272],[160,272],[160,233],[160,233,258,272],[160,233,234,235,236,237,238,239,240,241,242,243,244,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],[160,258,272],[131,148,160,167,180],[133,160,167,180,184],[85,95,160],[94,160],[47,160],[160,172],[130,133,135,138,148,156,159,160,165,167],[130,148,160,167],[91,160],[90,160],[50,160],[49,50,160],[48,49,160],[55,56,57,58,59,60,61,62,63,160],[65,160],[46,50,51,52,160],[46,50,160],[71,160],[43,81,160],[43,53,160],[43,53,64,75,79,80,160],[43,160],[43,53,81,84,112,160],[53,70,73,74,160],[70,73,160],[73,77,160],[53,73,77,78,160],[160,275],[46,51,160,276,277],[46,160,276],[160,278],[53],[50,53,75,79,80],[84]],"referencedMap":[[44,1],[54,2],[55,3],[58,4],[56,4],[60,4],[63,5],[62,1],[61,4],[59,4],[57,3],[45,1],[46,6],[70,7],[68,8],[69,9],[76,9],[77,10],[67,11],[75,12],[74,13],[78,14],[73,15],[79,16],[100,1],[103,17],[102,18],[101,19],[87,20],[88,21],[86,1],[89,22],[111,23],[98,1],[104,24],[105,25],[106,1],[107,26],[109,27],[99,28],[108,29],[110,25],[112,30],[97,31],[168,32],[169,1],[171,33],[93,34],[85,1],[173,35],[175,36],[176,1],[170,32],[177,1],[178,1],[187,37],[188,1],[189,1],[183,38],[186,39],[191,40],[194,41],[195,1],[184,1],[196,1],[197,1],[198,42],[199,43],[205,44],[201,1],[200,1],[203,1],[202,1],[206,1],[207,1],[179,1],[208,45],[209,46],[211,47],[212,48],[210,49],[213,50],[214,51],[215,52],[216,53],[217,54],[218,55],[219,56],[220,57],[221,58],[222,59],[223,40],[180,1],[224,1],[225,1],[226,1],[114,60],[115,60],[117,61],[118,62],[119,63],[120,64],[121,65],[122,66],[123,67],[124,68],[125,69],[126,70],[127,70],[129,71],[128,72],[130,71],[131,73],[132,74],[116,75],[166,1],[133,76],[134,77],[135,78],[167,79],[136,80],[137,81],[138,82],[139,83],[140,84],[141,85],[142,86],[143,87],[144,88],[145,89],[146,89],[147,90],[148,91],[150,92],[149,93],[151,94],[152,95],[153,96],[154,97],[155,98],[156,99],[157,100],[158,101],[159,102],[160,103],[161,104],[162,105],[163,106],[164,107],[165,108],[227,1],[228,1],[230,109],[229,110],[231,1],[174,1],[182,1],[193,1],[232,111],[257,112],[258,113],[233,114],[236,114],[255,112],[256,112],[246,112],[245,115],[243,112],[238,112],[251,112],[249,112],[253,112],[237,112],[250,112],[254,112],[239,112],[240,112],[252,112],[234,112],[241,112],[242,112],[244,112],[248,112],[259,116],[247,112],[235,112],[272,117],[271,1],[266,116],[268,118],[267,116],[260,116],[261,116],[263,116],[265,116],[269,118],[270,118],[262,118],[264,118],[181,119],[185,120],[96,121],[95,122],[94,1],[204,1],[48,123],[47,1],[192,124],[190,1],[273,125],[274,126],[90,34],[92,127],[91,128],[49,129],[65,130],[52,1],[50,131],[71,129],[64,132],[66,133],[53,134],[51,135],[72,136],[172,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[82,137],[83,138],[84,137],[81,139],[80,140],[113,141]],"exportedModulesMap":[[44,1],[54,2],[55,3],[58,4],[56,4],[60,4],[63,5],[62,1],[61,4],[59,4],[57,3],[45,1],[46,6],[70,7],[68,8],[69,9],[76,9],[77,10],[67,11],[75,142],[74,143],[78,144],[73,15],[79,145],[100,1],[103,17],[102,18],[101,19],[87,20],[88,21],[86,1],[89,22],[111,23],[98,1],[104,24],[105,25],[106,1],[107,26],[109,27],[99,28],[108,29],[110,25],[112,30],[97,31],[168,32],[169,1],[171,33],[93,34],[85,1],[173,35],[175,36],[176,1],[170,32],[177,1],[178,1],[187,37],[188,1],[189,1],[183,38],[186,39],[191,40],[194,41],[195,1],[184,1],[196,1],[197,1],[198,42],[199,43],[205,44],[201,1],[200,1],[203,1],[202,1],[206,1],[207,1],[179,1],[208,45],[209,46],[211,47],[212,48],[210,49],[213,50],[214,51],[215,52],[216,53],[217,54],[218,55],[219,56],[220,57],[221,58],[222,59],[223,40],[180,1],[224,1],[225,1],[226,1],[114,60],[115,60],[117,61],[118,62],[119,63],[120,64],[121,65],[122,66],[123,67],[124,68],[125,69],[126,70],[127,70],[129,71],[128,72],[130,71],[131,73],[132,74],[116,75],[166,1],[133,76],[134,77],[135,78],[167,79],[136,80],[137,81],[138,82],[139,83],[140,84],[141,85],[142,86],[143,87],[144,88],[145,89],[146,89],[147,90],[148,91],[150,92],[149,93],[151,94],[152,95],[153,96],[154,97],[155,98],[156,99],[157,100],[158,101],[159,102],[160,103],[161,104],[162,105],[163,106],[164,107],[165,108],[227,1],[228,1],[230,109],[229,110],[231,1],[174,1],[182,1],[193,1],[232,111],[257,112],[258,113],[233,114],[236,114],[255,112],[256,112],[246,112],[245,115],[243,112],[238,112],[251,112],[249,112],[253,112],[237,112],[250,112],[254,112],[239,112],[240,112],[252,112],[234,112],[241,112],[242,112],[244,112],[248,112],[259,116],[247,112],[235,112],[272,117],[271,1],[266,116],[268,118],[267,116],[260,116],[261,116],[263,116],[265,116],[269,118],[270,118],[262,118],[264,118],[181,119],[185,120],[96,121],[95,122],[94,1],[204,1],[48,123],[47,1],[192,124],[190,1],[273,125],[274,126],[90,34],[92,127],[91,128],[49,129],[65,130],[52,1],[50,131],[71,129],[64,132],[66,146],[53,147],[51,148],[72,149],[172,1],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[82,137],[83,150],[81,151],[113,152]],"semanticDiagnosticsPerFile":[44,54,55,58,56,60,63,62,61,59,57,45,46,70,68,69,76,77,67,75,74,78,73,79,100,103,102,101,87,88,86,89,111,98,104,105,106,107,109,99,108,110,112,97,168,169,171,93,85,173,175,176,170,177,178,187,188,189,183,186,191,194,195,184,196,197,198,199,205,201,200,203,202,206,207,179,208,209,211,212,210,213,214,215,216,217,218,219,220,221,222,223,180,224,225,226,114,115,117,118,119,120,121,122,123,124,125,126,127,129,128,130,131,132,116,166,133,134,135,167,136,137,138,139,140,141,142,143,144,145,146,147,148,150,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,227,228,230,229,231,174,182,193,232,257,258,233,236,255,256,246,245,243,238,251,249,253,237,250,254,239,240,252,234,241,242,244,248,259,247,235,272,271,266,268,267,260,261,263,265,269,270,262,264,181,185,96,95,94,204,48,47,192,190,273,274,90,92,91,49,65,52,50,71,64,66,53,51,72,172,43,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,82,83,84,81,80,113]},"version":"4.9.5"}
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@digital-realty/ix-textbox",
3
+ "version": "2.0.1",
4
+ "description": "Webcomponent ix-textbox following open-wc recommendations",
5
+ "license": "MIT",
6
+ "author": "ix-textbox",
7
+ "type": "module",
8
+ "main": "dist/src/index.js",
9
+ "module": "dist/src/index.js",
10
+ "exports": {
11
+ ".": "./dist/src/index.js",
12
+ "./ix-textbox.js": "./dist/src/ix-textbox.js"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "scripts": {
18
+ "analyze": "cem analyze --litelement",
19
+ "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
20
+ "build": "tsc && npm run analyze -- --exclude dist",
21
+ "prepublish": "tsc && npm run analyze -- --exclude dist",
22
+ "lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
23
+ "format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
24
+ "test": "tsc && wtr --coverage",
25
+ "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
26
+ },
27
+ "dependencies": {
28
+ "@material/web": "^1.0.0-pre.15",
29
+ "lit": "^2.7.6"
30
+ },
31
+ "devDependencies": {
32
+ "@custom-elements-manifest/analyzer": "^0.4.17",
33
+ "@open-wc/eslint-config": "^9.2.1",
34
+ "@open-wc/testing": "^3.1.6",
35
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
36
+ "@typescript-eslint/parser": "^5.48.0",
37
+ "@web/dev-server": "^0.1.34",
38
+ "@web/test-runner": "^0.14.0",
39
+ "concurrently": "^5.3.0",
40
+ "eslint": "^8.31.0",
41
+ "eslint-config-prettier": "^8.3.0",
42
+ "husky": "^4.3.8",
43
+ "lint-staged": "^10.5.4",
44
+ "prettier": "^2.4.1",
45
+ "tslib": "^2.3.1",
46
+ "typescript": "^4.5.2"
47
+ },
48
+ "customElements": "custom-elements.json",
49
+ "eslintConfig": {
50
+ "root": true,
51
+ "parser": "@typescript-eslint/parser",
52
+ "extends": [
53
+ "@open-wc",
54
+ "prettier"
55
+ ],
56
+ "plugins": [
57
+ "@typescript-eslint"
58
+ ],
59
+ "rules": {
60
+ "class-methods-use-this": "off",
61
+ "no-unused-vars": "off",
62
+ "@typescript-eslint/no-unused-vars": [
63
+ "error"
64
+ ],
65
+ "import/no-unresolved": "off",
66
+ "import/extensions": [
67
+ "error",
68
+ "always",
69
+ {
70
+ "ignorePackages": true
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "prettier": {
76
+ "singleQuote": true,
77
+ "arrowParens": "avoid"
78
+ },
79
+ "husky": {
80
+ "hooks": {
81
+ "pre-commit": "lint-staged"
82
+ }
83
+ },
84
+ "lint-staged": {
85
+ "*.ts": [
86
+ "eslint --fix",
87
+ "prettier --write"
88
+ ]
89
+ },
90
+ "gitHead": "b2bd86ae4fd75a100f98b84d6076ac35730a0fc2"
91
+ }
@@ -0,0 +1,194 @@
1
+ import { html, LitElement } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
+ import '@material/web/textfield/filled-text-field.js';
4
+ import '@material/web/textfield/outlined-text-field.js';
5
+ import { TextFieldType, UnsupportedTextFieldType } from './types/index.js';
6
+
7
+ export class IxTextbox extends LitElement {
8
+ @property({ type: Boolean }) outlined = true;
9
+
10
+ @property({ reflect: true })
11
+ type: TextFieldType | UnsupportedTextFieldType = 'text';
12
+
13
+ @property({ type: Boolean, reflect: true }) disabled = false;
14
+
15
+ /**
16
+ * Gets or sets whether or not the text field is in a visually invalid state.
17
+ *
18
+ * Calling `reportValidity()` will automatically update `error`.
19
+ */
20
+ @property({ type: Boolean, reflect: true }) error = false;
21
+
22
+ /**
23
+ * The error message that replaces supporting text when `error` is true. If
24
+ * `errorText` is an empty string, then the supporting text will continue to
25
+ * show.
26
+ *
27
+ * Calling `reportValidity()` will automatically update `errorText` to the
28
+ * native `validationMessage`.
29
+ */
30
+ @property({ attribute: 'error-text' }) errorText = '';
31
+
32
+ @property() label = '';
33
+
34
+ @property({ type: Boolean, reflect: true }) required = false;
35
+
36
+ /**
37
+ * The current value of the text field. It is always a string.
38
+ */
39
+ @property() value = '';
40
+
41
+ /**
42
+ * An optional prefix to display before the input value.
43
+ */
44
+ @property({ attribute: 'prefix-text' }) prefixText = '';
45
+
46
+ /**
47
+ * An optional suffix to display after the input value.
48
+ */
49
+ @property({ attribute: 'suffix-text' }) suffixText = '';
50
+
51
+ /**
52
+ * Whether or not the text field has a leading icon. Used for SSR.
53
+ */
54
+ @property({ type: Boolean, attribute: 'has-leading-icon' })
55
+ hasLeadingIcon = false;
56
+
57
+ /**
58
+ * Whether or not the text field has a trailing icon. Used for SSR.
59
+ */
60
+ @property({ type: Boolean, attribute: 'has-trailing-icon' })
61
+ hasTrailingIcon = false;
62
+
63
+ /**
64
+ * Conveys additional information below the text field, such as how it should
65
+ * be used.
66
+ */
67
+ @property({ attribute: 'supporting-text' }) supportingText = '';
68
+
69
+ /**
70
+ * Override the input text CSS `direction`. Useful for RTL languages that use
71
+ * LTR notation for fractions.
72
+ */
73
+ @property({ attribute: 'text-direction' }) textDirection = '';
74
+
75
+ /**
76
+ * The number of rows to display for a `type="textarea"` text field.
77
+ * Defaults to 2.
78
+ */
79
+ @property({ type: Number }) rows = 2;
80
+
81
+ // <input> properties
82
+ /**
83
+ * Defines the greatest value in the range of permitted values.
84
+ *
85
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
86
+ */
87
+ @property() max = '';
88
+
89
+ /**
90
+ * The maximum number of characters a user can enter into the text field. Set
91
+ * to -1 for none.
92
+ *
93
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
94
+ */
95
+ @property({ type: Number }) maxLength = -1;
96
+
97
+ /**
98
+ * Defines the most negative value in the range of permitted values.
99
+ *
100
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
101
+ */
102
+ @property() min = '';
103
+
104
+ /**
105
+ * The minimum number of characters a user can enter into the text field. Set
106
+ * to -1 for none.
107
+ *
108
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
109
+ */
110
+ @property({ type: Number }) minLength = -1;
111
+
112
+ /**
113
+ * A regular expression that the text field's value must match to pass
114
+ * constraint validation.
115
+ *
116
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
117
+ */
118
+ @property() pattern = '';
119
+
120
+ @property({ reflect: true }) placeholder = '';
121
+
122
+ /**
123
+ * Indicates whether or not a user should be able to edit the text field's
124
+ * value.
125
+ *
126
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
127
+ */
128
+ @property({ type: Boolean, reflect: true }) readOnly = false;
129
+
130
+ @property({ type: Function }) onChange: Function = () => {};
131
+
132
+ _handleChange(e: Event) {
133
+ const inputElement = e.target as HTMLInputElement;
134
+ this.onChange({ value: inputElement.value });
135
+ }
136
+
137
+ render() {
138
+ let comp;
139
+ if (this.outlined) {
140
+ comp = html`
141
+ <md-outlined-text-field
142
+ ?disabled="${this.disabled}"
143
+ ?required="${this.required}"
144
+ ?error="${this.error}"
145
+ error-text="${this.errorText}"
146
+ label="${this.label}"
147
+ value="${this.value}"
148
+ placeholder="${this.placeholder}"
149
+ ?readOnly="${this.readOnly}"
150
+ text-direction="${this.textDirection}"
151
+ rows="${this.rows}"
152
+ max="${this.max}"
153
+ maxLength="${this.maxLength}"
154
+ min="${this.min}"
155
+ minLength="${this.minLength}"
156
+ pattern="${this.pattern}"
157
+ prefix-text="${this.prefixText}"
158
+ suffix-text="${this.suffixText}"
159
+ supporting-text="${this.supportingText}"
160
+ type="${this.type}"
161
+ @input="${this._handleChange}"
162
+ >
163
+ </md-outlined-text-field>
164
+ `;
165
+ } else {
166
+ comp = html`
167
+ <md-filled-text-field
168
+ ?disabled="${this.disabled}"
169
+ ?required="${this.required}"
170
+ ?error="${this.error}"
171
+ error-text="${this.errorText}"
172
+ label="${this.label}"
173
+ value="${this.value}"
174
+ placeholder="${this.placeholder}"
175
+ ?readOnly="${this.readOnly}"
176
+ text-direction="${this.textDirection}"
177
+ rows="${this.rows}"
178
+ max="${this.max}"
179
+ maxLength="${this.maxLength}"
180
+ min="${this.min}"
181
+ minLength="${this.minLength}"
182
+ pattern="${this.pattern}"
183
+ prefix-text="${this.prefixText}"
184
+ suffix-text="${this.suffixText}"
185
+ supporting-text="${this.supportingText}"
186
+ type="${this.type}"
187
+ @input="${this.onChange}"
188
+ >
189
+ </md-filled-text-field>
190
+ `;
191
+ }
192
+ return html` ${comp} `;
193
+ }
194
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { IxTextbox } from './IxTextbox.js';
@@ -0,0 +1,59 @@
1
+ import { css } from 'lit';
2
+
3
+ export const IxTextboxStyles = css`
4
+ :host {
5
+ display: block;
6
+ }
7
+
8
+ :host([hidden]) {
9
+ display: none;
10
+ }
11
+
12
+ input {
13
+ display: block;
14
+ width: 100%;
15
+ padding: 0.5em;
16
+ font-size: 1rem;
17
+ line-height: 1.25rem;
18
+ border: 1px solid lightgrey;
19
+ background-repeat: no-repeat;
20
+ background-position: calc(100% - 0.5em) 50%;
21
+ border-radius: 3px;
22
+ box-sizing: border-box;
23
+ }
24
+
25
+ input:focus {
26
+ outline: none;
27
+ box-shadow: 0 0 2px 1px rgba(0, 153, 204, 0.39),
28
+ 0 0 4px 3px rgba(0, 153, 204, 0.18), 0 0 8px 4px rgba(0, 153, 204, 0.1);
29
+ }
30
+
31
+ input:required.-is-valid {
32
+ border-color: #99ca3c;
33
+ background-image: url("data:image/svg+xml,%3Csvg width='19px' height='13px' viewBox='0 0 19 13' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cpolygon fill='%2399CA3C' points='6.70967742 13 0 6.29032258 2.09677419 4.19354839 6.70967742 8.80645161 16.3548387 0 18.4516129 2.09677419'%3E%3C/polygon%3E %3C/svg%3E");
34
+ padding-right: 2em;
35
+ }
36
+
37
+ input:required.-is-invalid {
38
+ border-color: #e3097c;
39
+ background-image: url("data:image/svg+xml,%3Csvg width='15px' height='15px' viewBox='0 0 15 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cpolygon id='Path' fill='%23E3097C' points='12.759145 0.0312229203 14.8804653 2.15254326 9.57716447 7.45584412 14.8804653 12.759145 12.759145 14.8804653 7.45584412 9.57716447 2.15254326 14.8804653 0.0312229203 12.759145 5.33452378 7.45584412 0.0312229203 2.15254326 2.15254326 0.0312229203 7.45584412 5.33452378'%3E%3C/polygon%3E %3C/svg%3E");
40
+ padding-right: 2em;
41
+ }
42
+
43
+ input[type='search'] {
44
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Cpath id='Path_46' data-name='Path 46' d='M17.835-27.347l5.506,5.506a2.249,2.249,0,0,1,0,3.182,2.249,2.249,0,0,1-3.182,0h0l-5.506-5.506a10.6,10.6,0,0,0,3.182-3.182ZM9-42a9,9,0,0,1,9,9,9,9,0,0,1-9,9,9,9,0,0,1-9-9A9,9,0,0,1,9-42Zm0,2.25A6.757,6.757,0,0,0,2.25-33,6.757,6.757,0,0,0,9-26.25,6.757,6.757,0,0,0,15.75-33,6.758,6.758,0,0,0,9-39.75Zm0,1.5v1.5A3.754,3.754,0,0,0,5.25-33H3.75A5.256,5.256,0,0,1,9-38.25Z' transform='translate(0 42)' fill='%23d8d8d8' clip-rule='evenodd'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='icon_search' data-name='icon search' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_45' data-name='Path 45' d='M-1-43H24.363v25.363H-1Z' transform='translate(0.429 42.429)' fill='%23d8d8d8'/%3E%3C/g%3E%3C/svg%3E%0A");
45
+ background-position: 0.5em 50%;
46
+ padding-left: 2.25rem;
47
+ }
48
+
49
+ input:disabled {
50
+ border-width: 0 0 1px;
51
+ color: #595959;
52
+ border-color: lightgrey;
53
+ }
54
+
55
+ input:not([type='search']):disabled {
56
+ background-image: none;
57
+ padding-left: 0;
58
+ }
59
+ `;
@@ -0,0 +1,3 @@
1
+ import { IxTextbox } from './IxTextbox.js';
2
+
3
+ window.customElements.define('ix-textbox', IxTextbox);
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Input types that are compatible with the text field.
3
+ */
4
+ export type TextFieldType =
5
+ | 'email'
6
+ | 'number'
7
+ | 'password'
8
+ | 'search'
9
+ | 'tel'
10
+ | 'text'
11
+ | 'url'
12
+ | 'textarea';
13
+
14
+ /**
15
+ * Input types that are not fully supported for the text field.
16
+ */
17
+ export type UnsupportedTextFieldType =
18
+ | 'color'
19
+ | 'date'
20
+ | 'datetime-local'
21
+ | 'file'
22
+ | 'month'
23
+ | 'time'
24
+ | 'week';
@@ -0,0 +1,32 @@
1
+ import { html } from 'lit';
2
+ import { fixture, expect } from '@open-wc/testing';
3
+ import { IxTextbox } from '../src/IxTextbox.js';
4
+ import '../src/ix-textbox.js';
5
+
6
+ describe('IxTextbox', () => {
7
+ it('should show the outlined text field by default', async () => {
8
+ const el = await fixture<IxTextbox>(html`<ix-textbox></ix-textbox>`);
9
+ console.log(el.innerHTML);
10
+ const outlinedTextField = el.shadowRoot?.querySelector(
11
+ 'md-outlined-text-field'
12
+ );
13
+ const filledTextField = el.shadowRoot?.querySelector(
14
+ 'md-filled-text-field'
15
+ );
16
+ expect(outlinedTextField).to.not.be.null;
17
+ expect(filledTextField).to.be.null;
18
+ });
19
+ it('should show the filled text field when outlined is false', async () => {
20
+ const el = await fixture<IxTextbox>(
21
+ html`<ix-textbox .outlined=${false}></ix-textbox>`
22
+ );
23
+ const outlinedTextField = el.shadowRoot?.querySelector(
24
+ 'md-outlined-text-field'
25
+ );
26
+ const filledTextField = el.shadowRoot?.querySelector(
27
+ 'md-filled-text-field'
28
+ );
29
+ expect(outlinedTextField).to.be.null;
30
+ expect(filledTextField).to.not.be.null;
31
+ });
32
+ });