Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@progress/kendo-react-common
Advanced tools
Kendo UI for React Common Utilities package
@progress/kendo-react-common is a utility package that provides common functionalities and utilities used across various KendoReact components. It includes helper functions, constants, and other shared resources that facilitate the development of KendoReact applications.
ClassNames Utility
The classNames utility helps in conditionally joining class names together. This is particularly useful for dynamically applying styles based on component state.
import { classNames } from '@progress/kendo-react-common';
const buttonClass = classNames('k-button', { 'k-primary': isPrimary, 'k-disabled': isDisabled });
console.log(buttonClass); // Outputs: 'k-button k-primary' or 'k-button k-disabled' based on the state
Guid Utility
The guid utility generates a unique identifier, which can be used for elements that require unique IDs, such as form elements or dynamically created components.
import { guid } from '@progress/kendo-react-common';
const uniqueId = guid();
console.log(uniqueId); // Outputs a unique GUID string
Draggable Component
The Draggable component provides drag-and-drop functionality. It can be used to make any element draggable and handle drag events.
import { Draggable } from '@progress/kendo-react-common';
const DraggableComponent = () => (
<Draggable onDrag={(e) => console.log('Dragging', e)}>
<div>Drag me!</div>
</Draggable>
);
The 'classnames' package is a popular utility for conditionally joining class names together. It is similar to the classNames utility in @progress/kendo-react-common but is more widely used and can be integrated into any React project.
The 'uuid' package is a robust solution for generating unique identifiers (UUIDs). It offers more options and configurations compared to the guid utility in @progress/kendo-react-common.
The 'react-draggable' package provides comprehensive drag-and-drop functionality for React components. It offers more features and customization options compared to the Draggable component in @progress/kendo-react-common.
This package is part of the Kendo UI for React suite.
This is commercial software. To use it, you need to agree to the Telerik End User License Agreement for Kendo UI Complete. If you do not own a commercial license, this file shall be governed by the trial license terms.
All available Kendo UI commercial licenses may be obtained at http://www.telerik.com/purchase/kendo-ui.
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.
FAQs
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
The npm package @progress/kendo-react-common receives a total of 162,968 weekly downloads. As such, @progress/kendo-react-common popularity was classified as popular.
We found that @progress/kendo-react-common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.