beesoft-components 0.2.13 → 0.2.16
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.
- package/build/index.cjs.js +17515 -244
- package/build/index.js +17515 -244
- package/build/index.min.js +13 -5
- package/build/index.min.js.gz +0 -0
- package/package.json +1 -1
- package/types/src/components/common/beesoft-transition/beesoft-transition.component.d.ts +2 -1
- package/types/src/components/common-functions.d.ts +1 -0
- package/types/src/components/form/content-editable-input/content-editable-input.component.d.ts +1 -0
- package/types/src/components/form/date-time/date-time.reducer.d.ts +10 -7
- package/types/src/components/overlay/overlay-panel/overlay-panel.component.d.ts +3 -1
package/build/index.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -12,10 +12,11 @@ export interface BeeSoftTransitionProps {
|
|
|
12
12
|
transitionStyles?: Record<string, React.CSSProperties>;
|
|
13
13
|
showTransitionOptions?: string;
|
|
14
14
|
hideTransitionOptions?: string;
|
|
15
|
+
unmountOnExit?: boolean;
|
|
15
16
|
onEntering?: (node: HTMLElement, isAppearing: boolean) => void;
|
|
16
17
|
onEntered?: (node: HTMLElement, isAppearing: boolean) => void;
|
|
17
18
|
onExit?: (node: HTMLElement) => void;
|
|
18
19
|
onExited?: (node: HTMLElement) => void;
|
|
19
20
|
children: (childProps: BeeSoftChildrenTransitionProps) => ReactNode | ReactNodeArray;
|
|
20
21
|
}
|
|
21
|
-
export default function BeeSoftTransition({ start, timeout, defaultStyle, transitionStyles, showTransitionOptions, hideTransitionOptions, onEntering, onEntered, onExit, onExited, children, }: BeeSoftTransitionProps): JSX.Element;
|
|
22
|
+
export default function BeeSoftTransition({ start, timeout, defaultStyle, transitionStyles, showTransitionOptions, hideTransitionOptions, unmountOnExit, onEntering, onEntered, onExit, onExited, children, }: BeeSoftTransitionProps): JSX.Element;
|
|
@@ -7,3 +7,4 @@ export declare function isElementWithinTarget(element: HTMLElement, target: HTML
|
|
|
7
7
|
export declare function elementHasAllStyles(element: HTMLElement, styles: Record<string, string | number>): boolean;
|
|
8
8
|
export declare function elementHasAnyStyle(element: HTMLElement, styles: Record<string, string | number>): boolean;
|
|
9
9
|
export declare function getElementByCssStylesRecursive(element: HTMLElement, styles: Record<string, string | number>, matchAllStyles?: boolean): any;
|
|
10
|
+
export declare function getAllElementStyleValuesRecursive(element: HTMLElement, style: string, action: (styleValue: string) => boolean, currentValues?: Array<string>): Array<string>;
|
package/types/src/components/form/content-editable-input/content-editable-input.component.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface ContentEditableInputProps {
|
|
|
12
12
|
isSingleLine?: boolean;
|
|
13
13
|
allowSingleLineScroll?: boolean;
|
|
14
14
|
onFocus?: (event: React.FocusEvent) => void;
|
|
15
|
+
onBlur?: (event: React.FocusEvent) => void;
|
|
15
16
|
onInput?: (event: React.FormEvent) => void;
|
|
16
17
|
onElementCreate?: (element: HTMLElement) => void;
|
|
17
18
|
onLeftElementClick?: (event: React.MouseEvent) => void;
|
|
@@ -3,13 +3,16 @@ export declare enum DateTimeActionType {
|
|
|
3
3
|
MonthSelector = 1,
|
|
4
4
|
YearSelector = 2,
|
|
5
5
|
TimeSelector = 3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
DateRangeSelector = 4,
|
|
7
|
+
SetViewDate = 5,
|
|
8
|
+
SetSelectedDate = 6,
|
|
9
|
+
SetSelectedDateRange = 7,
|
|
10
|
+
SetSelectedStartDate = 8,
|
|
11
|
+
SetSelectedEndDate = 9,
|
|
12
|
+
ResetSelectedDateChanged = 10,
|
|
13
|
+
ResetSelectedDateRangeChanged = 11,
|
|
14
|
+
ClearDates = 12,
|
|
15
|
+
InitializeDates = 13
|
|
13
16
|
}
|
|
14
17
|
export interface DateTimeState {
|
|
15
18
|
currentSelector: DateTimeActionType;
|
|
@@ -6,6 +6,8 @@ export interface OverlayPanelProps {
|
|
|
6
6
|
shouldTargetCloseOverlay?: boolean;
|
|
7
7
|
shouldMatchTargetWidth?: boolean;
|
|
8
8
|
shouldScrollCloseOverlay?: boolean;
|
|
9
|
+
shouldCheckZIndex?: boolean;
|
|
10
|
+
unmountWhenHidden?: boolean;
|
|
9
11
|
appendTo?: HTMLElement;
|
|
10
12
|
transitionDuration?: number;
|
|
11
13
|
showTransitionOptions?: string;
|
|
@@ -14,4 +16,4 @@ export interface OverlayPanelProps {
|
|
|
14
16
|
hidden?: () => void;
|
|
15
17
|
children: React.ReactNode;
|
|
16
18
|
}
|
|
17
|
-
export default function OverlayPanel({ visible, target, shouldTargetCloseOverlay, shouldMatchTargetWidth, shouldScrollCloseOverlay, appendTo, transitionDuration, showTransitionOptions, hideTransitionOptions, shown, hidden, markupCreated, children, }: OverlayPanelProps & MarkupEvents): React.ReactPortal;
|
|
19
|
+
export default function OverlayPanel({ visible, target, shouldTargetCloseOverlay, shouldMatchTargetWidth, shouldScrollCloseOverlay, shouldCheckZIndex, unmountWhenHidden, appendTo, transitionDuration, showTransitionOptions, hideTransitionOptions, shown, hidden, markupCreated, children, }: OverlayPanelProps & MarkupEvents): React.ReactPortal;
|