Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ukic/react

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ukic/react - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

1

dist/components.d.ts

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

export declare const IcDivider: import("react").ForwardRefExoticComponent<JSX.IcDivider & Omit<import("react").HTMLAttributes<HTMLIcDividerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcDividerElement>>;
export declare const IcEmptyState: import("react").ForwardRefExoticComponent<JSX.IcEmptyState & Omit<import("react").HTMLAttributes<HTMLIcEmptyStateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcEmptyStateElement>>;
export declare const IcFooter: import("react").ForwardRefExoticComponent<JSX.IcFooter & Omit<import("react").HTMLAttributes<HTMLIcFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcFooterElement>>;

@@ -19,0 +20,0 @@ export declare const IcFooterLink: import("react").ForwardRefExoticComponent<JSX.IcFooterLink & Omit<import("react").HTMLAttributes<HTMLIcFooterLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcFooterLinkElement>>;

@@ -21,2 +21,3 @@ /* eslint-disable */

export const IcDivider = /*@__PURE__*/ createReactComponent('ic-divider');
export const IcEmptyState = /*@__PURE__*/ createReactComponent('ic-empty-state');
export const IcFooter = /*@__PURE__*/ createReactComponent('ic-footer');

@@ -23,0 +24,0 @@ export const IcFooterLink = /*@__PURE__*/ createReactComponent('ic-footer-link');

export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
/**
* Transforms a React event name to a browser event name.
*/
export declare const transformReactEventName: (eventNameSuffix: string) => string;
/**
* Checks if an event is supported in the current execution environment.

@@ -5,0 +9,0 @@ * @license Modernizr 3.0.0pre (Custom Build) | MIT

@@ -61,2 +61,12 @@ import { camelToDashCase } from './case';

/**
* Transforms a React event name to a browser event name.
*/
export const transformReactEventName = (eventNameSuffix) => {
switch (eventNameSuffix) {
case 'doubleclick':
return 'dblclick';
}
return eventNameSuffix;
};
/**
* Checks if an event is supported in the current execution environment.

@@ -70,3 +80,3 @@ * @license Modernizr 3.0.0pre (Custom Build) | MIT

else {
const eventName = 'on' + eventNameSuffix;
const eventName = 'on' + transformReactEventName(eventNameSuffix);
let isSupported = eventName in document;

@@ -73,0 +83,0 @@ if (!isSupported) {

10

package.json
{
"name": "@ukic/react",
"sideEffects": false,
"version": "2.2.0",
"version": "2.3.0",
"description": "React-wrapped web components compiled using StencilJS",

@@ -25,8 +25,8 @@ "scripts": {

"dependencies": {
"@ukic/fonts": "^2.2.0",
"@ukic/web-components": "^2.2.0"
"@ukic/fonts": "^2.3.0",
"@ukic/web-components": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@stencil/react-output-target": "^0.4.0",
"@stencil/react-output-target": "^0.5.3",
"@storybook/addon-a11y": "^6.4.8",

@@ -70,3 +70,3 @@ "@storybook/addon-actions": "^6.4.8",

"license": "MIT",
"gitHead": "c6d9d32d9d0dbdd8c263b06af05e1da6183c1efe"
"gitHead": "e6d137cee23deba84269b3dfb2f62225153c8db6"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc