@consent.software/catalog 1.4.2 → 1.4.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.
- package/dist_bundle/bundle.js +17 -17
- package/dist_bundle/bundle.js.map +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/consentsoftware-cookieconsent.d.ts +5 -0
- package/dist_ts_web/elements/consentsoftware-cookieconsent.js +2 -2
- package/dist_ts_web/elements/consentsoftware-toggle.d.ts +2 -2
- package/dist_ts_web/elements/consentsoftware-toggle.js +11 -5
- package/dist_watch/bundle.js +27 -5
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/consentsoftware-cookieconsent.ts +7 -1
- package/ts_web/elements/consentsoftware-toggle.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@consent.software/catalog",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
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.
|
|
6
|
+
version: '1.4.4',
|
|
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>`;
|
|
@@ -168,7 +174,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
|
|
168
174
|
line-height: 30px;
|
|
169
175
|
text-align: center;
|
|
170
176
|
cursor: pointer;
|
|
171
|
-
transition:
|
|
177
|
+
transition: all 0.2s;
|
|
172
178
|
}
|
|
173
179
|
|
|
174
180
|
.consent-button:hover {
|
|
@@ -6,10 +6,10 @@ import { delayFor } from '@push.rocks/smartdelay';
|
|
|
6
6
|
@customElement('consentsoftware-toggle')
|
|
7
7
|
export class ConsentsoftwareToggle extends LitElement {
|
|
8
8
|
@property({ type: Boolean })
|
|
9
|
-
public required = false;
|
|
9
|
+
public accessor required = false;
|
|
10
10
|
|
|
11
11
|
@property({ type: Boolean, reflect: true })
|
|
12
|
-
public selected = false;
|
|
12
|
+
public accessor selected = false;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* We always track the knob’s left offset in `currentX`.
|