@gooddata/sdk-ui-kit 11.65.0-alpha.1 → 11.65.0-alpha.11
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/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +4 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts +7 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.js +138 -102
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.js +3 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js +11 -91
- package/esm/@ui/UiAsyncTable/UiAsyncTable/asyncTableGridContext.d.ts +10 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/asyncTableGridContext.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/asyncTableGridContext.js +3 -0
- package/esm/@ui/UiButton/UiButton.d.ts +4 -0
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.js +14 -2
- package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts +1 -1
- package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts.map +1 -1
- package/esm/@ui/UiConfigEditor/UiConfigEditor.js +34 -10
- package/esm/@ui/UiConfigEditor/configEditorWarnings.d.ts +10 -0
- package/esm/@ui/UiConfigEditor/configEditorWarnings.d.ts.map +1 -0
- package/esm/@ui/UiConfigEditor/configEditorWarnings.js +42 -0
- package/esm/@ui/UiConfigEditor/types.d.ts +24 -0
- package/esm/@ui/UiConfigEditor/types.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +2 -2
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +21 -7
- package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts.map +1 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelect.js +2 -3
- package/esm/@ui/UiToast/UiToastProvider.d.ts +8 -1
- package/esm/@ui/UiToast/UiToastProvider.d.ts.map +1 -1
- package/esm/@ui/UiToast/UiToastProvider.js +35 -5
- package/esm/@ui/UiToast/UiToastsContainer.d.ts.map +1 -1
- package/esm/@ui/UiToast/UiToastsContainer.js +6 -2
- package/esm/Bubble/Bubble.d.ts +2 -0
- package/esm/Bubble/Bubble.d.ts.map +1 -1
- package/esm/Bubble/Bubble.js +2 -2
- package/esm/Header/HeaderHelp.d.ts +2 -2
- package/esm/Header/HeaderHelp.d.ts.map +1 -1
- package/esm/Header/HeaderHelp.js +4 -4
- package/esm/Icon/icons/ArrowLeft.js +1 -1
- package/esm/Icon/icons/ArrowRight.js +1 -1
- package/esm/Icon/icons/HistoryBack.js +1 -1
- package/esm/Icon/icons/Home.js +1 -1
- package/esm/Icon/icons/LegendMenu.js +1 -1
- package/esm/Icon/icons/Lock.js +1 -1
- package/esm/Icon/icons/Minimize.js +1 -1
- package/esm/Icon/icons/Pdf.js +1 -1
- package/esm/Icon/icons/Trash.js +1 -1
- package/esm/Messages/toasts/ToastsCenter.d.ts.map +1 -1
- package/esm/Messages/toasts/ToastsCenter.js +2 -2
- package/esm/Overlay/Overlay.d.ts +4 -0
- package/esm/Overlay/Overlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.js +39 -12
- package/esm/Overlay/typings.d.ts +6 -0
- package/esm/Overlay/typings.d.ts.map +1 -1
- package/esm/assets/data_source_normal_state.svg +1 -1
- package/esm/assets/home.svg +1 -1
- package/esm/assets/model-normal-state.svg +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/locales.d.ts +10 -0
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +6 -0
- package/esm/sdk-ui-kit.d.ts +46 -3
- package/esm/utils/constants.d.ts +1 -1
- package/esm/utils/constants.js +2 -2
- package/package.json +11 -11
- package/src/@ui/UiAsyncTable/asyncTable.scss +4 -10
- package/src/@ui/UiButton/UiButton.scss +18 -0
- package/src/@ui/UiFloatingPanel/UiFloatingPanel.scss +0 -1
- package/src/@ui/UiResizableSidebar/UiResizableSidebar.scss +1 -1
- package/src/@ui/UiSearchableSelect/UiSearchableSelect.scss +0 -2
- package/src/@ui/UiToast/UiToast.scss +1 -1
- package/src/@ui/defaultTheme.scss +7 -6
- package/src/FilterGroupItem/FilterGroupItem.scss +1 -1
- package/src/WidgetNotice/WidgetNotice.scss +1 -1
- package/styles/css/UiControlButton.css +1 -1
- package/styles/css/button.css +2 -2
- package/styles/css/chartSorting.css +1 -1
- package/styles/css/colorPicker.css +1 -1
- package/styles/css/dialog.css +2 -2
- package/styles/css/form.css +10 -10
- package/styles/css/header.css +9 -9
- package/styles/css/list.css +1 -1
- package/styles/css/main.css +94 -84
- package/styles/css/main.css.map +1 -1
- package/styles/css/measureNumberFormat.css +1 -1
- package/styles/css/menu.css +1 -1
- package/styles/css/recurrenceForm.css +1 -1
- package/styles/css/richText.css +3 -3
- package/styles/css/shareDialogSelectControl.css +1 -1
- package/styles/css/stylingEditorDialog.css +3 -3
- package/styles/css/syntaxHighlightingInput.css +9 -9
- package/styles/css/tabs.css +1 -1
- package/styles/css/typo.css +3 -3
- package/styles/icons/home.svg +1 -1
- package/styles/scss/header.scss +1 -1
- package/styles/scss/richText.scss +3 -3
- package/styles/scss/variables.scss +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../src/Bubble/Bubble.tsx"],"names":[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mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mBAAmB,CAAC,EAAE,0BAA0B,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAsBD;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,oBAAoB,CAAC,YAAY,CA8JrD,CAAC"}
|
package/esm/Bubble/Bubble.js
CHANGED
|
@@ -56,7 +56,7 @@ const defaultProps = {
|
|
|
56
56
|
* @internal
|
|
57
57
|
*/
|
|
58
58
|
export const Bubble = memo(function Bubble(props) {
|
|
59
|
-
const { id, alignPoints: alignPointsProp, alignTo, arrowOffsets: arrowOffsetsProp, arrowDirections: arrowDirectionsProp, arrowStyle: arrowStyleProp, className, closeOnOutsideClick, closeOnParentScroll, closeOnEscape, ignoreClicksOn, ignoreClicksOnByClass, onClose, onMouseEnter, onMouseLeave, onKeyDown, overlayClassName, children, overlayPositionType, ensureVisibility, accessibilityConfig, } = { ...defaultProps, ...props };
|
|
59
|
+
const { id, alignPoints: alignPointsProp, alignTo, arrowOffsets: arrowOffsetsProp, arrowDirections: arrowDirectionsProp, arrowStyle: arrowStyleProp, className, closeOnOutsideClick, closeOnParentScroll, closeOnEscape, ignoreClicksOn, ignoreClicksOnByClass, onClose, onMouseEnter, onMouseLeave, onKeyDown, overlayClassName, children, overlayPositionType, ensureVisibility, resizeObserverThreshold, keepBottomOnResize, accessibilityConfig, } = { ...defaultProps, ...props };
|
|
60
60
|
const { role, ariaLabelledBy } = accessibilityConfig ?? {};
|
|
61
61
|
const arrowOffsets = useMemo(() => ({
|
|
62
62
|
...arrowOffsetsProp,
|
|
@@ -108,7 +108,7 @@ export const Bubble = memo(function Bubble(props) {
|
|
|
108
108
|
});
|
|
109
109
|
}, [className, getArrowsClassname, optimalAlignPoints]);
|
|
110
110
|
const arrowStyle = useMemo(() => result({ arrowStyle: arrowStyleProp }, "arrowStyle", {}), [arrowStyleProp]);
|
|
111
|
-
return (_jsx(ZoomAwareOverlay, { id: id, className: overlayClassName, alignTo: alignTo, onAlign: onAlign, alignPoints: alignPoints, closeOnParentScroll: closeOnParentScroll, closeOnMouseDrag: true, closeOnOutsideClick: closeOnOutsideClick, ignoreClicksOn: ignoreClicksOn, ignoreClicksOnByClass: ignoreClicksOnByClass, onClose: onClose, closeOnEscape: closeOnEscape, positionType: overlayPositionType, ensureVisibility: ensureVisibility, children: _jsx("div", { onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onKeyDown: onKeyDown, className: classNames, role: role, "aria-labelledby": ariaLabelledBy, children: _jsxs("div", { className: "bubble-content", children: [_jsx("div", { className: "helper" }), _jsxs("div", { className: "arrow-position", style: arrowStyle, children: [_jsx("div", { className: "arrow-border" }), _jsx("div", { className: "arrow" })] }), _jsx("div", { className: "content", children: children })] }) }) }));
|
|
111
|
+
return (_jsx(ZoomAwareOverlay, { id: id, className: overlayClassName, alignTo: alignTo, onAlign: onAlign, alignPoints: alignPoints, closeOnParentScroll: closeOnParentScroll, closeOnMouseDrag: true, closeOnOutsideClick: closeOnOutsideClick, ignoreClicksOn: ignoreClicksOn, ignoreClicksOnByClass: ignoreClicksOnByClass, onClose: onClose, closeOnEscape: closeOnEscape, positionType: overlayPositionType, ensureVisibility: ensureVisibility, resizeObserverThreshold: resizeObserverThreshold, keepBottomOnResize: keepBottomOnResize, children: _jsx("div", { onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onKeyDown: onKeyDown, className: classNames, role: role, "aria-labelledby": ariaLabelledBy, children: _jsxs("div", { className: "bubble-content", children: [_jsx("div", { className: "helper" }), _jsxs("div", { className: "arrow-position", style: arrowStyle, children: [_jsx("div", { className: "arrow-border" }), _jsx("div", { className: "arrow" })] }), _jsx("div", { className: "content", children: children })] }) }) }));
|
|
112
112
|
}, (prevProps, nextProps) => {
|
|
113
113
|
return isReactEqual(prevProps, nextProps);
|
|
114
114
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type MouseEvent, type ReactNode } from "react";
|
|
2
2
|
import { type HelpMenuDropdownAlignPoints } from "../typings/positioning.js";
|
|
3
3
|
interface IHelpItem {
|
|
4
4
|
key: string;
|
|
@@ -15,7 +15,7 @@ interface IHeaderHelpProps {
|
|
|
15
15
|
className: string;
|
|
16
16
|
helpMenuDropdownAlignPoints?: HelpMenuDropdownAlignPoints;
|
|
17
17
|
items: IHelpItem[];
|
|
18
|
-
onMenuItemClick?: (
|
|
18
|
+
onMenuItemClick?: (item: IHelpItem, e: MouseEvent<HTMLAnchorElement>) => void;
|
|
19
19
|
disableDropdown?: boolean;
|
|
20
20
|
onHelpClicked?: (isOpen?: boolean) => void;
|
|
21
21
|
helpRedirectUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderHelp.d.ts","sourceRoot":"","sources":["../../src/Header/HeaderHelp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderHelp.d.ts","sourceRoot":"","sources":["../../src/Header/HeaderHelp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAC;AASvF,OAAO,EAAE,KAAK,2BAA2B,EAAoB,MAAM,2BAA2B,CAAC;AAG/F,UAAU,SAAS;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAED,UAAU,gBAAgB;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;IAC1D,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,UAAU,CAAC,EACvB,SAAS,EACT,KAAK,EACL,2BAA2B,EAC3B,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,GAClB,EAAE,gBAAgB,2CAkIlB"}
|
package/esm/Header/HeaderHelp.js
CHANGED
|
@@ -21,8 +21,8 @@ export function HeaderHelp({ className, items, helpMenuDropdownAlignPoints, onMe
|
|
|
21
21
|
[className]: !!className,
|
|
22
22
|
});
|
|
23
23
|
const menuItems = items.map((item) => {
|
|
24
|
-
return (_jsxs("a", { role: "option", href: item.href, target: item.target, rel: item.target === "_blank" ? "noreferrer noopener" : undefined, onClick: () => {
|
|
25
|
-
menuItemClicked(item);
|
|
24
|
+
return (_jsxs("a", { role: "option", href: item.href, target: item.target, rel: item.target === "_blank" ? "noreferrer noopener" : undefined, onClick: (e) => {
|
|
25
|
+
menuItemClicked(item, e);
|
|
26
26
|
}, className: cx("gd-list-item gd-list-help-menu-item", {
|
|
27
27
|
[item.className]: !!item.className,
|
|
28
28
|
}), children: [item.iconName ? _jsx("i", { className: cx(item.iconName, "gd-icon") }) : null, item.icon ? item.icon : null, _jsx("span", { children: item.label ?? _jsx(FormattedMessage, { id: item.key }) })] }, item.key));
|
|
@@ -31,9 +31,9 @@ export function HeaderHelp({ className, items, helpMenuDropdownAlignPoints, onMe
|
|
|
31
31
|
onHelpClicked?.(isMenuOpen);
|
|
32
32
|
setIsOpen(isMenuOpen);
|
|
33
33
|
}, [isOpen, onHelpClicked]);
|
|
34
|
-
const menuItemClicked = (
|
|
34
|
+
const menuItemClicked = (item, e) => {
|
|
35
35
|
toggleHelpMenu(false);
|
|
36
|
-
onMenuItemClick?.(
|
|
36
|
+
onMenuItemClick?.(item, e);
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
* Menu dropdown content is long enough to make it max-width (240px),
|
|
@@ -3,6 +3,6 @@ import { combineIconClasses } from "../utils.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export function ArrowLeft({ color = "#
|
|
6
|
+
export function ArrowLeft({ color = "#6A737D", className, width = 11, height = 19, ariaHidden }) {
|
|
7
7
|
return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 11 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": ariaHidden, children: _jsx("path", { d: "M10.0039 18.9961C9.9388 18.9961 9.8737 18.9831 9.80859 18.957C9.75 18.9375 9.69466 18.9017 9.64258 18.8496L0.648438 9.85547C0.550781 9.75781 0.501953 9.64062 0.501953 9.50391C0.501953 9.36068 0.550781 9.24023 0.648438 9.14258L9.64258 0.148438C9.74023 0.0507812 9.85742 0.00195312 9.99414 0.00195312C10.1374 0.00195312 10.2578 0.0507812 10.3555 0.148438C10.4531 0.246094 10.502 0.363281 10.502 0.5C10.502 0.636719 10.4531 0.753906 10.3555 0.851562L1.70312 9.50391L10.3555 18.1465C10.4531 18.2441 10.502 18.3613 10.502 18.498C10.502 18.6348 10.4531 18.752 10.3555 18.8496C10.3034 18.9017 10.2448 18.9375 10.1797 18.957C10.1211 18.9831 10.0625 18.9961 10.0039 18.9961Z", fill: color }) }));
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@ import { combineIconClasses } from "../utils.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export function ArrowRight({ color = "#
|
|
6
|
+
export function ArrowRight({ color = "#6A737D", className, width = 11, height = 19 }) {
|
|
7
7
|
return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 11 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M1 18.9961C0.934896 18.9961 0.869792 18.9831 0.804688 18.957C0.746094 18.9375 0.69401 18.9017 0.648438 18.8496C0.550781 18.752 0.501953 18.6348 0.501953 18.498C0.501953 18.3613 0.550781 18.2441 0.648438 18.1465L9.29102 9.50391L0.648438 0.851562C0.550781 0.753906 0.501953 0.636719 0.501953 0.5C0.501953 0.363281 0.550781 0.246094 0.648438 0.148438C0.746094 0.0507812 0.863281 0.00195312 1 0.00195312C1.13672 0.00195312 1.25391 0.0507812 1.35156 0.148438L10.3555 9.14258C10.4531 9.24023 10.502 9.36068 10.502 9.50391C10.502 9.64062 10.4531 9.75781 10.3555 9.85547L1.35156 18.8496C1.30599 18.9017 1.25065 18.9375 1.18555 18.957C1.12695 18.9831 1.0651 18.9961 1 18.9961Z", fill: color }) }));
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export function HistoryBack({ color, className, width, height }) {
|
|
7
|
-
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 17", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M8 17.3467C7.21973 17.3467 6.45882 17.2415 5.71729 17.0312C4.98128 16.8265 4.28955 16.5332 3.64209 16.1514C2.99463 15.764 2.40251 15.2936 1.86572 14.7402C1.33447 14.1868 0.883464 13.5643 0.512695 12.8726C0.457357 12.7729 0.446289 12.6678 0.479492 12.5571C0.512695 12.4409 0.581868 12.3551 0.687012 12.2998C0.786621 12.2445 0.891764 12.2334 1.00244 12.2666C1.11865 12.2998 1.20443 12.369 1.25977 12.4741C1.59733 13.0939 2.00407 13.6528 2.47998 14.1509C2.96143 14.6489 3.49268 15.0723 4.07373 15.4209C4.65479 15.7695 5.27734 16.0379 5.94141 16.2261C6.611 16.4087 7.2972 16.5 8 16.5C9.05697 16.5 10.0475 16.3008 10.9717 15.9023C11.9014 15.4984 12.7121 14.9505 13.4038 14.2588C14.1011 13.5671 14.6489 12.7563 15.0474 11.8267C15.4513 10.897 15.6533 9.90365 15.6533 8.84668C15.6533 7.79525 15.4513 6.80469 15.0474 5.875C14.6489 4.94531 14.1011 4.1346 13.4038 3.44287C12.7121 2.75114 11.9014 2.20605 10.9717 1.80762C10.0475 1.40365 9.05697 1.20166 8 1.20166C7.2972 1.20166 6.61377 1.29574 5.94971 1.48389C5.29118 1.6665 4.66862 1.93213 4.08203 2.28076C3.50098 2.62386 2.96973 3.04443 2.48828 3.54248C2.01237 4.03499 1.6084 4.58838 1.27637 5.20264C1.22103 5.29671 1.14355 5.36312 1.04395 5.40186C0.94987 5.43506 0.853027 5.43506 0.753418 5.40186C0.653809 5.36312 0.579102 5.29948 0.529297 5.21094C0.479492 5.11686 0.465658 5.01725 0.487793 4.91211L1.20996 1.53369C1.2321 1.42301 1.29297 1.33447 1.39258 1.26807C1.49219 1.20166 1.6001 1.18229 1.71631 1.20996C1.82699 1.2321 1.91553 1.29297 1.98193 1.39258C2.04834 1.49219 2.06771 1.6001 2.04004 1.71631L1.74121 3.09424C2.13965 2.6626 2.57682 2.27799 3.05273 1.94043C3.52865 1.59733 4.03223 1.30957 4.56348 1.07715C5.09473 0.839193 5.64811 0.659342 6.22363 0.537598C6.80469 0.410319 7.39681 0.34668 8 0.34668C8.56999 0.34668 9.12614 0.402018 9.66846 0.512695C10.2163 0.623372 10.7448 0.783854 11.2539 0.994141C11.763 1.20443 12.25 1.46452 12.7148 1.77441C13.1797 2.08431 13.6113 2.43848 14.0098 2.83691C14.4137 3.24089 14.7679 3.67529 15.0723 4.14014C15.3822 4.59945 15.6423 5.08366 15.8525 5.59277C16.0684 6.10189 16.2288 6.63037 16.334 7.17822C16.4447 7.72607 16.5 8.28223 16.5 8.84668C16.5 9.41667 16.4447 9.97559 16.334 10.5234C16.2288 11.0658 16.0684 11.5915 15.8525 12.1006C15.6423 12.6097 15.3822 13.0967 15.0723 13.5615C14.7679 14.0264 14.4137 14.458 14.0098 14.8564C13.6113 15.2604 13.1797 15.6174 12.7148 15.9272C12.25 16.2371 11.763 16.4972 11.2539 16.7075C10.7448 16.9178 10.2163 17.0755 9.66846 17.1807C9.12614 17.2913 8.56999 17.3467 8 17.3467ZM8 9.27832C7.9668 9.27832 7.93083 9.27279 7.89209 9.26172C7.85889 9.25065 7.82568 9.23682 7.79248 9.22021L3.96582 7.09521C3.86621 7.03988 3.7998 6.95687 3.7666 6.84619C3.7334 6.72998 3.74447 6.62207 3.7998 6.52246C3.86068 6.41732 3.94645 6.34814 4.05713 6.31494C4.17334 6.28174 4.28125 6.29557 4.38086 6.35645L7.9834 8.35693L12.4492 5.51807C12.5488 5.45166 12.654 5.43229 12.7646 5.45996C12.8809 5.48763 12.9694 5.55127 13.0303 5.65088C13.0967 5.74495 13.116 5.8501 13.0884 5.96631C13.0662 6.08252 13.0054 6.17106 12.9058 6.23193L8.22412 9.21191C8.19092 9.23405 8.15495 9.25065 8.11621 9.26172C8.07747 9.27279 8.03874 9.27832 8 9.27832Z", fill: color ?? "#
|
|
7
|
+
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 17", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M8 17.3467C7.21973 17.3467 6.45882 17.2415 5.71729 17.0312C4.98128 16.8265 4.28955 16.5332 3.64209 16.1514C2.99463 15.764 2.40251 15.2936 1.86572 14.7402C1.33447 14.1868 0.883464 13.5643 0.512695 12.8726C0.457357 12.7729 0.446289 12.6678 0.479492 12.5571C0.512695 12.4409 0.581868 12.3551 0.687012 12.2998C0.786621 12.2445 0.891764 12.2334 1.00244 12.2666C1.11865 12.2998 1.20443 12.369 1.25977 12.4741C1.59733 13.0939 2.00407 13.6528 2.47998 14.1509C2.96143 14.6489 3.49268 15.0723 4.07373 15.4209C4.65479 15.7695 5.27734 16.0379 5.94141 16.2261C6.611 16.4087 7.2972 16.5 8 16.5C9.05697 16.5 10.0475 16.3008 10.9717 15.9023C11.9014 15.4984 12.7121 14.9505 13.4038 14.2588C14.1011 13.5671 14.6489 12.7563 15.0474 11.8267C15.4513 10.897 15.6533 9.90365 15.6533 8.84668C15.6533 7.79525 15.4513 6.80469 15.0474 5.875C14.6489 4.94531 14.1011 4.1346 13.4038 3.44287C12.7121 2.75114 11.9014 2.20605 10.9717 1.80762C10.0475 1.40365 9.05697 1.20166 8 1.20166C7.2972 1.20166 6.61377 1.29574 5.94971 1.48389C5.29118 1.6665 4.66862 1.93213 4.08203 2.28076C3.50098 2.62386 2.96973 3.04443 2.48828 3.54248C2.01237 4.03499 1.6084 4.58838 1.27637 5.20264C1.22103 5.29671 1.14355 5.36312 1.04395 5.40186C0.94987 5.43506 0.853027 5.43506 0.753418 5.40186C0.653809 5.36312 0.579102 5.29948 0.529297 5.21094C0.479492 5.11686 0.465658 5.01725 0.487793 4.91211L1.20996 1.53369C1.2321 1.42301 1.29297 1.33447 1.39258 1.26807C1.49219 1.20166 1.6001 1.18229 1.71631 1.20996C1.82699 1.2321 1.91553 1.29297 1.98193 1.39258C2.04834 1.49219 2.06771 1.6001 2.04004 1.71631L1.74121 3.09424C2.13965 2.6626 2.57682 2.27799 3.05273 1.94043C3.52865 1.59733 4.03223 1.30957 4.56348 1.07715C5.09473 0.839193 5.64811 0.659342 6.22363 0.537598C6.80469 0.410319 7.39681 0.34668 8 0.34668C8.56999 0.34668 9.12614 0.402018 9.66846 0.512695C10.2163 0.623372 10.7448 0.783854 11.2539 0.994141C11.763 1.20443 12.25 1.46452 12.7148 1.77441C13.1797 2.08431 13.6113 2.43848 14.0098 2.83691C14.4137 3.24089 14.7679 3.67529 15.0723 4.14014C15.3822 4.59945 15.6423 5.08366 15.8525 5.59277C16.0684 6.10189 16.2288 6.63037 16.334 7.17822C16.4447 7.72607 16.5 8.28223 16.5 8.84668C16.5 9.41667 16.4447 9.97559 16.334 10.5234C16.2288 11.0658 16.0684 11.5915 15.8525 12.1006C15.6423 12.6097 15.3822 13.0967 15.0723 13.5615C14.7679 14.0264 14.4137 14.458 14.0098 14.8564C13.6113 15.2604 13.1797 15.6174 12.7148 15.9272C12.25 16.2371 11.763 16.4972 11.2539 16.7075C10.7448 16.9178 10.2163 17.0755 9.66846 17.1807C9.12614 17.2913 8.56999 17.3467 8 17.3467ZM8 9.27832C7.9668 9.27832 7.93083 9.27279 7.89209 9.26172C7.85889 9.25065 7.82568 9.23682 7.79248 9.22021L3.96582 7.09521C3.86621 7.03988 3.7998 6.95687 3.7666 6.84619C3.7334 6.72998 3.74447 6.62207 3.7998 6.52246C3.86068 6.41732 3.94645 6.34814 4.05713 6.31494C4.17334 6.28174 4.28125 6.29557 4.38086 6.35645L7.9834 8.35693L12.4492 5.51807C12.5488 5.45166 12.654 5.43229 12.7646 5.45996C12.8809 5.48763 12.9694 5.55127 13.0303 5.65088C13.0967 5.74495 13.116 5.8501 13.0884 5.96631C13.0662 6.08252 13.0054 6.17106 12.9058 6.23193L8.22412 9.21191C8.19092 9.23405 8.15495 9.25065 8.11621 9.26172C8.07747 9.27279 8.03874 9.27832 8 9.27832Z", fill: color ?? "#6A737D" }) }));
|
|
8
8
|
}
|
package/esm/Icon/icons/Home.js
CHANGED
|
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export function Home({ color, className, width, height, ariaHidden }) {
|
|
7
|
-
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 20", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": ariaHidden, children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { transform: "translate(-276.000000, -1255.000000)", fill: color ?? "#
|
|
7
|
+
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 20", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": ariaHidden, children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { transform: "translate(-276.000000, -1255.000000)", fill: color ?? "#6A737D", children: _jsx("g", { transform: "translate(258.000000, 1124.500000)", children: _jsx("path", { d: "M34.502,140.001 C34.778,140.001 35.002,140.225 35.002,140.501 L35.002,148.501 C35.002,149.328 34.329,150.001 33.502,150.001 L29.502,150.001 C29.226,150.001 29.002,149.777 29.002,149.501 L29.002,146.001 L27.002,146.001 L27.002,149.501 C27.002,149.777 26.778,150.001 26.502,150.001 L22.502,150.001 C21.675,150.001 21.002,149.328 21.002,148.501 L21.002,140.501 C21.002,140.225 21.226,140.001 21.502,140.001 C21.778,140.001 22.002,140.225 22.002,140.501 L22.002,148.501 C22.002,148.777 22.226,149.001 22.502,149.001 L26.002,149.001 L26.002,145.501 C26.002,145.225 26.226,145.001 26.502,145.001 L29.502,145.001 C29.778,145.001 30.002,145.225 30.002,145.501 L30.002,149.001 L33.502,149.001 C33.778,149.001 34.002,148.777 34.002,148.501 L34.002,140.501 C34.002,140.225 34.226,140.001 34.502,140.001 Z M28.003,130.938 C28.4,130.938 28.77,131.105 29.045,131.408 L32.01,134.685 L32.003,133.505 C32.002,133.372 32.055,133.244 32.148,133.15 C32.241,133.056 32.369,133.003 32.503,133.003 L34.503,133.003 C34.779,133.003 35.003,133.227 35.003,133.503 L35.003,137.995 L37.874,141.168 C38.059,141.373 38.043,141.689 37.839,141.874 C37.635,142.059 37.318,142.043 37.133,141.839 L34.133,138.523 C34.05,138.431 34.004,138.311 34.004,138.188 L34.004,134.004 L33.007,134.004 L33.018,135.99 C33.019,136.197 32.892,136.384 32.699,136.459 C32.506,136.534 32.286,136.482 32.147,136.328 L28.304,132.081 C28.222,131.99 28.115,131.94 28.004,131.94 C27.893,131.94 27.786,131.99 27.704,132.081 L18.875,141.839 C18.776,141.948 18.64,142.004 18.504,142.004 L18.502,142.001 C18.382,142.001 18.262,141.958 18.167,141.872 C17.962,141.687 17.946,141.371 18.132,141.166 L26.961,131.408 C27.235,131.105 27.605,130.938 28.003,130.938 Z" }) }) }) }) }));
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export function LegendMenu({ color, className, width, height }) {
|
|
7
|
-
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 9, height: height ?? 10, viewBox: "0 0 11 10", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { className: "LegendMenuContent", transform: "translate(-5.500000, -6.000000)", fill: color ?? "#
|
|
7
|
+
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 9, height: height ?? 10, viewBox: "0 0 11 10", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { className: "LegendMenuContent", transform: "translate(-5.500000, -6.000000)", fill: color ?? "#6A737D", children: _jsx("path", { d: "M7.5,14 L7.5,16 L5.5,16 L5.5,14 L7.5,14 Z M16.5,14 L16.5,16 L9.5,16 L9.5,14 L16.5,14 Z M7.5,10 L7.5,12 L5.5,12 L5.5,10 L7.5,10 Z M16.5,10 L16.5,12 L9.5,12 L9.5,10 L16.5,10 Z M7.5,6 L7.5,8 L5.5,8 L5.5,6 L7.5,6 Z M16.5,6 L16.5,8 L9.5,8 L9.5,6 L16.5,6 Z" }) }) }) }));
|
|
8
8
|
}
|
package/esm/Icon/icons/Lock.js
CHANGED
|
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export function Lock({ color, className, width, height }) {
|
|
7
|
-
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M11.9921875,14.796875 C12.3255208,14.796875 12.609375,14.6796875 12.84375,14.4453125 C13.078125,14.2109375 13.1953125,13.9270833 13.1953125,13.59375 L13.1953125,7.203125 C13.1953125,6.86979167 13.078125,6.5859375 12.84375,6.3515625 C12.609375,6.1171875 12.3255208,6 11.9921875,6 L11.6015625,6 L11.6015625,4.796875 C11.6015625,4.30729167 11.5078125,3.84375 11.3203125,3.40625 C11.1328125,2.96875 10.875,2.5859375 10.546875,2.2578125 C10.21875,1.9296875 9.8359375,1.671875 9.3984375,1.484375 C8.9609375,1.296875 8.4921875,1.203125 7.9921875,1.203125 C7.50260417,1.203125 7.0390625,1.296875 6.6015625,1.484375 C6.1640625,1.671875 5.78125,1.9296875 5.453125,2.2578125 C5.125,2.5859375 4.8671875,2.96875 4.6796875,3.40625 C4.4921875,3.84375 4.3984375,4.30729167 4.3984375,4.796875 L4.3984375,6 L3.9921875,6 C3.66927083,6 3.390625,6.1171875 3.15625,6.3515625 C2.921875,6.5859375 2.8046875,6.86979167 2.8046875,7.203125 L2.8046875,13.59375 C2.8046875,13.9270833 2.921875,14.2109375 3.15625,14.4453125 C3.390625,14.6796875 3.66927083,14.796875 3.9921875,14.796875 L11.9921875,14.796875 Z M10.8046875,6 L5.1953125,6 L5.1953125,4.796875 C5.1953125,4.02604167 5.46875,3.3671875 6.015625,2.8203125 C6.5625,2.2734375 7.22135417,2 7.9921875,2 C8.7734375,2 9.4375,2.2734375 9.984375,2.8203125 C10.53125,3.3671875 10.8046875,4.02604167 10.8046875,4.796875 L10.8046875,6 Z M11.9921875,14 L3.9921875,14 C3.88802083,14 3.796875,13.9609375 3.71875,13.8828125 C3.640625,13.8046875 3.6015625,13.7083333 3.6015625,13.59375 L3.6015625,7.203125 C3.6015625,7.08854167 3.640625,6.9921875 3.71875,6.9140625 C3.796875,6.8359375 3.88802083,6.796875 3.9921875,6.796875 L11.9921875,6.796875 C12.1067708,6.796875 12.203125,6.8359375 12.28125,6.9140625 C12.359375,6.9921875 12.3984375,7.08854167 12.3984375,7.203125 L12.3984375,13.59375 C12.3984375,13.7083333 12.359375,13.8046875 12.28125,13.8828125 C12.203125,13.9609375 12.1067708,14 11.9921875,14 Z", fill: color ?? "#
|
|
7
|
+
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M11.9921875,14.796875 C12.3255208,14.796875 12.609375,14.6796875 12.84375,14.4453125 C13.078125,14.2109375 13.1953125,13.9270833 13.1953125,13.59375 L13.1953125,7.203125 C13.1953125,6.86979167 13.078125,6.5859375 12.84375,6.3515625 C12.609375,6.1171875 12.3255208,6 11.9921875,6 L11.6015625,6 L11.6015625,4.796875 C11.6015625,4.30729167 11.5078125,3.84375 11.3203125,3.40625 C11.1328125,2.96875 10.875,2.5859375 10.546875,2.2578125 C10.21875,1.9296875 9.8359375,1.671875 9.3984375,1.484375 C8.9609375,1.296875 8.4921875,1.203125 7.9921875,1.203125 C7.50260417,1.203125 7.0390625,1.296875 6.6015625,1.484375 C6.1640625,1.671875 5.78125,1.9296875 5.453125,2.2578125 C5.125,2.5859375 4.8671875,2.96875 4.6796875,3.40625 C4.4921875,3.84375 4.3984375,4.30729167 4.3984375,4.796875 L4.3984375,6 L3.9921875,6 C3.66927083,6 3.390625,6.1171875 3.15625,6.3515625 C2.921875,6.5859375 2.8046875,6.86979167 2.8046875,7.203125 L2.8046875,13.59375 C2.8046875,13.9270833 2.921875,14.2109375 3.15625,14.4453125 C3.390625,14.6796875 3.66927083,14.796875 3.9921875,14.796875 L11.9921875,14.796875 Z M10.8046875,6 L5.1953125,6 L5.1953125,4.796875 C5.1953125,4.02604167 5.46875,3.3671875 6.015625,2.8203125 C6.5625,2.2734375 7.22135417,2 7.9921875,2 C8.7734375,2 9.4375,2.2734375 9.984375,2.8203125 C10.53125,3.3671875 10.8046875,4.02604167 10.8046875,4.796875 L10.8046875,6 Z M11.9921875,14 L3.9921875,14 C3.88802083,14 3.796875,13.9609375 3.71875,13.8828125 C3.640625,13.8046875 3.6015625,13.7083333 3.6015625,13.59375 L3.6015625,7.203125 C3.6015625,7.08854167 3.640625,6.9921875 3.71875,6.9140625 C3.796875,6.8359375 3.88802083,6.796875 3.9921875,6.796875 L11.9921875,6.796875 C12.1067708,6.796875 12.203125,6.8359375 12.28125,6.9140625 C12.359375,6.9921875 12.3984375,7.08854167 12.3984375,7.203125 L12.3984375,13.59375 C12.3984375,13.7083333 12.359375,13.8046875 12.28125,13.8828125 C12.203125,13.9609375 12.1067708,14 11.9921875,14 Z", fill: color ?? "#6A737D", fillRule: "nonzero" }) }) }));
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export function Minimize({ color, className, width = 18, height = 18 }) {
|
|
7
|
-
return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.6259 13.6016H2.36691C2.26619 13.6016 2.17986 13.5625 2.10791 13.4844C2.03597 13.4062 2 13.3125 2 13.2031C2 13.0885 2.03597 12.9922 2.10791 12.9141C2.17986 12.8359 2.26619 12.7969 2.36691 12.7969H15.6259C15.7314 12.7969 15.8201 12.8359 15.8921 12.9141C15.964 12.9922 16 13.0885 16 13.2031C16 13.3125 15.964 13.4062 15.8921 13.4844C15.8201 13.5625 15.7314 13.6016 15.6259 13.6016Z", fill: color ?? "#
|
|
7
|
+
return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.6259 13.6016H2.36691C2.26619 13.6016 2.17986 13.5625 2.10791 13.4844C2.03597 13.4062 2 13.3125 2 13.2031C2 13.0885 2.03597 12.9922 2.10791 12.9141C2.17986 12.8359 2.26619 12.7969 2.36691 12.7969H15.6259C15.7314 12.7969 15.8201 12.8359 15.8921 12.9141C15.964 12.9922 16 13.0885 16 13.2031C16 13.3125 15.964 13.4062 15.8921 13.4844C15.8201 13.5625 15.7314 13.6016 15.6259 13.6016Z", fill: color ?? "#6A737D" }) }));
|
|
8
8
|
}
|
package/esm/Icon/icons/Pdf.js
CHANGED
|
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export function Pdf({ color, className, width, height }) {
|
|
7
|
-
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 11 14", version: "1.1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M8.40071618,8.75 C8.51009172,8.85937555 8.56477868,9.00065018 8.56477868,9.17382812 C8.56477868,9.34700607 8.51464897,9.4973952 8.41438805,9.625 C8.31412713,9.7526048 8.15918077,9.81640625 7.9495443,9.81640625 C7.73990784,9.81640625 7.49381655,9.77539104 7.21126305,9.69335937 C6.92870956,9.61132771 6.65983204,9.49739656 6.40462243,9.3515625 C6.07649579,9.40625027 5.56608422,9.55208215 4.87337243,9.7890625 L4.54524743,9.8984375 C4.21712079,10.4453152 3.90722805,10.8463529 3.61555993,11.1015625 C3.37857958,11.3020843 3.16438901,11.3932293 2.9729818,11.375 C2.7815746,11.3567707 2.64029997,11.2792976 2.54915368,11.1425781 C2.45800739,11.0058587 2.42154942,10.8736986 2.43977868,10.7460937 C2.53092497,10.3450501 2.99576407,9.92578344 3.83430993,9.48828125 C4.12597805,8.97786203 4.45409977,8.30338961 4.81868493,7.46484375 C4.58170458,6.58983937 4.51790313,5.9791684 4.62727868,5.6328125 C4.66373719,5.46874918 4.7731111,5.35481803 4.95540368,5.29101562 C5.13769626,5.22721322 5.31087161,5.23632771 5.47493493,5.31835937 C5.63899825,5.40039104 5.73925766,5.55989465 5.77571618,5.796875 C5.86686247,6.05208461 5.82129001,6.54426719 5.63899743,7.2734375 L5.63899743,7.30078125 C5.85774852,7.8841175 6.19498473,8.31249863 6.65071618,8.5859375 C7.58040833,8.4583327 8.16373583,8.51301965 8.40071618,8.75 Z M2.98665368,10.8828125 C2.98665368,10.9010418 3.02311165,10.8828128 3.09602868,10.828125 C3.16894571,10.7734372 3.26009063,10.6822923 3.36946618,10.5546875 C3.51530024,10.3906242 3.67024661,10.1809909 3.83430993,9.92578125 L3.72493493,10.0078125 C3.305662,10.3723977 3.05957071,10.6640614 2.98665368,10.8828125 Z M5.22884118,5.66015625 C5.19238266,5.66015625 5.17415368,5.80598813 5.17415368,6.09765625 C5.17415368,6.38932438 5.21061165,6.61718668 5.28352868,6.78125 C5.33821645,6.6536452 5.36555993,6.43489738 5.36555993,6.125 C5.36555993,5.81510262 5.31998747,5.66015625 5.22884118,5.66015625 Z M4.54524743,9.40625 L4.87337243,9.26953125 C5.36556239,9.06900941 5.75748555,8.94140652 6.04915368,8.88671875 C5.72102704,8.6497384 5.44759227,8.32161668 5.22884118,7.90234375 C4.99186083,8.54036777 4.76399852,9.04166484 4.54524743,9.40625 Z M8.15462243,9.26953125 C8.19108094,9.25130199 8.1865237,9.21940127 8.14095055,9.17382812 C8.09537741,9.12825498 7.99056075,9.09179701 7.82649743,9.06445312 C7.66243411,9.03710924 7.4345718,9.03255199 7.14290368,9.05078125 C7.39811329,9.1601568 7.6168611,9.23307273 7.79915368,9.26953125 C7.92675848,9.30598977 8.0179034,9.31510426 8.07259118,9.296875 C8.10904969,9.296875 8.13639317,9.28776051 8.15462243,9.26953125 Z M6.6,0.80050529 C6.59528501,0.800169545 6.59054446,0.8 6.58578644,0.8 L1,0.8 C0.88954305,0.8 0.8,0.88954305 0.8,1 L0.8,13 C0.8,13.1104569 0.88954305,13.2 1,13.2 L10,13.2 C10.1104569,13.2 10.2,13.1104569 10.2,13 L10.2,4.41421356 C10.2,4.40945554 10.1998305,4.40471499 10.1994947,4.4 L8,4.4 C7.22680135,4.4 6.6,3.77319865 6.6,3 L6.6,0.800502936 Z M7.4,1.53137085 L7.4,3 C7.4,3.33137085 7.66862915,3.6 8,3.6 L9.46862915,3.6 L7.4,1.53137085 Z M1,0 L6.58578644,0 C6.85100293,0 7.10535684,0.10535684 7.29289322,0.292893219 L10.7071068,3.70710678 C10.8946432,3.89464316 11,4.14899707 11,4.41421356 L11,13 C11,13.5522847 10.5522847,14 10,14 L1,14 C0.44771525,14 0,13.5522847 0,13 L0,1 C0,0.44771525 0.44771525,0 1,0 Z", fill: color ?? "#
|
|
7
|
+
return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 11 14", version: "1.1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M8.40071618,8.75 C8.51009172,8.85937555 8.56477868,9.00065018 8.56477868,9.17382812 C8.56477868,9.34700607 8.51464897,9.4973952 8.41438805,9.625 C8.31412713,9.7526048 8.15918077,9.81640625 7.9495443,9.81640625 C7.73990784,9.81640625 7.49381655,9.77539104 7.21126305,9.69335937 C6.92870956,9.61132771 6.65983204,9.49739656 6.40462243,9.3515625 C6.07649579,9.40625027 5.56608422,9.55208215 4.87337243,9.7890625 L4.54524743,9.8984375 C4.21712079,10.4453152 3.90722805,10.8463529 3.61555993,11.1015625 C3.37857958,11.3020843 3.16438901,11.3932293 2.9729818,11.375 C2.7815746,11.3567707 2.64029997,11.2792976 2.54915368,11.1425781 C2.45800739,11.0058587 2.42154942,10.8736986 2.43977868,10.7460937 C2.53092497,10.3450501 2.99576407,9.92578344 3.83430993,9.48828125 C4.12597805,8.97786203 4.45409977,8.30338961 4.81868493,7.46484375 C4.58170458,6.58983937 4.51790313,5.9791684 4.62727868,5.6328125 C4.66373719,5.46874918 4.7731111,5.35481803 4.95540368,5.29101562 C5.13769626,5.22721322 5.31087161,5.23632771 5.47493493,5.31835937 C5.63899825,5.40039104 5.73925766,5.55989465 5.77571618,5.796875 C5.86686247,6.05208461 5.82129001,6.54426719 5.63899743,7.2734375 L5.63899743,7.30078125 C5.85774852,7.8841175 6.19498473,8.31249863 6.65071618,8.5859375 C7.58040833,8.4583327 8.16373583,8.51301965 8.40071618,8.75 Z M2.98665368,10.8828125 C2.98665368,10.9010418 3.02311165,10.8828128 3.09602868,10.828125 C3.16894571,10.7734372 3.26009063,10.6822923 3.36946618,10.5546875 C3.51530024,10.3906242 3.67024661,10.1809909 3.83430993,9.92578125 L3.72493493,10.0078125 C3.305662,10.3723977 3.05957071,10.6640614 2.98665368,10.8828125 Z M5.22884118,5.66015625 C5.19238266,5.66015625 5.17415368,5.80598813 5.17415368,6.09765625 C5.17415368,6.38932438 5.21061165,6.61718668 5.28352868,6.78125 C5.33821645,6.6536452 5.36555993,6.43489738 5.36555993,6.125 C5.36555993,5.81510262 5.31998747,5.66015625 5.22884118,5.66015625 Z M4.54524743,9.40625 L4.87337243,9.26953125 C5.36556239,9.06900941 5.75748555,8.94140652 6.04915368,8.88671875 C5.72102704,8.6497384 5.44759227,8.32161668 5.22884118,7.90234375 C4.99186083,8.54036777 4.76399852,9.04166484 4.54524743,9.40625 Z M8.15462243,9.26953125 C8.19108094,9.25130199 8.1865237,9.21940127 8.14095055,9.17382812 C8.09537741,9.12825498 7.99056075,9.09179701 7.82649743,9.06445312 C7.66243411,9.03710924 7.4345718,9.03255199 7.14290368,9.05078125 C7.39811329,9.1601568 7.6168611,9.23307273 7.79915368,9.26953125 C7.92675848,9.30598977 8.0179034,9.31510426 8.07259118,9.296875 C8.10904969,9.296875 8.13639317,9.28776051 8.15462243,9.26953125 Z M6.6,0.80050529 C6.59528501,0.800169545 6.59054446,0.8 6.58578644,0.8 L1,0.8 C0.88954305,0.8 0.8,0.88954305 0.8,1 L0.8,13 C0.8,13.1104569 0.88954305,13.2 1,13.2 L10,13.2 C10.1104569,13.2 10.2,13.1104569 10.2,13 L10.2,4.41421356 C10.2,4.40945554 10.1998305,4.40471499 10.1994947,4.4 L8,4.4 C7.22680135,4.4 6.6,3.77319865 6.6,3 L6.6,0.800502936 Z M7.4,1.53137085 L7.4,3 C7.4,3.33137085 7.66862915,3.6 8,3.6 L9.46862915,3.6 L7.4,1.53137085 Z M1,0 L6.58578644,0 C6.85100293,0 7.10535684,0.10535684 7.29289322,0.292893219 L10.7071068,3.70710678 C10.8946432,3.89464316 11,4.14899707 11,4.41421356 L11,13 C11,13.5522847 10.5522847,14 10,14 L1,14 C0.44771525,14 0,13.5522847 0,13 L0,1 C0,0.44771525 0.44771525,0 1,0 Z", fill: color ?? "#6A737D", fillRule: "nonzero" }) }) }));
|
|
8
8
|
}
|
package/esm/Icon/icons/Trash.js
CHANGED
|
@@ -3,6 +3,6 @@ import { combineIconClasses } from "../utils.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export function Trash({ color = "#
|
|
6
|
+
export function Trash({ color = "#6A737D", className, width = 15, height = 20 }) {
|
|
7
7
|
return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 15 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M13.498 1.99805C13.9147 1.99805 14.2695 2.14453 14.5625 2.4375C14.8555 2.73047 15.002 3.08529 15.002 3.50195V4.49805C15.002 4.82357 14.9076 5.11654 14.7188 5.37695C14.5299 5.63086 14.2891 5.8099 13.9961 5.91406V18.502C13.9961 18.9121 13.8496 19.2637 13.5566 19.5566C13.2637 19.8496 12.9121 19.9961 12.502 19.9961H2.50195C2.08529 19.9961 1.73047 19.8496 1.4375 19.5566C1.14453 19.2637 0.998047 18.9121 0.998047 18.502V5.91406C0.711589 5.8099 0.473958 5.63086 0.285156 5.37695C0.0963542 5.11654 0.00195312 4.82357 0.00195312 4.49805V3.50195C0.00195312 3.08529 0.148438 2.73047 0.441406 2.4375C0.734375 2.14453 1.08594 1.99805 1.49609 1.99805H5.00195V1.5C5.00195 1.08333 5.14844 0.728516 5.44141 0.435547C5.73438 0.142578 6.08594 -0.00390625 6.49609 -0.00390625H8.49805C8.91471 -0.00390625 9.26953 0.142578 9.5625 0.435547C9.85547 0.728516 10.002 1.08333 10.002 1.5V1.99805H13.498ZM5.99805 1.5V1.99805H8.99609V1.5C8.99609 1.36328 8.94727 1.24609 8.84961 1.14844C8.75195 1.05078 8.63477 1.00195 8.49805 1.00195H6.49609C6.35938 1.00195 6.24219 1.05078 6.14453 1.14844C6.04688 1.24609 5.99805 1.36328 5.99805 1.5ZM12.502 19C12.6387 19 12.7559 18.9512 12.8535 18.8535C12.9512 18.7559 13 18.6387 13 18.502V6.00195H2.00391V18.502C2.00391 18.6387 2.05273 18.7559 2.15039 18.8535C2.24805 18.9512 2.36523 19 2.50195 19H12.502ZM13.9961 4.49805V3.50195C13.9961 3.36523 13.9473 3.24805 13.8496 3.15039C13.752 3.05273 13.6348 3.00391 13.498 3.00391H1.49609C1.35938 3.00391 1.24219 3.05273 1.14453 3.15039C1.04688 3.24805 0.998047 3.36523 0.998047 3.50195V4.49805C0.998047 4.63477 1.04688 4.75195 1.14453 4.84961C1.24219 4.94727 1.35938 4.99609 1.49609 4.99609H13.498C13.6348 4.99609 13.752 4.94727 13.8496 4.84961C13.9473 4.75195 13.9961 4.63477 13.9961 4.49805ZM10.5 6.99805C10.6367 6.99805 10.7539 7.04688 10.8516 7.14453C10.9492 7.24219 10.998 7.35938 10.998 7.49609V17.4961C10.998 17.6393 10.9492 17.7598 10.8516 17.8574C10.7539 17.9551 10.6367 18.0039 10.5 18.0039C10.3633 18.0039 10.2461 17.9551 10.1484 17.8574C10.0508 17.7598 10.002 17.6393 10.002 17.4961V7.49609C10.002 7.35938 10.0508 7.24219 10.1484 7.14453C10.2461 7.04688 10.3633 6.99805 10.5 6.99805ZM7.50195 6.99805C7.63867 6.99805 7.75586 7.04688 7.85352 7.14453C7.95117 7.24219 8 7.35938 8 7.49609V17.4961C8 17.6393 7.95117 17.7598 7.85352 17.8574C7.75586 17.9551 7.63867 18.0039 7.50195 18.0039C7.36523 18.0039 7.24805 17.9551 7.15039 17.8574C7.05273 17.7598 7.00391 17.6393 7.00391 17.4961V7.49609C7.00391 7.35938 7.05273 7.24219 7.15039 7.14453C7.24805 7.04688 7.36523 6.99805 7.50195 6.99805ZM4.50391 6.99805C4.64062 6.99805 4.75781 7.04688 4.85547 7.14453C4.95312 7.24219 5.00195 7.35938 5.00195 7.49609V17.4961C5.00195 17.6393 4.95312 17.7598 4.85547 17.8574C4.75781 17.9551 4.64062 18.0039 4.50391 18.0039C4.36068 18.0039 4.24023 17.9551 4.14258 17.8574C4.04492 17.7598 3.99609 17.6393 3.99609 17.4961V7.49609C3.99609 7.35938 4.04492 7.24219 4.14258 7.14453C4.24023 7.04688 4.36068 6.99805 4.50391 6.99805Z", fill: color }) }));
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastsCenter.d.ts","sourceRoot":"","sources":["../../../src/Messages/toasts/ToastsCenter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAU7E;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EACzB,kBAAkB,GACrB,EAAE;IACC,2FAA2F;IAC3F,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B,
|
|
1
|
+
{"version":3,"file":"ToastsCenter.d.ts","sourceRoot":"","sources":["../../../src/Messages/toasts/ToastsCenter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAU7E;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EACzB,kBAAkB,GACrB,EAAE;IACC,2FAA2F;IAC3F,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B,kDA2BA;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,4CAShC;AAwFD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,6BAA6B,EAC7B,kBAAkB,EAClB,QAAQ,GACX,EAAE;IACC,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACvB,2CAQA"}
|
|
@@ -22,7 +22,7 @@ export function ToastsCenter({ containerClassName, }) {
|
|
|
22
22
|
if (hasParentContext) {
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
25
|
-
return (_jsxs(_Fragment, { children: [_jsx(ScreenReaderToast, {}), _jsx(Overlay, { containerClassName: containerClassName, children: _jsx("div", { className: "gd-messages", role: "region", "aria-label": label, children: _jsx(ToastMessageList, { messages: sortedMessages, onRemoveMessage: removeMessage }) }) })] }));
|
|
25
|
+
return (_jsxs(_Fragment, { children: [_jsx(ScreenReaderToast, {}), _jsx(Overlay, { containerClassName: containerClassName, children: _jsx("div", { className: "gd-messages", role: label ? "region" : undefined, "aria-label": label, children: _jsx(ToastMessageList, { messages: sortedMessages, onRemoveMessage: removeMessage }) }) })] }));
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Stores the latest message for the screen reader to read
|
|
@@ -78,7 +78,7 @@ function useMessagesLabel(messages) {
|
|
|
78
78
|
const numSuccess = messages.filter((message) => message.type === "success").length;
|
|
79
79
|
const numProgress = messages.filter((message) => message.type === "progress").length;
|
|
80
80
|
if (numTotal === 0) {
|
|
81
|
-
return
|
|
81
|
+
return undefined;
|
|
82
82
|
}
|
|
83
83
|
const errorMessage = formatMessage({ id: "messages.accessibility.partial.error" }, { count: numErrors });
|
|
84
84
|
const warningMessage = formatMessage({ id: "messages.accessibility.partial.warning" }, { count: numWarnings });
|
package/esm/Overlay/Overlay.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
|
|
|
18
18
|
static contextType: import("react").Context<import("./OverlayController.js").OverlayController | undefined>;
|
|
19
19
|
context: ContextType<typeof OverlayContext>;
|
|
20
20
|
private observer;
|
|
21
|
+
private lockedAlignPoints;
|
|
22
|
+
private bottomFromTarget;
|
|
21
23
|
constructor(props: IOverlayProps<T>);
|
|
22
24
|
UNSAFE_componentWillMount(): void;
|
|
23
25
|
componentDidMount(): void;
|
|
@@ -26,7 +28,9 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
|
|
|
26
28
|
componentDidUpdate(): void;
|
|
27
29
|
componentWillUnmount(): void;
|
|
28
30
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
private realign;
|
|
29
32
|
align: () => void;
|
|
33
|
+
private keepBottomEdge;
|
|
30
34
|
private calculateConstrainedAlignment;
|
|
31
35
|
private clearAlignmentTimeout;
|
|
32
36
|
private alignWithTimeout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../src/Overlay/Overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,SAAS,EACT,KAAK,WAAW,EAInB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../src/Overlay/Overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,SAAS,EACT,KAAK,WAAW,EAInB,MAAM,OAAO,CAAC;AAmBf,OAAO,EAA4B,cAAc,EAAwB,MAAM,qBAAqB,CAAC;AACrG,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAuBtE,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AAqCtD;;GAEG;AACH,qBAAa,OAAO,CAAC,CAAC,GAAG,WAAW,CAAE,SAAQ,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC;IACpF,OAAc,YAAY,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAsBrD;IAEF,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAS;IAC5B,OAAO,CAAC,UAAU,CAA+B;IACjD,OAAO,CAAC,YAAY,CAAgC;IACpD,OAAO,CAAC,aAAa,CAEb;IACR,OAAO,CAAC,UAAU,CAA+B;IACjD,OAAO,CAAC,kBAAkB,CAAU;IACpC,OAAO,CAAC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;IAEF,OAAO,CAAC,kBAAkB,CAiBxB;IAEF,OAAO,CAAC,uBAAuB,CAqB7B;IAEF,OAAO,CAAC,SAAS,CAEf;IAGF,OAAO,CAAC,uBAAuB,CAS7B;IAEK,mBAAmB,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI,CAQ9C;IAEM,mBAAmB,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI,CAQ9C;IAEM,gBAAgB,QAAO,IAAI,CAMhC;IAEK,mBAAmB,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAIzC;IAEM,aAAa,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI,CAQ3C;IAED,OAAO,CAAC,eAAe,CAUrB;IAEF,OAAO,CAAC,YAAY,CAElB;IAEF,OAAO,CAAC,eAAe,CAErB;IAEF,OAAO,CAAC,UAAU,CAahB;IAEF,OAAO,CAAC,oBAAoB;IAuB5B,OAAO,CAAC,qBAAqB;CAOhC"}
|
package/esm/Overlay/Overlay.js
CHANGED
|
@@ -3,6 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { Component, createRef, } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { bindAll, debounce, isEqual, pick } from "lodash-es";
|
|
6
|
+
import { flushSync } from "react-dom";
|
|
6
7
|
import isReactEqual from "react-fast-compare";
|
|
7
8
|
import { Portal } from "react-portal";
|
|
8
9
|
import { v4 as uuid } from "uuid";
|
|
@@ -88,7 +89,7 @@ export class Overlay extends Component {
|
|
|
88
89
|
overlayRef = createRef();
|
|
89
90
|
containerRef = createRef();
|
|
90
91
|
resizeHandler = debounce(() => {
|
|
91
|
-
this.
|
|
92
|
+
this.realign();
|
|
92
93
|
}, 100);
|
|
93
94
|
portalNode = null;
|
|
94
95
|
isComponentMounted;
|
|
@@ -96,6 +97,8 @@ export class Overlay extends Component {
|
|
|
96
97
|
alignmentTimeoutId;
|
|
97
98
|
static contextType = OverlayContext;
|
|
98
99
|
observer;
|
|
100
|
+
lockedAlignPoints;
|
|
101
|
+
bottomFromTarget = 0;
|
|
99
102
|
constructor(props) {
|
|
100
103
|
super(props);
|
|
101
104
|
this.state = {
|
|
@@ -160,8 +163,12 @@ export class Overlay extends Component {
|
|
|
160
163
|
render() {
|
|
161
164
|
// Need stop propagation of events from Portal thats new behavior of react 16
|
|
162
165
|
// https://github.com/facebook/react/issues/11387
|
|
163
|
-
return (_jsxs("span", { "data-testid": "portal-scroll-anchor", className: "s-portal-scroll-anchor", ref: this.containerRef, style: { display: "none" }, children: [_jsx(OverlayParentScrollAligner, { alignOnParentScroll: this.props.alignOnParentScroll, closeOnAnchorHidden: this.props.closeOnAnchorHidden, anchorKey: this.props.alignTo, getAnchor: this.getAlignAnchor, onParentScroll: this.
|
|
166
|
+
return (_jsxs("span", { "data-testid": "portal-scroll-anchor", className: "s-portal-scroll-anchor", ref: this.containerRef, style: { display: "none" }, children: [_jsx(OverlayParentScrollAligner, { alignOnParentScroll: this.props.alignOnParentScroll, closeOnAnchorHidden: this.props.closeOnAnchorHidden, anchorKey: this.props.alignTo, getAnchor: this.getAlignAnchor, onParentScroll: this.realign, onAnchorHidden: this.closeOnAnchorHidden }), _jsx(Portal, { node: this.portalNode, children: _jsxs("div", { id: this.id, className: cx(this.props.containerClassName, OVERLAY_CONTENT_CLASS), onClick: this.props.onClick, onMouseOver: this.props.onMouseOver, onMouseUp: this.props.onMouseUp, children: [this.renderMask(), _jsx("div", { ref: this.overlayRef, style: this.getOverlayStyles(), className: this.getOverlayClasses(), children: _jsx(OverlayZIndexContext.Provider, { value: this.getZIndex() ?? FALLBACK_OVERLAY_Z_INDEX, children: this.props.children }) })] }) })] }));
|
|
164
167
|
}
|
|
168
|
+
realign = () => {
|
|
169
|
+
this.lockedAlignPoints = undefined;
|
|
170
|
+
this.align();
|
|
171
|
+
};
|
|
165
172
|
align = () => {
|
|
166
173
|
const { alignPoints, alignTo, positionType } = this.props;
|
|
167
174
|
const overlay = this.overlayRef.current;
|
|
@@ -169,17 +176,22 @@ export class Overlay extends Component {
|
|
|
169
176
|
return;
|
|
170
177
|
}
|
|
171
178
|
const isSameAsTarget = this.isSameAsTargetPosition(positionType ?? "absolute");
|
|
179
|
+
const targetRegion = elementRegion(alignTo, isSameAsTarget);
|
|
180
|
+
const selfRegion = elementRegion(overlay);
|
|
172
181
|
const optimalAlign = getOptimalAlignment({
|
|
173
|
-
targetRegion
|
|
174
|
-
selfRegion
|
|
175
|
-
alignPoints,
|
|
182
|
+
targetRegion,
|
|
183
|
+
selfRegion,
|
|
184
|
+
alignPoints: this.lockedAlignPoints ?? alignPoints,
|
|
176
185
|
ignoreScrollOffsets: isSameAsTarget,
|
|
177
186
|
});
|
|
187
|
+
const alignment = this.props.keepBottomOnResize
|
|
188
|
+
? this.keepBottomEdge(optimalAlign.alignment, selfRegion.height, targetRegion.top, isSameAsTarget ? isFixedPosition(alignTo) : positionType === "fixed")
|
|
189
|
+
: optimalAlign.alignment;
|
|
178
190
|
// process also if visiblePart is 1 to get dimensions of the overlay
|
|
179
191
|
const shouldApplyConstraints = this.props.ensureVisibility && (optimalAlign.visiblePart ?? 0) > 0;
|
|
180
192
|
const constrainedAlignment = shouldApplyConstraints
|
|
181
|
-
? this.calculateConstrainedAlignment(
|
|
182
|
-
:
|
|
193
|
+
? this.calculateConstrainedAlignment(alignment, overlay, positionType === "fixed")
|
|
194
|
+
: alignment;
|
|
183
195
|
const visiblePartChanged = this.hasVisiblePartChanged(optimalAlign.visiblePart ?? 0);
|
|
184
196
|
const alignmentChanged = alignExceedsThreshold(this.state.alignment, constrainedAlignment);
|
|
185
197
|
if (alignmentChanged || visiblePartChanged) {
|
|
@@ -187,15 +199,25 @@ export class Overlay extends Component {
|
|
|
187
199
|
alignment: alignmentChanged ? constrainedAlignment : prevState.alignment,
|
|
188
200
|
visiblePart: visiblePartChanged ? (optimalAlign.visiblePart ?? 0) : prevState.visiblePart,
|
|
189
201
|
}), () => {
|
|
190
|
-
const alignmentToReport = alignmentChanged
|
|
191
|
-
? constrainedAlignment
|
|
192
|
-
: optimalAlign.alignment;
|
|
202
|
+
const alignmentToReport = alignmentChanged ? constrainedAlignment : alignment;
|
|
193
203
|
this.props.onAlign?.(alignmentToReport);
|
|
194
204
|
});
|
|
195
205
|
}
|
|
196
206
|
else {
|
|
197
|
-
this.props.onAlign?.(
|
|
207
|
+
this.props.onAlign?.(alignment);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
keepBottomEdge = (alignment, height, targetTop, ignoreScrollOffsets) => {
|
|
211
|
+
if (!this.lockedAlignPoints) {
|
|
212
|
+
this.lockedAlignPoints = this.props.alignPoints?.filter((point) => point.align === alignment.align);
|
|
213
|
+
this.bottomFromTarget = alignment.top + height - targetTop;
|
|
198
214
|
}
|
|
215
|
+
const viewportTop = ignoreScrollOffsets
|
|
216
|
+
? 0
|
|
217
|
+
: window.visualViewport?.pageTop || window.scrollY || document.documentElement.scrollTop;
|
|
218
|
+
const viewportHeight = window.visualViewport?.height || window.innerHeight;
|
|
219
|
+
const top = Math.max(viewportTop, Math.min(targetTop + this.bottomFromTarget - height, viewportTop + viewportHeight - height));
|
|
220
|
+
return { ...alignment, top };
|
|
199
221
|
};
|
|
200
222
|
calculateConstrainedAlignment = (alignment, overlay, ignoreScrollOffsets) => {
|
|
201
223
|
const overlayRegion = elementRegion(overlay);
|
|
@@ -453,7 +475,12 @@ export class Overlay extends Component {
|
|
|
453
475
|
const heightDiffersByThreshold = Math.abs(this.state.observedHeight - newHeightCandidate) / this.state.observedHeight >
|
|
454
476
|
(this.props.resizeObserverThreshold ?? 1);
|
|
455
477
|
if (heightDiffersByThreshold) {
|
|
456
|
-
this.
|
|
478
|
+
if (this.props.keepBottomOnResize) {
|
|
479
|
+
flushSync(this.align);
|
|
480
|
+
}
|
|
481
|
+
else {
|
|
482
|
+
this.resizeHandler();
|
|
483
|
+
}
|
|
457
484
|
this.setState({ observedHeight: newHeightCandidate });
|
|
458
485
|
}
|
|
459
486
|
});
|
package/esm/Overlay/typings.d.ts
CHANGED
|
@@ -34,6 +34,12 @@ export interface IOverlayProps<T> {
|
|
|
34
34
|
* changes by 10% of its height.
|
|
35
35
|
*/
|
|
36
36
|
resizeObserverThreshold?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Keeps the align point chosen on open. When the overlay height changes, its bottom edge stays in place
|
|
39
|
+
* and the overlay moves only to stay within the viewport, so a control clicked near the bottom stays under
|
|
40
|
+
* the pointer. Requires resizeObserverThreshold lower than 1. Not meant to be combined with ensureVisibility.
|
|
41
|
+
*/
|
|
42
|
+
keepBottomOnResize?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
* Array of refs where user clicks should be ignored
|
|
39
45
|
* and overlay should not be closed by clicking on them
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../src/Overlay/typings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,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ox" id="a"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation=".5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.0784313725 0 0 0 0 0.223529412 0 0 0 0 0.364705882 0 0 0 0.1 0" in="shadowBlurOuter1" result="shadowMatrixOuter1"/><feMerge><feMergeNode in="shadowMatrixOuter1"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(-10 -5)" filter="url(#a)" fill="#
|
|
1
|
+
<svg width="18" height="18" xmlns="http://www.w3.org/2000/svg"><defs><filter x="-4.3%" y="-14.8%" width="108.5%" height="129.6%" filterUnits="objectBoundingBox" id="a"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation=".5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.0784313725 0 0 0 0 0.223529412 0 0 0 0 0.364705882 0 0 0 0.1 0" in="shadowBlurOuter1" result="shadowMatrixOuter1"/><feMerge><feMergeNode in="shadowMatrixOuter1"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(-10 -5)" filter="url(#a)" fill="#6A737D"><path d="M18.602 20.203c.49 0 .97-.013 1.441-.039.471-.026.927-.065 1.367-.117.44-.052.86-.116 1.262-.192.4-.075.776-.16 1.125-.253.349-.1.663-.206.941-.32a4.27 4.27 0 0 0 .715-.368 1.9 1.9 0 0 0 .563-.523c.125-.188.187-.386.187-.594V8.203c0-.208-.062-.406-.187-.594a1.898 1.898 0 0 0-.563-.523 4.233 4.233 0 0 0-.715-.367 8.792 8.792 0 0 0-.941-.32 15.15 15.15 0 0 0-1.125-.254c-.401-.076-.822-.14-1.262-.192-.44-.052-.896-.091-1.367-.117a26.13 26.13 0 0 0-2.883 0c-.471.026-.928.065-1.37.117a18.57 18.57 0 0 0-1.267.192c-.4.075-.776.16-1.125.253a8.516 8.516 0 0 0-.937.32 4.286 4.286 0 0 0-.711.368 1.9 1.9 0 0 0-.563.523 1.053 1.053 0 0 0-.187.594v9.594c0 .208.063.406.188.594.124.187.312.362.562.523.198.13.435.253.71.367.277.115.59.222.938.32.35.094.724.179 1.125.254.401.076.823.14 1.266.192.443.052.9.091 1.371.117.472.026.952.04 1.442.04Zm0-10.406c-.474 0-.938-.012-1.391-.035a20.254 20.254 0 0 1-2.523-.29c-.386-.07-.743-.152-1.07-.245-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.341-.371-.43 0-.094.124-.24.371-.437.247-.198.73-.396 1.45-.594.327-.094.684-.176 1.07-.246a19.24 19.24 0 0 1 2.523-.29 26.926 26.926 0 0 1 2.777 0 20.256 20.256 0 0 1 2.524.29c.383.07.74.152 1.074.246.719.198 1.2.396 1.445.594.245.198.367.343.367.437 0 .089-.122.232-.367.43-.245.198-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246 19.437 19.437 0 0 1-2.524.289c-.455.023-.918.035-1.386.035Zm0 3.203a24.24 24.24 0 0 1-2.704-.148 17.552 17.552 0 0 1-1.21-.176c-.386-.07-.743-.153-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.344-.371-.438V9.344c.198.125.43.242.7.351.267.11.568.211.901.305.35.099.724.185 1.125.258a22.237 22.237 0 0 0 2.637.305 26.13 26.13 0 0 0 2.883 0 21.934 21.934 0 0 0 2.629-.305c.4-.073.776-.159 1.125-.258.338-.094.64-.195.906-.305.266-.11.498-.226.695-.351v2.054c0 .094-.122.24-.367.438s-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246c-.383.07-.785.129-1.207.176a24.678 24.678 0 0 1-2.703.148Zm0 3.203c-.474 0-.938-.013-1.391-.039-.453-.026-.89-.064-1.313-.113a19.24 19.24 0 0 1-1.21-.18c-.386-.07-.743-.152-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.34-.371-.43v-2.054c.198.125.43.242.7.351.267.11.568.211.901.305.35.094.724.179 1.125.254.401.076.823.138 1.266.188a26.13 26.13 0 0 0 5.621 0c.44-.05.86-.112 1.262-.188.4-.075.776-.16 1.125-.254.338-.094.64-.195.906-.305.266-.109.498-.226.695-.351v2.055c0 .088-.122.231-.367.43-.245.197-.726.395-1.445.593a11.94 11.94 0 0 1-1.074.246c-.383.07-.785.13-1.207.18a24.305 24.305 0 0 1-2.703.152Zm0 3.195c-.474 0-.938-.011-1.391-.035a20.254 20.254 0 0 1-2.523-.289c-.386-.07-.743-.152-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.343-.371-.437V15.75c.198.12.43.234.7.344.267.11.568.21.901.304.35.1.724.185 1.125.258.401.073.823.136 1.266.188.443.052.9.09 1.371.117a26.13 26.13 0 0 0 2.883 0 21.934 21.934 0 0 0 2.629-.305c.4-.073.776-.159 1.125-.258.338-.093.64-.195.906-.304a5.09 5.09 0 0 0 .695-.344v2.047c0 .094-.122.24-.367.437-.245.198-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246 19.437 19.437 0 0 1-2.524.29c-.455.023-.918.034-1.386.034Z"/></g></svg>
|
package/esm/assets/home.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M16.502 9.501a.5.5 0 0 1 .5.5v8c0 .827-.673 1.5-1.5 1.5h-4a.5.5 0 0 1-.5-.5v-3.5h-2v3.5a.5.5 0 0 1-.5.5h-4c-.827 0-1.5-.673-1.5-1.5v-8a.5.5 0 0 1 1 0v8a.5.5 0 0 0 .5.5h3.5v-3.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3.5h3.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 1 .5-.5ZM10.003.438c.397 0 .767.167 1.042.47l2.965 3.277-.007-1.18a.5.5 0 0 1 .5-.502h2a.5.5 0 0 1 .5.5v4.492l2.871 3.173a.5.5 0 0 1-.741.671l-3-3.316a.501.501 0 0 1-.129-.335V3.504h-.997l.011 1.986a.501.501 0 0 1-.871.338l-3.843-4.247a.404.404 0 0 0-.3-.141.404.404 0 0 0-.3.141L.875 11.339a.5.5 0 0 1-.371.165l-.002-.003a.498.498 0 0 1-.37-.835L8.961.908c.274-.303.644-.47 1.042-.47Z" fill="#
|
|
1
|
+
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M16.502 9.501a.5.5 0 0 1 .5.5v8c0 .827-.673 1.5-1.5 1.5h-4a.5.5 0 0 1-.5-.5v-3.5h-2v3.5a.5.5 0 0 1-.5.5h-4c-.827 0-1.5-.673-1.5-1.5v-8a.5.5 0 0 1 1 0v8a.5.5 0 0 0 .5.5h3.5v-3.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3.5h3.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 1 .5-.5ZM10.003.438c.397 0 .767.167 1.042.47l2.965 3.277-.007-1.18a.5.5 0 0 1 .5-.502h2a.5.5 0 0 1 .5.5v4.492l2.871 3.173a.5.5 0 0 1-.741.671l-3-3.316a.501.501 0 0 1-.129-.335V3.504h-.997l.011 1.986a.501.501 0 0 1-.871.338l-3.843-4.247a.404.404 0 0 0-.3-.141.404.404 0 0 0-.3.141L.875 11.339a.5.5 0 0 1-.371.165l-.002-.003a.498.498 0 0 1-.37-.835L8.961.908c.274-.303.644-.47 1.042-.47Z" fill="#6A737D" fill-rule="evenodd"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20 20"><path d="M16 12a4 4 0 0 0-3.325 1.779l-4.902-2.451C7.92 10.912 8 10.466 8 10s-.08-.912-.227-1.328l4.902-2.451A4 4 0 1 0 16 0a4.004 4.004 0 0 0-3.773 5.327L7.325 7.778A3.998 3.998 0 0 0 0 10c0 2.206 1.794 4 4 4a4 4 0 0 0 3.325-1.779l4.902 2.451A4.004 4.004 0 0 0 16 20c2.206 0 4-1.794 4-4s-1.794-4-4-4zm0-11c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3 1.346-3 3-3zM4 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3zm12 6c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z" fill="#
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20 20"><path d="M16 12a4 4 0 0 0-3.325 1.779l-4.902-2.451C7.92 10.912 8 10.466 8 10s-.08-.912-.227-1.328l4.902-2.451A4 4 0 1 0 16 0a4.004 4.004 0 0 0-3.773 5.327L7.325 7.778A3.998 3.998 0 0 0 0 10c0 2.206 1.794 4 4 4a4 4 0 0 0 3.325-1.779l4.902 2.451A4.004 4.004 0 0 0 16 20c2.206 0 4-1.794 4-4s-1.794-4-4-4zm0-11c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3 1.346-3 3-3zM4 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3zm12 6c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z" fill="#6A737D"/></svg>
|
package/esm/index.d.ts
CHANGED
|
@@ -504,7 +504,7 @@ export { UiSearchableSelectSearch, type IUiSearchableSelectSearchProps, } from "
|
|
|
504
504
|
export { UiDialogBody, type IUiDialogBodyProps } from "./@ui/UiModalDialog/UiDialogBody.js";
|
|
505
505
|
export { UiTextInput, type IUiTextInputProps, type IUiTextInputIconAfterButton, } from "./@ui/UiTextInput/UiTextInput.js";
|
|
506
506
|
export { UiConfigEditor } from "./@ui/UiConfigEditor/UiConfigEditor.js";
|
|
507
|
-
export { type IUiConfigEditorProps, type IUiConfigEditorApi, type IUiConfigEditorContextMenuProps, type IUiConfigEditorLabels, } from "./@ui/UiConfigEditor/types.js";
|
|
507
|
+
export { type IUiConfigEditorProps, type IUiConfigEditorApi, type IUiConfigEditorContextMenuProps, type IUiConfigEditorLabels, type IUiConfigEditorWarning, } from "./@ui/UiConfigEditor/types.js";
|
|
508
508
|
export { preloadUiConfigEditorGrammars } from "./@ui/UiConfigEditor/configEditorGrammars.js";
|
|
509
509
|
export { type ConfigEditorLanguage } from "./@ui/UiConfigEditor/configEditorLanguage.js";
|
|
510
510
|
export { UiRadio, type IUiRadioProps } from "./@ui/UiRadio/UiRadio.js";
|