Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-web-components/shared

Package Overview
Dependencies
Maintainers
7
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/shared - npm Package Compare versions

Comparing version 0.12.11 to 0.13.0

test/focusable.test.js

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc