Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
gertvdb committed Jul 9, 2024
1 parent aeec39a commit 38d76e0
Show file tree
Hide file tree
Showing 10 changed files with 141 additions and 233 deletions.
51 changes: 24 additions & 27 deletions build/index.cjs

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions build/index.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ interface ViewportSize {
}
declare function useViewportSize(): ViewportSize;

type ShortcutKeys = string[];
interface ShortcutOptions {
overrideSystem?: boolean;
ignoreInputFields?: boolean;
}
declare function useKeyboardShortcuts(keys: ShortcutKeys, callback: (shortcutKeys: ShortcutKeys) => void, options: ShortcutOptions): void;

declare function useMeasure(): [
(node: Element) => void,
{
Expand Down Expand Up @@ -132,4 +125,4 @@ declare class BrowserAccessibilityPreferences {

declare const useBrowserAccessibilityPreferences: () => BrowserAccessibilityPreferences;

export { BrowserAccessibilityPreferences, CookieStorage, type ScrollState, type ScrollToArgs, useAppleTouchFavicon, useBrowserAccessibilityPreferences, useCopyToClipboard, useDebounce, useDocumentTitle, useEventListener, useFavicon, useGeolocation, useHover, useIcoFavicon, useIdle, useKeyboardShortcuts, useLockBodyScroll, useLongPress, useMeasure, useMediaQuery, useOnScreen, usePrefersDarkMode, usePrefersHighContast, usePrefersLowContrast, usePrefersReducedMotion, usePrefersReducedTransparancy, useScript, useStorage, useSvgFavicon, useThrottle, useViewportSize, useVisibilityChange, useWindowScroll };
export { BrowserAccessibilityPreferences, CookieStorage, type ScrollState, type ScrollToArgs, useAppleTouchFavicon, useBrowserAccessibilityPreferences, useCopyToClipboard, useDebounce, useDocumentTitle, useEventListener, useFavicon, useGeolocation, useHover, useIcoFavicon, useIdle, useLockBodyScroll, useLongPress, useMeasure, useMediaQuery, useOnScreen, usePrefersDarkMode, usePrefersHighContast, usePrefersLowContrast, usePrefersReducedMotion, usePrefersReducedTransparancy, useScript, useStorage, useSvgFavicon, useThrottle, useViewportSize, useVisibilityChange, useWindowScroll };
9 changes: 1 addition & 8 deletions build/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ interface ViewportSize {
}
declare function useViewportSize(): ViewportSize;

type ShortcutKeys = string[];
interface ShortcutOptions {
overrideSystem?: boolean;
ignoreInputFields?: boolean;
}
declare function useKeyboardShortcuts(keys: ShortcutKeys, callback: (shortcutKeys: ShortcutKeys) => void, options: ShortcutOptions): void;

declare function useMeasure(): [
(node: Element) => void,
{
Expand Down Expand Up @@ -132,4 +125,4 @@ declare class BrowserAccessibilityPreferences {

declare const useBrowserAccessibilityPreferences: () => BrowserAccessibilityPreferences;

export { BrowserAccessibilityPreferences, CookieStorage, type ScrollState, type ScrollToArgs, useAppleTouchFavicon, useBrowserAccessibilityPreferences, useCopyToClipboard, useDebounce, useDocumentTitle, useEventListener, useFavicon, useGeolocation, useHover, useIcoFavicon, useIdle, useKeyboardShortcuts, useLockBodyScroll, useLongPress, useMeasure, useMediaQuery, useOnScreen, usePrefersDarkMode, usePrefersHighContast, usePrefersLowContrast, usePrefersReducedMotion, usePrefersReducedTransparancy, useScript, useStorage, useSvgFavicon, useThrottle, useViewportSize, useVisibilityChange, useWindowScroll };
export { BrowserAccessibilityPreferences, CookieStorage, type ScrollState, type ScrollToArgs, useAppleTouchFavicon, useBrowserAccessibilityPreferences, useCopyToClipboard, useDebounce, useDocumentTitle, useEventListener, useFavicon, useGeolocation, useHover, useIcoFavicon, useIdle, useLockBodyScroll, useLongPress, useMeasure, useMediaQuery, useOnScreen, usePrefersDarkMode, usePrefersHighContast, usePrefersLowContrast, usePrefersReducedMotion, usePrefersReducedTransparancy, useScript, useStorage, useSvgFavicon, useThrottle, useViewportSize, useVisibilityChange, useWindowScroll };
9 changes: 4 additions & 5 deletions build/index.js

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tactics/browser",
"version": "0.0.4",
"version": "0.0.5",
"description": "Utilities to help ease use of the web browser in javascript",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down Expand Up @@ -39,8 +39,7 @@
"js-cookie": "^3.0.5",
"prettier": "^3.3.2",
"react": "^18.3.1",
"typescript": "^5.5.2",
"use-keyboard-shortcut": "^1.1.6"
"typescript": "^5.5.2"
},
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
}
Loading

0 comments on commit 38d76e0

Please sign in to comment.