@dile/ui 2.1.38 → 2.2.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.
@@ -0,0 +1,2 @@
1
+ import { DileFormSeparator } from './src/DileFormSeparator';
2
+ customElements.define('dile-form-separator', DileFormSeparator);
@@ -0,0 +1 @@
1
+ export { DileFormSeparator } from './src/DileFormSeparator';
@@ -0,0 +1,38 @@
1
+ import { LitElement, html, css } from 'lit';
2
+
3
+ export class DileFormSeparator extends LitElement {
4
+ static styles = [
5
+ css`
6
+ :host {
7
+ display: block;
8
+ }
9
+ div {
10
+ border-top: 1px solid var(--dile-secondary-dark-color);
11
+ margin: 1.5rem 0.2rem 1rem;
12
+ }
13
+ h3 {
14
+ margin: 1rem 0 0.5rem 0;
15
+ font-weight: 300;
16
+ color: var(--dile-secondary-dark-color);
17
+ font-size: 1.1rem;
18
+ }
19
+ :host([removeline]) div {
20
+ border-top: none;
21
+ }
22
+ `
23
+ ];
24
+
25
+ static get properties() {
26
+ return {
27
+ label: { type: String }
28
+ };
29
+ }
30
+
31
+ render() {
32
+ return html`
33
+ <div>
34
+ ${this.label ? html`<h3>${this.label}</h3>` : ''}
35
+ </div>
36
+ `;
37
+ }
38
+ }
@@ -49,6 +49,10 @@ export class DileSlideMenu extends DileSlideDown(LitElement) {
49
49
  --dile-icon-color: var(--dile-primary-color, #303030);
50
50
  margin: var(--dile-slide-menu-control-margin, 0 0 0.25rem 0);
51
51
  }
52
+
53
+ nav dile-icon {
54
+ margin: var(--dile-slide-menu-icon-margin, 0 0.25rem 0 0);
55
+ }
52
56
 
53
57
  dile-icon {
54
58
  transform: var(--dile-slide-menu-closed-transform, rotate(-90deg));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "2.1.38",
3
+ "version": "2.2.0",
4
4
  "description": "UI Core components from dile-components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "2800729c7bdb8f152e5a693851b323916feb9e79"
29
+ "gitHead": "5d4e95bced050de218bb3d5a0e489437d9dea8a6"
30
30
  }