🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@modulz/primitives

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modulz/primitives - npm Package Compare versions

Comparing version

to
0.0.1-38

2

dist/components/useAccessibleMouseDown.d.ts

@@ -14,3 +14,3 @@ import React from 'react';

*/
export declare function useAccessibleMouseDown<T extends HTMLElement>(handler: React.MouseEventHandler<T>, { isDisabled, onMouseDown: originalOnMouseDown, onKeyDown: originalOnKeyDown, }: UseAccessibleMouseDownOptions<T>): {
export declare function useAccessibleMouseDown<T extends HTMLElement>(handler: React.MouseEventHandler<T>, { isDisabled, onMouseDown: originalOnMouseDown, onKeyDown: originalOnKeyDown }: UseAccessibleMouseDownOptions<T>): {
onMouseDown: (event: React.MouseEvent<T, MouseEvent>) => void;

@@ -17,0 +17,0 @@ onKeyDown: (event: React.KeyboardEvent<T>) => void;

@@ -13,3 +13,3 @@ import React from 'react';

*/
export declare function useRect({ refToObserve, isObserving, shouldResetWhenNotObserving, }: UseRectOptions): ClientRect | undefined;
export declare function useRect({ refToObserve, isObserving, shouldResetWhenNotObserving }: UseRectOptions): ClientRect | undefined;
export {};

@@ -19,3 +19,3 @@ import React from 'react';

};
export declare function RovingTabIndexProvider({ children, orientation, shouldLoop, }: RovingTabIndexProviderProps): JSX.Element;
export declare function RovingTabIndexProvider({ children, orientation, shouldLoop }: RovingTabIndexProviderProps): JSX.Element;
export {};

@@ -33,3 +33,3 @@ import './polyfills';

export type { RightClickMenuProps, RightClickableProps } from './components/RightClickMenu';
export type { SelectProps, OptionProps, OptionGroupProps, SelectParts, } from './components/Select';
export type { SelectProps, OptionProps, OptionGroupProps, SelectParts } from './components/Select';
export type { SelectWithCustomMenuProps } from './components/SelectWithCustomMenu';

@@ -43,3 +43,3 @@ export type { SelectWithNativeMenuProps } from './components/SelectWithNativeMenu';

export type { TableProps, TheadProps, TfootProps, TbodyProps, TrProps, ThProps, TdProps, TableParts, } from './components/Table';
export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsParts, } from './components/Tabs';
export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsParts } from './components/Tabs';
export type { TextProps, TextParts } from './components/Text';

@@ -81,3 +81,3 @@ export type { TextareaProps, TextareaParts } from './components/Textarea';

export { RightClickMenu, RightClickable } from './components/RightClickMenu';
export { Select, Option, OptionGroup, } from './components/Select';
export { Select, Option, OptionGroup } from './components/Select';
export { SelectWithCustomMenu } from './components/SelectWithCustomMenu';

@@ -90,4 +90,4 @@ export { SelectWithNativeMenu } from './components/SelectWithNativeMenu';

export { SwitchSlider } from './components/SwitchSlider';
export { Table, Thead, Tfoot, Tbody, Tr, Th, Td, } from './components/Table';
export { Tabs, TabList, Tab, TabPanel, } from './components/Tabs';
export { Table, Thead, Tfoot, Tbody, Tr, Th, Td } from './components/Table';
export { Tabs, TabList, Tab, TabPanel } from './components/Tabs';
export { Text } from './components/Text';

@@ -94,0 +94,0 @@ export { Textarea } from './components/Textarea';

@@ -19,3 +19,3 @@ /// <reference types="react" />

};
export declare function getNextSelectableIndex({ items, currentIndex, key, }: GetNextSelectableIndexOptions): number | undefined;
export declare function getNextSelectableIndex({ items, currentIndex, key }: GetNextSelectableIndexOptions): number | undefined;
export {};
{
"name": "@modulz/primitives",
"version": "0.0.1-37",
"version": "0.0.1-38",
"description": "Accessible and customisable primitives for the web",

@@ -12,3 +12,2 @@ "author": "Pedro Duarte <pedro@modulz.app>",

"types": "dist/index.d.ts",
"repository": "https://github.com/modulz/primitives",
"publishConfig": {

@@ -34,4 +33,3 @@ "access": "public"

"prettier": "prettier './**/*.{js,jsx,ts,tsx,json,yml,yaml,css,md}' --write",
"release": "yarn build && np",
"yalc-release": "yarn build && yalc publish --push"
"release": "yarn build && np"
},

@@ -93,3 +91,2 @@ "peerDependencies": {

"np": "^6.1.0",
"prettier": "^1.19.1",
"react": "^16.12.0",

@@ -104,9 +101,8 @@ "react-dom": "^16.12.0",

"ts-jest": "^25.2.0",
"typescript": "3.8.3",
"yalc": "^1.0.0-pre.35"
"typescript": "3.8.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write",
"eslint --fix",
"git add"

@@ -113,0 +109,0 @@ ],

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display