@storefront-ui/shared
Advanced tools
Comparing version 2.5.0 to 2.5.1
# @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 @@ |
import { FocusHandler, FocusHandlerEvent, FocusModality } from './types'; | ||
export declare const focusVisibleManager: () => { | ||
@@ -3,0 +4,0 @@ isFocusVisible: () => boolean; |
@@ -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
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
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
59543
78
785
Yes