Socket
Book a DemoInstallSign in
Socket

@konturio/ui-kit

Package Overview
Dependencies
Maintainers
3
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@konturio/ui-kit

## Component Structure

5.5.1
latest
Source
npmnpm
Version published
Weekly downloads
72
-15.29%
Maintainers
3
Weekly downloads
 
Created
Source

UI Kit Component Library

Component Structure

This document lists all React components found within the ui-kit package, including those in nested directories. It also provides descriptions for utility functions.

Core Components

  • ActionsBar
  • Animation
  • AppHeader
  • Autocomplete
    • AutocompleteButton
    • AutocompleteItem
  • Button
  • ButtonGroup
  • Card
  • Checkbox
  • Details
  • Divider
  • Dropdown
    • DropdownItem
    • DropdownItems
    • DropdownPopover
    • DropdownProviderContainer
    • DropdownTrigger
  • Heading
  • Input
  • IsochroneSlider
  • LanguageSelect
  • Legend
  • LineItem
  • Logo
  • MCDALegend
  • MenuButton
  • Modal
  • ModalDialog
  • Panel
  • Popover
  • Radio
  • Rotator
  • Select
    • SelectButton
      • Placeholder
      • SelectContent
    • SelectItem
    • MultiselectChip
    • MultiselectChipWithSearch
  • Selector
  • Slider
  • Tabs
  • Text
  • Textarea
  • TimeSlider
  • Timeline
  • Toggler
  • Tooltip

Utility Components and Functions

  • component-helpers

    • Polymorphic
      • A utility for creating polymorphic components that can render as different HTML elements or other React components.
    • Descendants
      • Provides utilities for managing a list of descendant components, enabling features like keyboard navigation and focus management within composite components.
      • 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 string

Additional Notes

  • The components are styled using CSS Modules.
  • The library utilizes a descendant system to manage relationships between components.
  • The Timeline component wraps the vis-timeline library for enhanced functionality.

FAQs

Package last updated on 13 Aug 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.