tinkiet 0.5.0 → 0.6.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/accordion/accordion.js +36 -2
- package/badge/badge.js +3 -1
- package/box/box.js +6 -2
- package/button/button.js +28 -8
- package/button/button.scss.js +2 -2
- package/checkbox/checkbox.js +26 -3
- package/dialog/dialog.js +14 -5
- package/drawer/drawer.js +23 -6
- package/drawer/drawer.scss.js +2 -2
- package/form/form.d.ts +1 -1
- package/icon/icon.js +12 -4
- package/list-item/list-item.js +16 -6
- package/loading/loading.d.ts +1 -0
- package/loading/loading.js +30 -4
- package/navbar/navbar.js +12 -2
- package/notie/notie.js +40 -12
- package/notie/notie.scss.js +2 -2
- package/package.json +4 -4
- package/pages/pages.js +7 -3
- package/progress/progress.js +14 -6
- package/radio/radio.js +27 -3
- package/select/select.js +31 -3
- package/slider/slider.js +49 -5
- package/slider/slider.scss.js +2 -2
- package/switch/switch.js +26 -3
- package/tab-group/tab-group.js +16 -5
- package/tag/tag.js +7 -3
- package/textarea/textarea.js +32 -3
- package/textfield/textfield.js +33 -3
- package/theme/theme.js +7 -3
- package/umd/tinkiet.min.d.ts +2 -1
- package/umd/tinkiet.min.js +1 -1
package/theme/theme.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { LitElement,
|
|
2
|
+
import { LitElement, css, unsafeCSS, html } from 'lit';
|
|
3
3
|
import { property, customElement } from 'lit/decorators.js';
|
|
4
4
|
import css_248z from './theme.scss.js';
|
|
5
5
|
|
|
@@ -19,8 +19,13 @@ let TkTheme = class TkTheme extends LitElement {
|
|
|
19
19
|
this.forceBody = false;
|
|
20
20
|
this.inverted = false;
|
|
21
21
|
}
|
|
22
|
+
static { this.styles = css `
|
|
23
|
+
${unsafeCSS(css_248z)}
|
|
24
|
+
`; }
|
|
22
25
|
render() {
|
|
23
|
-
return html
|
|
26
|
+
return html `
|
|
27
|
+
<slot></slot>
|
|
28
|
+
`;
|
|
24
29
|
}
|
|
25
30
|
updated() {
|
|
26
31
|
this.setThemeColor();
|
|
@@ -139,7 +144,6 @@ let TkTheme = class TkTheme extends LitElement {
|
|
|
139
144
|
document.body.style.setProperty("color", `hsl(${foreground[0]},${foreground[1]},${foreground[2]})`);
|
|
140
145
|
}
|
|
141
146
|
};
|
|
142
|
-
TkTheme.styles = css `${unsafeCSS(css_248z)}`;
|
|
143
147
|
__decorate([
|
|
144
148
|
property(),
|
|
145
149
|
__metadata("design:type", String)
|
package/umd/tinkiet.min.d.ts
CHANGED
|
@@ -238,7 +238,7 @@ declare class TkForm extends LitElement {
|
|
|
238
238
|
protected createRenderRoot(): Element | ShadowRoot;
|
|
239
239
|
connectedCallback(): void;
|
|
240
240
|
disconnectedCallback(): void;
|
|
241
|
-
submit(e:
|
|
241
|
+
submit(e: Event): void;
|
|
242
242
|
getFormDataAsObject(): any;
|
|
243
243
|
}
|
|
244
244
|
declare global {
|
|
@@ -288,6 +288,7 @@ declare class TkLoading extends TkBox {
|
|
|
288
288
|
static get styles(): import("lit").CSSResult[];
|
|
289
289
|
circle: boolean;
|
|
290
290
|
indeterminate: boolean;
|
|
291
|
+
value: number;
|
|
291
292
|
render(): import("lit-html").TemplateResult<1>;
|
|
292
293
|
}
|
|
293
294
|
declare global {
|