@dile/ui 2.5.4 → 2.5.6

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/README.md CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  Web Components to create various user interfaces.
4
4
 
5
- Read the @dile/ui docs on [Dile Components Catalog Site](https://dile-components.polydile.com/).
5
+ Read the @dile/ui docs on [Dile Components Catalog Site](https://dile-components.com/).
@@ -0,0 +1,4 @@
1
+ import './spinner.js';
2
+ import { DileSpinnerBlock } from "./src/DileSpinnerBlock.js";
3
+
4
+ window.customElements.define("dile-spinner-block", DileSpinnerBlock);
@@ -0,0 +1,25 @@
1
+ import { LitElement, html, css } from "lit";
2
+
3
+ export class DileSpinnerBlock extends LitElement {
4
+ static get styles() {
5
+ return css`
6
+ :host {
7
+ display: block;
8
+ }
9
+ .loading {
10
+ height: var(--dile-spinner-block-height, 120px);
11
+ display: flex;
12
+ justify-content: var(--dile-spinner-block-justify-content, center);
13
+ align-items: var(--dile-spinner-block-align-items, center);
14
+ }
15
+ `;
16
+ }
17
+
18
+ render() {
19
+ return html`
20
+ <section class="loading">
21
+ <dile-spinner active></dile-spinner>
22
+ </section>
23
+ `;
24
+ }
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "UI Core components from dile-components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,13 +18,13 @@
18
18
  "bugs": {
19
19
  "url": "https://github.com/Polydile/Components/issues"
20
20
  },
21
- "homepage": "https://dile-components.polydile.com/",
21
+ "homepage": "https://dile-components.com/",
22
22
  "dependencies": {
23
- "@dile/icons": "^2.1.1",
23
+ "@dile/icons": "^2.1.2",
24
24
  "lit": "^2.7.0 || ^3.0.0"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "e2cdce49c83224ee59eae32515eb30ffd2913bb2"
29
+ "gitHead": "0ca8a028f7d8e60a7e1b83ad5a6a90dfc97ddac4"
30
30
  }