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

@storefront-ui/shared

Package Overview
Dependencies
Maintainers
6
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storefront-ui/shared - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

dist/vite.config.d.ts

6

CHANGELOG.md
# @storefront-ui/shared
## 2.5.1
### Patch Changes
- [#3132](https://github.com/vuestorefront/storefront-ui/pull/3132) [`19fa774`](https://github.com/vuestorefront/storefront-ui/commit/19fa774b38a05801256ced7c8af7731ea19defb9) Thanks [@Szymon-dziewonski](https://github.com/Szymon-dziewonski)! - Update dependencies
## 2.5.0

@@ -4,0 +10,0 @@

1

dist/focusVisibleManager/focusVisibleManager.d.ts
import { FocusHandler, FocusHandlerEvent, FocusModality } from './types';
export declare const focusVisibleManager: () => {

@@ -3,0 +4,0 @@ isFocusVisible: () => boolean;

3

dist/scrollable/index.d.ts

@@ -1,4 +0,5 @@

import Scrollable from './scrollable';
import { default as Scrollable } from './scrollable';
export * from './types';
export { Scrollable };
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,3 @@

import { type ScrollableOptions, type SfScrollableOnScrollData } from './types';
import { ScrollableOptions, SfScrollableOnScrollData } from './types';
export default class Scrollable {

@@ -3,0 +4,0 @@ container: HTMLElement;

@@ -1,24 +0,25 @@

import type { FocusableElement } from 'tabbable';
import { FocusableElement } from 'tabbable';
export declare const focusNextOrFirst: ({ current, focusables, event, }: {
current?: FocusableElement | undefined;
current?: FocusableElement;
focusables: FocusableElement[];
event?: KeyboardEvent | undefined;
event?: KeyboardEvent;
}) => FocusableElement | undefined;
export declare const focusPrevOrLast: ({ current, focusables, event, }: {
current?: FocusableElement | undefined;
current?: FocusableElement;
focusables: FocusableElement[];
event?: KeyboardEvent | undefined;
event?: KeyboardEvent;
}) => FocusableElement | undefined;
export declare const focusNext: ({ current, event, focusables, arrowFocusGroupSelector, }: {
current?: FocusableElement | undefined;
event?: KeyboardEvent | undefined;
current?: FocusableElement;
event?: KeyboardEvent;
focusables: FocusableElement[];
arrowFocusGroupSelector?: string | undefined;
arrowFocusGroupSelector?: string;
}) => FocusableElement | undefined;
export declare const focusPrev: ({ current, focusables, event, arrowFocusGroupSelector, }: {
current?: FocusableElement | undefined;
current?: FocusableElement;
focusables: FocusableElement[];
event?: KeyboardEvent | undefined;
arrowFocusGroupSelector?: string | undefined;
event?: KeyboardEvent;
arrowFocusGroupSelector?: string;
}) => FocusableElement | undefined;
//# sourceMappingURL=core.d.ts.map

@@ -1,6 +0,7 @@

import type { FocusableElement } from 'tabbable';
import { FocusableElement } from 'tabbable';
export declare const findPrevFocusableInGroups: (current: FocusableElement, groupElementSelector: string, focusables: FocusableElement[]) => FocusableElement | undefined;
export declare const findNextFocusableInGroups: (current: FocusableElement, groupElementSelector: string, focusables: FocusableElement[]) => FocusableElement | undefined;
export declare const focusNextOrFirstGroup: ({ current, focusables, arrowFocusGroupSelector, }: {
current?: FocusableElement | undefined;
current?: FocusableElement;
focusables: FocusableElement[];

@@ -10,3 +11,3 @@ arrowFocusGroupSelector: string;

export declare const focusPrevOrLastGroup: ({ current, focusables, arrowFocusGroupSelector, }: {
current?: FocusableElement | undefined;
current?: FocusableElement;
focusables: FocusableElement[];

@@ -13,0 +14,0 @@ arrowFocusGroupSelector: string;

@@ -1,2 +0,3 @@

import type { FocusableElement } from 'tabbable';
import { FocusableElement } from 'tabbable';
export declare const findCurrentFocusableIndex: (current: FocusableElement, focusables: FocusableElement[]) => number;

@@ -7,7 +8,7 @@ export declare const findNextFocusable: (current: FocusableElement, focusables: FocusableElement[]) => FocusableElement;

focusables: FocusableElement[];
event?: KeyboardEvent | undefined;
event?: KeyboardEvent;
}) => FocusableElement;
export declare const focusLastElement: ({ focusables, event }: {
focusables: FocusableElement[];
event?: KeyboardEvent | undefined;
event?: KeyboardEvent;
}) => FocusableElement;

@@ -14,0 +15,0 @@ export declare const focusNextElement: (current: FocusableElement, focusables: FocusableElement[]) => FocusableElement;

{
"name": "@storefront-ui/shared",
"description": "Shared set of utils and typings used by `@storefront-ui/*` packages",
"version": "2.5.0",
"version": "2.5.1",
"license": "MIT",

@@ -15,2 +15,3 @@ "sideEffects": false,

},
"type": "module",
"source": "index.ts",

@@ -27,6 +28,6 @@ "main": "dist/index.mjs",

"tabbable": "^6.1.1",
"typescript": "^4.9.5",
"vite": "^4.3.0",
"vite-plugin-dts": "^2.0.0-beta.1",
"vue-tsc": "^1.1.2"
"typescript": "^5.4.5",
"vite": "^5.2.1",
"vite-plugin-dts": "^3.9.1",
"vue-tsc": "^2.0.16"
},

@@ -33,0 +34,0 @@ "publishConfig": {

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