@consent.software/catalog 1.4.1 → 1.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consent.software/catalog",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "private": false,
5
5
  "description": "A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@consent.software/catalog',
6
- version: '1.4.1',
6
+ version: '1.4.3',
7
7
  description: 'A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.'
8
8
  }
@@ -8,6 +8,12 @@ import * as csInterfaces from '@consent.software/interfaces';
8
8
  import * as csWebclient from '@consent.software/webclient';
9
9
  import { delayFor } from '@push.rocks/smartdelay';
10
10
 
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'consentsoftware-cookieconsent': ConsentsoftwareCookieconsent;
14
+ }
15
+ }
16
+
11
17
  @customElement('consentsoftware-cookieconsent')
12
18
  export class ConsentsoftwareCookieconsent extends LitElement {
13
19
  public static demo = () => html`<consentsoftware-cookieconsent></consentsoftware-cookieconsent>`;
@@ -25,6 +31,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
25
31
  public static styles = css`
26
32
  :host {
27
33
  font-family: ${shared.fontStack};
34
+ user-select: none;
28
35
  /* Default theme variables */
29
36
  --text-color: #333;
30
37
  --background-color: #eeeeee;
@@ -167,7 +174,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
167
174
  line-height: 30px;
168
175
  text-align: center;
169
176
  cursor: pointer;
170
- transition: background 0.2s;
177
+ transition: all 0.2s;
171
178
  }
172
179
 
173
180
  .consent-button:hover {