@spectrum-web-components/shared
Advanced tools
Comparing version 0.12.11 to 0.13.0
{ | ||
"name": "@spectrum-web-components/shared", | ||
"version": "0.12.11", | ||
"version": "0.13.0", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.4.6", | ||
"@spectrum-web-components/base": "^0.5.0", | ||
"focus-visible": "^5.1.0", | ||
@@ -53,3 +53,3 @@ "tslib": "^2.0.0" | ||
"sideEffects": false, | ||
"gitHead": "9c7ac25264762a9b7bad2ef3f111d5eb613f9d05" | ||
"gitHead": "7ce77352f6894043bceac9ef92b21e5f85420969" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { SpectrumElement, PropertyValues } from '@spectrum-web-components/base'; | ||
import { PropertyValues, SpectrumElement } from '@spectrum-web-components/base'; | ||
declare type DisableableElement = HTMLElement & { | ||
@@ -3,0 +3,0 @@ disabled?: boolean; |
@@ -13,3 +13,4 @@ import { __decorate } from "tslib"; | ||
*/ | ||
import { SpectrumElement, property, } from '@spectrum-web-components/base'; | ||
import { SpectrumElement } from '@spectrum-web-components/base'; | ||
import { property } from '@spectrum-web-components/base/src/decorators.js'; | ||
import { FocusVisiblePolyfillMixin } from './focus-visible.js'; | ||
@@ -16,0 +17,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { UpdatingElement, TemplateResult } from '@spectrum-web-components/base'; | ||
import { ReactiveElement, 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<UpdatingElement>>(constructor: T): T & Constructor<LikeAnchorInterface>; | ||
export declare function LikeAnchor<T extends Constructor<ReactiveElement>>(constructor: T): T & Constructor<LikeAnchorInterface>; | ||
export {}; |
@@ -13,3 +13,5 @@ import { __decorate } from "tslib"; | ||
*/ | ||
import { property, html, ifDefined, } from '@spectrum-web-components/base'; | ||
import { html, } from '@spectrum-web-components/base'; | ||
import { property } from '@spectrum-web-components/base/src/decorators.js'; | ||
import { ifDefined } from '@spectrum-web-components/base/src/directives.js'; | ||
export function LikeAnchor(constructor) { | ||
@@ -16,0 +18,0 @@ class LikeAnchorElement extends constructor { |
@@ -1,2 +0,2 @@ | ||
import { UpdatingElement } from '@spectrum-web-components/base'; | ||
import { ReactiveElement } 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<UpdatingElement>>(constructor: T, lightDomSelector: string | string[]): T & Constructor<SlotPresenceObservingInterface>; | ||
export declare function ObserveSlotPresence<T extends Constructor<ReactiveElement>>(constructor: T, lightDomSelector: string | string[]): T & Constructor<SlotPresenceObservingInterface>; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { UpdatingElement } from '@spectrum-web-components/base'; | ||
import { ReactiveElement } 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<UpdatingElement>>(constructor: T, slotSelector?: string): T & Constructor<SlotTextObservingInterface>; | ||
export declare function ObserveSlotText<T extends Constructor<ReactiveElement>>(constructor: T, slotSelector?: string): T & Constructor<SlotTextObservingInterface>; | ||
export {}; |
import { __decorate } from "tslib"; | ||
/* | ||
Copyright 2020 Adobe. All rights reserved. | ||
This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. You may obtain a copy | ||
of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed under | ||
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
OF ANY KIND, either express or implied. See the License for the specific language | ||
governing permissions and limitations under the License. | ||
*/ | ||
import { queryAssignedNodes, property, } from '@spectrum-web-components/base'; | ||
import { property, queryAssignedNodes, } from '@spectrum-web-components/base/src/decorators.js'; | ||
const slotElementObserver = Symbol('slotElementObserver'); | ||
// Fix needed for: https://github.com/lit/lit/issues/1789 | ||
const assignedNodesList = Symbol('assignedNodes'); | ||
@@ -16,0 +6,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 3 instances 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
117506
39
930
8
+ Added@lit-labs/ssr-dom-shim@1.2.1(transitive)
+ Added@lit/reactive-element@1.6.3(transitive)
+ Added@spectrum-web-components/base@0.5.8(transitive)
+ Added@types/trusted-types@2.0.7(transitive)
+ Addedlit@2.8.0(transitive)
+ Addedlit-element@3.3.3(transitive)
+ Addedlit-html@2.8.0(transitive)
- Removed@spectrum-web-components/base@0.4.6(transitive)
- Removedlit-element@2.5.1(transitive)
- Removedlit-html@1.4.1(transitive)