@dile/ui 2.11.0 → 2.12.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.
@@ -27,6 +27,8 @@ export class DileHamburger extends LitElement {
27
27
  border: 0;
28
28
  margin: 0;
29
29
  overflow: visible;
30
+ position: relative;
31
+ top: var(--dile-hamburguer-position-top, 0);
30
32
  }
31
33
  .hamburger:hover {
32
34
  opacity: 0.7;
@@ -50,6 +52,8 @@ export class DileHamburger extends LitElement {
50
52
  .hamburger-inner {
51
53
  display: block;
52
54
  top: 50%;
55
+ left: 0;
56
+ transform: translateY(-50%);
53
57
  margin-top: 0px;
54
58
  }
55
59
  .hamburger-inner,
@@ -92,7 +96,7 @@ export class DileHamburger extends LitElement {
92
96
  }
93
97
 
94
98
  .hamburger--squeeze.is-active .hamburger-inner {
95
- transform: rotate(45deg);
99
+ transform: translateY(-50%) rotate(45deg);
96
100
  transition-delay: 0.12s;
97
101
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
98
102
  }
@@ -108,8 +112,18 @@ export class DileHamburger extends LitElement {
108
112
  transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
109
113
  }
110
114
 
111
- button:focus {
112
- outline: none;
115
+ .hamburger:focus {
116
+ background-color: transparent;
117
+ }
118
+ .hamburger:focus-visible {
119
+ outline: 2px solid var(--dile-hamburger-focus-outline, var(--dile-primary-dark-color, #0a66ff));
120
+ outline-offset: 3px;
121
+ background-color: transparent;
122
+ }
123
+ .hamburger:focus-visible .hamburger-inner,
124
+ .hamburger:focus-visible .hamburger-inner::before,
125
+ .hamburger:focus-visible .hamburger-inner::after {
126
+ background-color: var(--dile-hamburger-focus-color, var(--dile-primary-dark-color, #0a66ff));
113
127
  }
114
128
  `;
115
129
  }
@@ -11,7 +11,7 @@ export class DileInput extends DileEmmitChange(LitElement) {
11
11
  */
12
12
 
13
13
  /**
14
- * Liten to the native input event to recive text input updates
14
+ * Listen to the native input event to receive text input updates
15
15
  *
16
16
  * @event input
17
17
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "2.11.0",
3
+ "version": "2.12.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": "0ffe79bf145624b0a861b9b450a94546358a72ba"
29
+ "gitHead": "5e351778fe7c3206effd8c3589ba6ef6992d694b"
30
30
  }