@esportsplus/ui 0.39.3 → 0.39.4
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.
|
@@ -1,20 +1,17 @@
|
|
|
1
|
+
import { Attributes } from '@esportsplus/template';
|
|
1
2
|
import './scss/index.scss';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
(): ReturnType<(this: {
|
|
4
|
-
attributes?:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
|
-
}, attributes: Readonly<import("@esportsplus/template").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
5
|
+
attributes?: Attributes;
|
|
6
|
+
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
7
|
+
<T extends Attributes>(attributes: T): ReturnType<(this: {
|
|
8
|
+
attributes?: Attributes;
|
|
9
|
+
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
11
10
|
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
12
|
-
attributes?:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
content?: import("@esportsplus/template").Renderable<any>;
|
|
18
|
-
}, attributes: Readonly<import("@esportsplus/template").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
11
|
+
attributes?: Attributes;
|
|
12
|
+
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
13
|
+
(attributes: Attributes, content: import("@esportsplus/template").Renderable<any>): ReturnType<(this: {
|
|
14
|
+
attributes?: Attributes;
|
|
15
|
+
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
19
16
|
};
|
|
20
17
|
export default _default;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { html } from '@esportsplus/template';
|
|
2
2
|
import template from '../../components/template/index.js';
|
|
3
3
|
import './scss/index.scss';
|
|
4
|
-
export default template.factory((attributes, content)
|
|
4
|
+
export default template.factory(function (attributes, content) {
|
|
5
5
|
return html `
|
|
6
|
-
<a
|
|
6
|
+
<a
|
|
7
|
+
class='back link --padding-0px --flex-vertical'
|
|
8
|
+
${this.attributes}
|
|
9
|
+
${attributes}
|
|
10
|
+
>
|
|
7
11
|
${content}
|
|
8
12
|
</a>
|
|
9
13
|
`;
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { html } from '@esportsplus/template';
|
|
1
|
+
import { html, Attributes } from '@esportsplus/template';
|
|
2
2
|
import template from '~/components/template';
|
|
3
3
|
import './scss/index.scss';
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export default template.factory(
|
|
7
|
-
(attributes, content)
|
|
7
|
+
function (this: { attributes?: Attributes }, attributes, content) {
|
|
8
8
|
return html`
|
|
9
|
-
<a
|
|
9
|
+
<a
|
|
10
|
+
class='back link --padding-0px --flex-vertical'
|
|
11
|
+
${this.attributes}
|
|
12
|
+
${attributes}
|
|
13
|
+
>
|
|
10
14
|
${content}
|
|
11
15
|
</a>
|
|
12
16
|
`;
|