@lu-development/ux-patterns-react
Advanced tools
Comparing version 1.7.0-dev.202002261632.63a33b3 to 1.7.0-dev.202002261637.63a33b3
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) { |
@@ -0,0 +0,0 @@ import { defineCustomElements } from '@lu-development/ux-patterns/dist/loader'; |
@@ -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>>; |
{ | ||
"name": "@lu-development/ux-patterns-react", | ||
"version": "1.7.0-dev.202002261632.63a33b3", | ||
"version": "1.7.0-dev.202002261637.63a33b3", | ||
"description": "React specific wrapper for @lu-development/ux-patterns", | ||
@@ -36,4 +36,4 @@ "keywords": [], | ||
"np": "^5.0.1", | ||
"react": "^16.9.0", | ||
"react-dom": "^16.9.0", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"react-testing-library": "^7.0.0", | ||
@@ -40,0 +40,0 @@ "rollup": "^1.18.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246494