@lu-development/ux-patterns-react
Advanced tools
Comparing version 1.7.0-dev.202007172042.2082a8e to 1.7.0-dev.202007201254.5fc931f
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) { |
@@ -20,2 +20,5 @@ 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>>; |
{ | ||
"name": "@lu-development/ux-patterns-react", | ||
"version": "1.7.0-dev.202007172042.2082a8e", | ||
"version": "1.7.0-dev.202007201254.5fc931f", | ||
"description": "React specific wrapper for @lu-development/ux-patterns", | ||
@@ -50,3 +50,3 @@ "keywords": [], | ||
"dependencies": { | ||
"@lu-development/ux-patterns": "1.7.0-dev.202007172042.2082a8e", | ||
"@lu-development/ux-patterns": "1.7.0-dev.202007201254.5fc931f", | ||
"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
261279
2940
+ Added@lu-development/ux-patterns@1.7.0-dev.202007201254.5fc931f(transitive)
- Removed@lu-development/ux-patterns@1.7.0-dev.202007172042.2082a8e(transitive)
Updated@lu-development/ux-patterns@1.7.0-dev.202007201254.5fc931f