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

@lu-development/ux-patterns-react

Package Overview
Dependencies
Maintainers
6
Versions
376
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lu-development/ux-patterns-react - npm Package Compare versions

Comparing version 1.7.0-dev.202007201254.5fc931f to 1.7.0-dev.202007201438.2082a8e

0

dist/components/createComponent.d.ts
import React from 'react';
export declare const createReactComponent: <PropType, ElementType>(tagName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils").LuReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;

@@ -0,0 +0,0 @@ var __rest = (this && this.__rest) || function (s, e) {

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

3

dist/components/index.js

@@ -20,5 +20,2 @@ import { defineCustomElements } from '@lu-development/ux-patterns/dist/loader';

export const LuListboxOption = createReactComponent('lu-listbox-option');
export const LuFormGroup = createReactComponent('lu-form-group');
export const LuFormValidation = createReactComponent('lu-form-validation');
export const LuLabel = createReactComponent('lu-label');
//# sourceMappingURL=index.js.map

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

@@ -0,0 +0,0 @@ import { modalController } from '@lu-development/ux-patterns';

@@ -0,0 +0,0 @@ export interface LuReactProps {

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ export declare const attachEventProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;

@@ -0,0 +0,0 @@ import { camelToDashCase } from './case';

@@ -0,0 +0,0 @@ export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;

@@ -0,0 +0,0 @@ import { camelToDashCase } from './case';

export declare const dashToPascalCase: (str: string) => string;
export declare const camelToDashCase: (str: string) => string;
export const dashToPascalCase = (str) => str.toLowerCase().split('-').map(segment => segment.charAt(0).toUpperCase() + segment.slice(1)).join('');
export const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
//# sourceMappingURL=case.js.map
export declare const isDevMode: () => boolean;
export declare const deprecationWarning: (key: string, message: string) => void;

@@ -0,0 +0,0 @@ export const isDevMode = () => {

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import React from 'react';

export * from './components';
export * from './types';
export { setupConfig, LibertyPatternsConfig, matchBreakpoint, sleep } from '@lu-development/ux-patterns';
export * from './components';
export { setupConfig, matchBreakpoint, sleep } from '@lu-development/ux-patterns';
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;

4

package.json
{
"name": "@lu-development/ux-patterns-react",
"version": "1.7.0-dev.202007201254.5fc931f",
"version": "1.7.0-dev.202007201438.2082a8e",
"description": "React specific wrapper for @lu-development/ux-patterns",

@@ -50,3 +50,3 @@ "keywords": [],

"dependencies": {
"@lu-development/ux-patterns": "1.7.0-dev.202007201254.5fc931f",
"@lu-development/ux-patterns": "1.7.0-dev.202007201438.2082a8e",
"tslib": "*"

@@ -53,0 +53,0 @@ },

## @lu-development/ux-patterns-react
These are React specific building blocks on top of @lu-development/ux-patterns components/services.

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

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