@spectrum-web-components/shared
Advanced tools
Comparing version 0.12.10-lit-next.0 to 0.12.10
{ | ||
"name": "@spectrum-web-components/shared", | ||
"version": "0.12.10-lit-next.0+aad74d6ac", | ||
"version": "0.12.10", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.4.6-lit-next.184+aad74d6ac", | ||
"@spectrum-web-components/base": "^0.4.5", | ||
"focus-visible": "^5.1.0", | ||
@@ -53,3 +53,3 @@ "tslib": "^2.0.0" | ||
"sideEffects": false, | ||
"gitHead": "aad74d6ac41d8450aee82d73aaf58ab949b72a00" | ||
"gitHead": "12d891f3dc85e8de641804d8efc9ca06b7fdee2d" | ||
} |
@@ -28,3 +28,3 @@ ## Description | ||
The `Focusable` subclass of `LitElement` adds some helpers method and lifecycle coverage in order to support passing focus to a container element inside of a custom element. The Focusable base class handles tabindex setting into shadowed elements automatically and is based heavily on the aybolit delegate-focus-mixin at https://github.com/web-padawan/aybolit/blob/master/packages/core/src/mixins/delegate-focus-mixin.js | ||
The `Focusable` subclass of `LitElement` adds some helpers method and lifecycle coverage in order to support passing focus to a container element inside of a custom element. The Focusable base class handles tabindex setting into shadowed elements automatically and is based heavily on the [aybolit delegate-focus-mixin](https://github.com/web-padawan/aybolit/blob/master/packages/core/src/mixins/delegate-focus-mixin.js). | ||
@@ -31,0 +31,0 @@ ```javascript |
@@ -0,1 +1,2 @@ | ||
export * from './first-focusable-in.js'; | ||
export * from './focus-visible.js'; | ||
@@ -2,0 +3,0 @@ export * from './focusable.js'; |
@@ -12,2 +12,3 @@ /* | ||
*/ | ||
export * from './first-focusable-in.js'; | ||
export * from './focus-visible.js'; | ||
@@ -14,0 +15,0 @@ export * from './focusable.js'; |
@@ -1,2 +0,2 @@ | ||
import { ReactiveElement, TemplateResult } from '@spectrum-web-components/base'; | ||
import { UpdatingElement, TemplateResult } from '@spectrum-web-components/base'; | ||
declare type Constructor<T = Record<string, unknown>> = { | ||
@@ -22,3 +22,3 @@ new (...args: any[]): T; | ||
} | ||
export declare function LikeAnchor<T extends Constructor<ReactiveElement>>(constructor: T): T & Constructor<LikeAnchorInterface>; | ||
export declare function LikeAnchor<T extends Constructor<UpdatingElement>>(constructor: T): T & Constructor<LikeAnchorInterface>; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { ReactiveElement } from '@spectrum-web-components/base'; | ||
import { UpdatingElement } from '@spectrum-web-components/base'; | ||
declare type Constructor<T = Record<string, unknown>> = { | ||
@@ -11,3 +11,3 @@ new (...args: any[]): T; | ||
} | ||
export declare function ObserveSlotPresence<T extends Constructor<ReactiveElement>>(constructor: T, lightDomSelector: string | string[]): T & Constructor<SlotPresenceObservingInterface>; | ||
export declare function ObserveSlotPresence<T extends Constructor<UpdatingElement>>(constructor: T, lightDomSelector: string | string[]): T & Constructor<SlotPresenceObservingInterface>; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { ReactiveElement } from '@spectrum-web-components/base'; | ||
import { UpdatingElement } from '@spectrum-web-components/base'; | ||
declare type Constructor<T = Record<string, unknown>> = { | ||
@@ -10,3 +10,3 @@ new (...args: any[]): T; | ||
} | ||
export declare function ObserveSlotText<T extends Constructor<ReactiveElement>>(constructor: T, slotSelector?: string): T & Constructor<SlotTextObservingInterface>; | ||
export declare function ObserveSlotText<T extends Constructor<UpdatingElement>>(constructor: T, slotSelector?: string): T & Constructor<SlotTextObservingInterface>; | ||
export {}; |
@@ -15,3 +15,2 @@ import { __decorate } from "tslib"; | ||
const slotElementObserver = Symbol('slotElementObserver'); | ||
// Fix needed for: https://github.com/lit/lit/issues/1789 | ||
const assignedNodesList = Symbol('assignedNodes'); | ||
@@ -18,0 +17,0 @@ const startObserving = Symbol('startObserving'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
94894
31
755
0
5
60