@vaadin/component-base
Advanced tools
Comparing version 23.1.1 to 23.2.0-alpha1
{ | ||
"name": "@vaadin/component-base", | ||
"version": "23.1.1", | ||
"version": "23.2.0-alpha1", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
}, | ||
"gitHead": "390458d6519433a2dd502cef90da48e84573a275" | ||
"gitHead": "f226a2976c270d3d53c824f6e0a740a5d3382d91" | ||
} |
@@ -42,3 +42,3 @@ /** | ||
static get version() { | ||
return '23.1.1'; | ||
return '23.2.0-alpha1'; | ||
} | ||
@@ -45,0 +45,0 @@ |
@@ -6,4 +6,4 @@ /** | ||
*/ | ||
import { dashToCamelCase } from '@polymer/polymer/lib/utils/case-map.js'; | ||
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js'; | ||
import { generateUniqueId } from './unique-id-utils.js'; | ||
@@ -24,10 +24,3 @@ /** | ||
const prefix = slotName || 'default'; | ||
// Support dash-case slot names e.g. "error-message" | ||
const field = `${dashToCamelCase(prefix)}Id`; | ||
// Maintain the unique ID counter for a given prefix. | ||
this[field] = 1 + this[field] || 0; | ||
return `${prefix}-${host.localName}-${this[field]}`; | ||
return `${prefix}-${host.localName}-${generateUniqueId()}`; | ||
} | ||
@@ -34,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175698
56
5035
1