@watermarkinsights/ripple-react 5.13.0-alpha.4 → 5.13.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/package.json +2 -2
  2. package/dist/components.js +0 -472
  3. package/dist/components.js.map +0 -1
  4. package/dist/react-component-lib/createComponent.js +0 -69
  5. package/dist/react-component-lib/createComponent.js.map +0 -1
  6. package/dist/react-component-lib/createOverlayComponent.js +0 -97
  7. package/dist/react-component-lib/createOverlayComponent.js.map +0 -1
  8. package/dist/react-component-lib/index.js +0 -3
  9. package/dist/react-component-lib/index.js.map +0 -1
  10. package/dist/react-component-lib/interfaces.js +0 -2
  11. package/dist/react-component-lib/interfaces.js.map +0 -1
  12. package/dist/react-component-lib/utils/attachProps.js +0 -92
  13. package/dist/react-component-lib/utils/attachProps.js.map +0 -1
  14. package/dist/react-component-lib/utils/case.js +0 -7
  15. package/dist/react-component-lib/utils/case.js.map +0 -1
  16. package/dist/react-component-lib/utils/dev.js +0 -13
  17. package/dist/react-component-lib/utils/dev.js.map +0 -1
  18. package/dist/react-component-lib/utils/index.js +0 -31
  19. package/dist/react-component-lib/utils/index.js.map +0 -1
  20. package/dist/types/components.d.ts +0 -308
  21. package/dist/types/react-component-lib/createComponent.d.ts +0 -10
  22. package/dist/types/react-component-lib/createOverlayComponent.d.ts +0 -21
  23. package/dist/types/react-component-lib/index.d.ts +0 -2
  24. package/dist/types/react-component-lib/interfaces.d.ts +0 -29
  25. package/dist/types/react-component-lib/utils/attachProps.d.ts +0 -9
  26. package/dist/types/react-component-lib/utils/case.d.ts +0 -2
  27. package/dist/types/react-component-lib/utils/dev.d.ts +0 -2
  28. package/dist/types/react-component-lib/utils/index.d.ts +0 -10
@@ -1,29 +0,0 @@
1
- export interface EventEmitter<T = any> {
2
- emit: (data?: T) => CustomEvent<T>;
3
- }
4
- export interface StyleReactProps {
5
- class?: string;
6
- className?: string;
7
- style?: {
8
- [key: string]: any;
9
- };
10
- }
11
- export interface OverlayEventDetail<T = any> {
12
- data?: T;
13
- role?: string;
14
- }
15
- export interface OverlayInterface {
16
- el: HTMLElement;
17
- animated: boolean;
18
- keyboardClose: boolean;
19
- overlayIndex: number;
20
- presented: boolean;
21
- enterAnimation?: any;
22
- leaveAnimation?: any;
23
- didPresent: EventEmitter<void>;
24
- willPresent: EventEmitter<void>;
25
- willDismiss: EventEmitter<OverlayEventDetail>;
26
- didDismiss: EventEmitter<OverlayEventDetail>;
27
- present(): Promise<void>;
28
- dismiss(data?: any, role?: string): Promise<boolean>;
29
- }
@@ -1,9 +0,0 @@
1
- export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
2
- export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
3
- export declare const transformReactEventName: (eventNameSuffix: string) => string;
4
- export declare const isCoveredByReact: (eventNameSuffix: string) => boolean;
5
- export declare const syncEvent: (node: Element & {
6
- __events?: {
7
- [key: string]: ((e: Event) => any) | undefined;
8
- };
9
- }, eventName: string, newEventHandler?: (e: Event) => any) => void;
@@ -1,2 +0,0 @@
1
- export declare const dashToPascalCase: (str: string) => string;
2
- export declare const camelToDashCase: (str: string) => string;
@@ -1,2 +0,0 @@
1
- export declare const isDevMode: () => boolean;
2
- export declare const deprecationWarning: (key: string, message: string) => void;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { StyleReactProps } from '../interfaces';
3
- export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
- export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
5
- export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
6
- export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
7
- export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
8
- export declare const defineCustomElement: (tagName: string, customElement: any) => void;
9
- export * from './attachProps';
10
- export * from './case';