@consent.software/catalog 1.4.0 → 1.4.1
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 +11 -11
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/consentsoftware-toggle.js +4 -2
- package/dist_watch/bundle.js +3 -1
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/consentsoftware-toggle.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@consent.software/catalog",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
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.1',
|
|
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
|
}
|
|
@@ -189,7 +189,6 @@ export class ConsentsoftwareToggle extends LitElement {
|
|
|
189
189
|
|
|
190
190
|
// Start dragging
|
|
191
191
|
this.isDragging = true;
|
|
192
|
-
this.hasDragged = false;
|
|
193
192
|
// The difference between the pointer’s X and the knob’s current position
|
|
194
193
|
this.startX = event.clientX - this.currentX;
|
|
195
194
|
|
|
@@ -229,6 +228,9 @@ export class ConsentsoftwareToggle extends LitElement {
|
|
|
229
228
|
|
|
230
229
|
// Dispatch toggle event
|
|
231
230
|
this.dispatchEvent(new CustomEvent('toggle', { detail: { selected: this.selected } }));
|
|
231
|
+
delayFor(0).then(() => {
|
|
232
|
+
this.hasDragged = false;
|
|
233
|
+
});
|
|
232
234
|
}
|
|
233
235
|
|
|
234
236
|
/**
|