@tailwind-ng/core
Advanced tools
@@ -75,3 +75,3 @@ import * as i0 from '@angular/core'; | ||
| function isNavigation(key) { | ||
| return (isArrowDown(key) || isArrowUp(key) || isArrowLeft(key) || isArrowRight(key)); | ||
| return isArrowDown(key) || isArrowUp(key) || isArrowLeft(key) || isArrowRight(key); | ||
| } | ||
@@ -266,3 +266,3 @@ | ||
| requestAnimationFrame(() => { | ||
| const { block = 'nearest', inline = 'nearest', behavior = 'instant', } = options; | ||
| const { block = 'nearest', inline = 'nearest', behavior = 'instant' } = options; | ||
| element.scrollIntoView({ | ||
@@ -369,5 +369,3 @@ block: block, | ||
| let lastIndexOfSeperator = className.lastIndexOf('-'); | ||
| let searchString = lastIndexOfSeperator > 0 | ||
| ? className.substring(0, lastIndexOfSeperator) | ||
| : className; | ||
| let searchString = lastIndexOfSeperator > 0 ? className.substring(0, lastIndexOfSeperator) : className; | ||
| const foundInSource = className.match(/-/g)?.length ?? 0; | ||
@@ -384,4 +382,3 @@ target = target.filter((value) => { | ||
| // keep non color class that does not have a value in source to merge with. | ||
| if (found && | ||
| !searchString.startsWith(value.substring(0, value.indexOf('-')))) { | ||
| if (found && !searchString.startsWith(value.substring(0, value.indexOf('-')))) { | ||
| return true; | ||
@@ -718,3 +715,5 @@ } | ||
| const t = target[k]; | ||
| const res = ClassName.merge(t, s, { keepClassDeletor: true }); | ||
| const res = ClassName.merge(t, s, { | ||
| keepClassDeletor: true, | ||
| }); | ||
| Object.assign(target, { [k]: res }); | ||
@@ -1018,3 +1017,6 @@ } | ||
| static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: DropdownBase, isStandalone: true, host: { properties: { "attr.tabindex": "-1" } }, providers: [ | ||
| { provide: PopupDirective, useExisting: forwardRef(() => DropdownBase) }, | ||
| { | ||
| provide: PopupDirective, | ||
| useExisting: forwardRef(() => DropdownBase), | ||
| }, | ||
| ], usesInheritance: true, ngImport: i0 }); } | ||
@@ -1029,3 +1031,6 @@ } | ||
| providers: [ | ||
| { provide: PopupDirective, useExisting: forwardRef(() => DropdownBase) }, | ||
| { | ||
| provide: PopupDirective, | ||
| useExisting: forwardRef(() => DropdownBase), | ||
| }, | ||
| ], | ||
@@ -1071,9 +1076,7 @@ }] | ||
| this.nativeElement.ariaLabel = | ||
| this.nativeElement.querySelector('h2')?.textContent?.trim() || | ||
| null; | ||
| this.nativeElement.querySelector('h2')?.textContent?.trim() || null; | ||
| } | ||
| if (!this.nativeElement.ariaLabel) { | ||
| this.nativeElement.ariaLabel = | ||
| this.nativeElement.querySelector('h3')?.textContent?.trim() || | ||
| null; | ||
| this.nativeElement.querySelector('h3')?.textContent?.trim() || null; | ||
| } | ||
@@ -1098,3 +1101,6 @@ }); | ||
| static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: DialogBase, isStandalone: true, inputs: { isModal: "isModal", displayDelay: "displayDelay", autoClose: "autoClose", autoFocus: "autoFocus", restoreFocus: "restoreFocus" }, host: { attributes: { "role": "dialog" }, properties: { "attr.aria-modal": "isModal" } }, providers: [ | ||
| { provide: PopupDirective, useExisting: forwardRef(() => DialogBase) }, | ||
| { | ||
| provide: PopupDirective, | ||
| useExisting: forwardRef(() => DialogBase), | ||
| }, | ||
| ], usesInheritance: true, ngImport: i0 }); } | ||
@@ -1110,3 +1116,6 @@ } | ||
| providers: [ | ||
| { provide: PopupDirective, useExisting: forwardRef(() => DialogBase) }, | ||
| { | ||
| provide: PopupDirective, | ||
| useExisting: forwardRef(() => DialogBase), | ||
| }, | ||
| ], | ||
@@ -1113,0 +1122,0 @@ }] |
+1
-1
| { | ||
| "name": "@tailwind-ng/core", | ||
| "version": "0.20.31", | ||
| "version": "0.20.32", | ||
| "author": { | ||
@@ -5,0 +5,0 @@ "email": "w.mba@outlook.com", |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2620
0.34%224918
-0.3%