
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@konturio/ui-kit
Advanced tools
This document lists all React components found within the ui-kit
package, including those in nested directories. It also provides descriptions for utility functions.
component-helpers ↗
createDescendantContext
: Creates a React context for managing descendant components.DescendantProvider
: Provides the descendant context to its children.useDescendant
: A hook for registering a component as a descendant within the context.useDescendantKeyDown
: A hook for handling keyboard events within a descendant component, used for navigation.useDescendants
: A hook that provides access to the list of registered descendants.useDescendantsInit
: Initializes the descendant context.events ↗ -composeEventHandlers
: Combines multiple event handlers into a single function. Useful when you need to call both a component's internal handler and a handler passed in as a prop.
helpers ↗
focusElement
: Focuses a given DOM element.getOwnerDocument
: Gets the document that owns a given element.isRightClick
: Checks if a mouse event was a right-click.makeId
: Generates a unique ID string, optionally combining it with a prefix. Useful for creating unique IDs for ARIA attributes.noop
: A function that does nothing. Useful as a placeholder for optional callback props.hooks ↗
useComposedRefs
: Combines multiple refs (e.g., a forwarded ref and an internal ref) into a single ref. This is useful when you need to interact with a component's DOM node from both inside and outside the component.useControlledState
: A hook for managing state that can be either controlled (by props) or uncontrolled (managed internally).useForceUpdate
: Provides a function that forces a component to re-render.usePrevious
: Returns the previous value of a given variable.useStatefulRefValue
: Creates a ref whose current value is always up-to-date, avoiding stale closure issues.typecheck ↗ -isFunction
: Checks if a value is a function.
isString
: Checks if a value is stringTimeline
component wraps the vis-timeline
library for enhanced functionality.FAQs
## Component Structure
The npm package @konturio/ui-kit receives a total of 69 weekly downloads. As such, @konturio/ui-kit popularity was classified as not popular.
We found that @konturio/ui-kit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.