@oliasoft-open-source/react-ui-library 8.0.0-beta-11 → 8.0.0-beta-12
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/dist/components/menu/layer/layer.d.ts +2 -4
- package/dist/components/menu/layer/layer.d.ts.map +1 -1
- package/dist/components/menu/layer/option.d.ts +1 -2
- package/dist/components/menu/layer/option.d.ts.map +1 -1
- package/dist/components/menu/layer/section.d.ts +3 -7
- package/dist/components/menu/layer/section.d.ts.map +1 -1
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/global.css +1 -1
- package/dist/helpers/overlay-trigger/aria-overlay-popover.d.ts +20 -0
- package/dist/helpers/overlay-trigger/aria-overlay-popover.d.ts.map +1 -0
- package/dist/helpers/overlay-trigger/index.d.ts +2 -0
- package/dist/helpers/overlay-trigger/index.d.ts.map +1 -1
- package/dist/index.js +1711 -1741
- package/package.json +1 -1
- package/dist/components/menu/index.d.ts +0 -4
- package/dist/components/menu/index.d.ts.map +0 -1
- package/dist/components/menu/menu-popover.d.ts +0 -12
- package/dist/components/menu/menu-popover.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { TEmpty, TStringOrNumber } from '../../../typings/common-type-definitions';
|
|
3
3
|
import { IMenuSection, IMenuShowAllButton } from '../menu.interface';
|
|
4
4
|
export interface IMenuLayerProps {
|
|
@@ -7,11 +7,9 @@ export interface IMenuLayerProps {
|
|
|
7
7
|
width?: TStringOrNumber;
|
|
8
8
|
closeOnOptionClick?: boolean;
|
|
9
9
|
close?: TEmpty;
|
|
10
|
-
closeParent?: TEmpty;
|
|
11
10
|
maxHeight?: TStringOrNumber;
|
|
12
11
|
showAllButton?: IMenuShowAllButton;
|
|
13
12
|
testId?: string;
|
|
14
|
-
triggerRef?: React.RefObject<HTMLElement | null>;
|
|
15
13
|
}
|
|
16
|
-
export declare const Layer: ({ sections, isNested, width, closeOnOptionClick, close,
|
|
14
|
+
export declare const Layer: ({ sections, isNested, width, closeOnOptionClick, close, maxHeight, showAllButton, testId, }: IMenuLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=layer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/layer/layer.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/layer/layer.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAkB,SAAS,EAAY,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAK1E,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIrE,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,YAAY,EAAE,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAuED,eAAO,MAAM,KAAK,GAAI,6FASnB,eAAe,4CA2DjB,CAAC"}
|
|
@@ -11,7 +11,6 @@ export interface IOptionProps {
|
|
|
11
11
|
selected?: boolean;
|
|
12
12
|
closeOnOptionClick?: boolean;
|
|
13
13
|
close?: TEmpty;
|
|
14
|
-
closeParent?: TEmpty;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
inline?: boolean;
|
|
17
16
|
title?: string;
|
|
@@ -20,5 +19,5 @@ export interface IOptionProps {
|
|
|
20
19
|
onChange?: TChangeEventHandler;
|
|
21
20
|
testId?: string;
|
|
22
21
|
}
|
|
23
|
-
export declare const Option: ({ actions, label, url, onClick, description, icon, selected, closeOnOptionClick, close,
|
|
22
|
+
export declare const Option: ({ actions, label, url, onClick, description, icon, selected, closeOnOptionClick, close, disabled, inline, title, upload, uploadType, onChange, testId, }: IOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
//# sourceMappingURL=option.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/layer/option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAgB,mBAAmB,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAI5F,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAW1D,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/layer/option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAgB,mBAAmB,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAI5F,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAW1D,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,MAAM,GAAI,0JAiBpB,YAAY,4CAoFd,CAAC"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TEmpty, TStringOrNumber } from '../../../typings/common-type-definitions';
|
|
1
|
+
import { TEmpty } from '../../../typings/common-type-definitions';
|
|
3
2
|
import { IMenuSection } from '../menu.interface';
|
|
4
3
|
export interface ISectionProps {
|
|
5
4
|
section: IMenuSection;
|
|
6
5
|
closeOnOptionClick?: boolean;
|
|
7
6
|
close?: TEmpty;
|
|
8
|
-
closeParent?: TEmpty;
|
|
9
|
-
maxHeight?: TStringOrNumber;
|
|
10
|
-
width?: TStringOrNumber;
|
|
11
|
-
triggerRef?: React.RefObject<HTMLElement | null>;
|
|
12
7
|
}
|
|
13
|
-
|
|
8
|
+
/** Leaf section types only. Submenus are owned by Layer. */
|
|
9
|
+
export declare const Section: ({ section, closeOnOptionClick, close }: ISectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
10
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/layer/section.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/layer/section.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAKzD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,4DAA4D;AAC5D,eAAO,MAAM,OAAO,GAAI,wCAAwC,aAAa,mDAoC5E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/menu.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAO9C,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEzF,eAAO,MAAM,IAAI,GAAI,uMAmBlB,UAAU,4CAyGZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.tsx"],"names":[],"mappings":"AAAA,OAAc,EAIZ,SAAS,EAMV,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.tsx"],"names":[],"mappings":"AAAA,OAAc,EAIZ,SAAS,EAMV,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAcnD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gGAAgG;IAChG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kJAAkJ;IAClJ,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,eAAO,MAAM,OAAO,GAAI,wNAcrB,aAAa,mDAuHf,CAAC"}
|