@internetarchive/elements 0.2.0 → 0.2.1-webdev-8151.0
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/src/elements/ia-button/ia-button.js +1 -1
- package/dist/src/elements/ia-combo-box/ia-combo-box.d.ts +1 -1
- package/dist/src/elements/ia-combo-box/ia-combo-box.js +2 -2
- package/dist/src/elements/ia-status-indicator/ia-status-indicator.js +1 -1
- package/dist/src/elements/index.d.ts +2 -2
- package/dist/src/elements/index.js +2 -2
- package/dist/src/labs/ia-snow/ia-snow.js +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { css, html, LitElement } from 'lit';
|
|
3
3
|
import { customElement } from 'lit/decorators/custom-element.js';
|
|
4
|
-
import themeStyles from '../../themes/theme-styles';
|
|
4
|
+
import themeStyles from '../../themes/theme-styles.js';
|
|
5
5
|
/**
|
|
6
6
|
* A button element to demo the elements library
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, nothing, TemplateResult, CSSResultGroup, PropertyValues } from 'lit';
|
|
2
|
-
import { type IAComboBoxBehavior, type IAComboBoxFilterOption, type IAComboBoxOption } from './models';
|
|
2
|
+
import { type IAComboBoxBehavior, type IAComboBoxFilterOption, type IAComboBoxOption } from './models.js';
|
|
3
3
|
/**
|
|
4
4
|
* A flexible component combining the features of a dropdown menu and a text input,
|
|
5
5
|
* allowing users to either select from a predefined list of options or type
|
|
@@ -6,8 +6,8 @@ import { ifDefined } from 'lit/directives/if-defined.js';
|
|
|
6
6
|
import { live } from 'lit/directives/live.js';
|
|
7
7
|
import { when } from 'lit/directives/when.js';
|
|
8
8
|
import { msg } from '@lit/localize';
|
|
9
|
-
import { hasAnyOf, isSubsequence, } from './models';
|
|
10
|
-
import themeStyles from '../../themes/theme-styles';
|
|
9
|
+
import { hasAnyOf, isSubsequence, } from './models.js';
|
|
10
|
+
import themeStyles from '../../themes/theme-styles.js';
|
|
11
11
|
import caretClosedIcon from './caret-closed.svg';
|
|
12
12
|
import caretOpenIcon from './caret-open.svg';
|
|
13
13
|
import clearIcon from './clear.svg';
|
|
@@ -3,7 +3,7 @@ import { css, html, LitElement } from 'lit';
|
|
|
3
3
|
import { customElement, property } from 'lit/decorators.js';
|
|
4
4
|
import { msg } from '@lit/localize';
|
|
5
5
|
import { choose } from 'lit/directives/choose.js';
|
|
6
|
-
import themeStyles from '../../themes/theme-styles';
|
|
6
|
+
import themeStyles from '../../themes/theme-styles.js';
|
|
7
7
|
/**
|
|
8
8
|
* Renders an SVG indicator, which defualts to an animated circular indicator
|
|
9
9
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './ia-button/ia-button';
|
|
2
|
-
export * from './ia-combo-box/ia-combo-box';
|
|
1
|
+
export * from './ia-button/ia-button.js';
|
|
2
|
+
export * from './ia-combo-box/ia-combo-box.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './ia-button/ia-button';
|
|
2
|
-
export * from './ia-combo-box/ia-combo-box';
|
|
1
|
+
export * from './ia-button/ia-button.js';
|
|
2
|
+
export * from './ia-combo-box/ia-combo-box.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,7 @@ import { property } from 'lit/decorators.js';
|
|
|
4
4
|
import { customElement } from 'lit/decorators/custom-element.js';
|
|
5
5
|
import { state } from 'lit/decorators/state.js';
|
|
6
6
|
import flakeIcon from './flake.svg';
|
|
7
|
-
import { lazyLoadTemplate, } from '../../util/lazy-load-template';
|
|
7
|
+
import { lazyLoadTemplate, } from '../../util/lazy-load-template.js';
|
|
8
8
|
/**
|
|
9
9
|
* An element that shows snowflakes to demo the elements library
|
|
10
10
|
*/
|
|
@@ -34,7 +34,7 @@ let IASnow = class IASnow extends LitElement {
|
|
|
34
34
|
// example, but it demonstrates the lazy loading pattern.
|
|
35
35
|
get startButtonTemplate() {
|
|
36
36
|
return lazyLoadTemplate(async () => {
|
|
37
|
-
await import('../../elements/ia-button/ia-button');
|
|
37
|
+
await import('../../elements/ia-button/ia-button.js');
|
|
38
38
|
}, () => html `
|
|
39
39
|
<ia-button
|
|
40
40
|
@click=${() => {
|
|
@@ -52,7 +52,7 @@ let IASnow = class IASnow extends LitElement {
|
|
|
52
52
|
}
|
|
53
53
|
get clearButtonTemplate() {
|
|
54
54
|
return lazyLoadTemplate(async () => {
|
|
55
|
-
await import('../../elements/ia-button/ia-button');
|
|
55
|
+
await import('../../elements/ia-button/ia-button.js');
|
|
56
56
|
}, () => html `
|
|
57
57
|
<ia-button
|
|
58
58
|
@click=${() => {
|
package/package.json
CHANGED