New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@awsui/component-toolkit

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awsui/component-toolkit - npm Package Compare versions

Comparing version 1.0.0-beta.76 to 1.0.0-beta.77

1

dom/index.d.ts
export { default as findUpUntil } from './find-up-until';
export { default as nodeContains } from './node-contains';
export { default as nodeBelongs } from './node-belongs';

@@ -5,1 +5,2 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

export { default as nodeContains } from './node-contains';
export { default as nodeBelongs } from './node-belongs';

2

dom/node-belongs.d.ts

@@ -8,2 +8,2 @@ /**

*/
export declare function nodeBelongs(container: Node | null, target: Node | EventTarget | null): boolean;
export default function nodeBelongs(container: Node | null, target: Node | EventTarget | null): boolean;

@@ -12,3 +12,3 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

*/
export function nodeBelongs(container, target) {
export default function nodeBelongs(container, target) {
var _a;

@@ -15,0 +15,0 @@ if (!isNode(target)) {

@@ -15,1 +15,5 @@ export { useComponentMetadata, COMPONENT_METADATA_KEY } from './base-component/component-metadata';

export { getGlobalFlag } from './global-flags';
export { SingleTabStopNavigationAPI, SingleTabStopNavigationProvider, useSingleTabStopNavigation, } from './single-tab-stop';
export { isFocusable, getAllFocusables, getFirstFocusable, getLastFocusable } from './focus-lock-utils/utils';
export { default as handleKey } from './utils/handle-key';
export { default as circleIndex } from './utils/circle-index';

@@ -17,1 +17,5 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

export { getGlobalFlag } from './global-flags';
export { SingleTabStopNavigationProvider, useSingleTabStopNavigation, } from './single-tab-stop';
export { isFocusable, getAllFocusables, getFirstFocusable, getLastFocusable } from './focus-lock-utils/utils';
export { default as handleKey } from './utils/handle-key';
export { default as circleIndex } from './utils/circle-index';
{
"commit": "6f710c74d06d4fdd4729cbd9b89ea3109ec51ff0"
"commit": "3c08c6f77e60b69344fd3eafb9efde7a220d1896"
}
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import React, { createContext, forwardRef, useContext, useImperativeHandle, useLayoutEffect, useRef, useState, } from 'react';
import { nodeBelongs } from '../../dom/node-belongs';
import nodeBelongs from '../../dom/node-belongs';
export const defaultValue = {

@@ -6,0 +6,0 @@ navigationActive: false,

@@ -1,1 +0,1 @@

export declare function circleIndex(index: number, [from, to]: [number, number]): number;
export default function circleIndex(index: number, [from, to]: [number, number]): number;
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Returns given index if it is in range or the opposite range boundary otherwise.
export function circleIndex(index, [from, to]) {
export default function circleIndex(index, [from, to]) {
if (index < from) {

@@ -6,0 +6,0 @@ return to;

{
"name": "@awsui/component-toolkit",
"version": "1.0.0-beta.76",
"version": "1.0.0-beta.77",
"files": [

@@ -5,0 +5,0 @@ "container-queries",

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