@gooddata/sdk-ui-kit 11.65.0-alpha.0 → 11.65.0-alpha.10
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/UiChip/ChipActionButton.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipActionButton.js +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/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/Message.d.ts +1 -1
- package/esm/Messages/Message.d.ts.map +1 -1
- package/esm/Messages/Message.js +3 -2
- package/esm/Messages/typings.d.ts +3 -0
- package/esm/Messages/typings.d.ts.map +1 -1
- package/esm/Messages/typings.js +1 -1
- 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/sdk-ui-kit.d.ts +16 -2
- 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/UiFloatingPanel/UiFloatingPanel.scss +0 -1
- package/src/@ui/UiResizableSidebar/UiResizableSidebar.scss +1 -1
- package/src/@ui/UiSearchableSelect/UiSearchableSelect.scss +0 -2
- package/src/@ui/defaultTheme.scss +6 -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 +78 -83
- 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
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,OAAO,CAAC;IAC9B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,EAAE,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,SAAS,KAAK,IAAI,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;IAEnC,kBAAkB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,OAAO,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CAC1B"}
|
|
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,OAAO,CAAC;IAC9B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,EAAE,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,SAAS,KAAK,IAAI,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;IAEnC,kBAAkB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,OAAO,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
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="#
|
|
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/sdk-ui-kit.d.ts
CHANGED
|
@@ -1179,7 +1179,7 @@ export declare const GD_COLOR_HIGHLIGHT = "#14b2e2";
|
|
|
1179
1179
|
/**
|
|
1180
1180
|
* @internal
|
|
1181
1181
|
*/
|
|
1182
|
-
export declare const GD_COLOR_STATE_BLANK = "#
|
|
1182
|
+
export declare const GD_COLOR_STATE_BLANK = "#6a737d";
|
|
1183
1183
|
|
|
1184
1184
|
/**
|
|
1185
1185
|
* @internal
|
|
@@ -1921,6 +1921,8 @@ export declare interface IBubbleProps {
|
|
|
1921
1921
|
children?: ReactNode;
|
|
1922
1922
|
overlayPositionType?: OverlayPositionType;
|
|
1923
1923
|
ensureVisibility?: boolean;
|
|
1924
|
+
resizeObserverThreshold?: number;
|
|
1925
|
+
keepBottomOnResize?: boolean;
|
|
1924
1926
|
accessibilityConfig?: IBubbleAccessibilityConfig;
|
|
1925
1927
|
}
|
|
1926
1928
|
|
|
@@ -5115,6 +5117,8 @@ export declare interface IMessageProps {
|
|
|
5115
5117
|
intensive?: boolean;
|
|
5116
5118
|
children?: ReactNode;
|
|
5117
5119
|
dataTestId?: string;
|
|
5120
|
+
/** Accessibility attributes applied to the message container. */
|
|
5121
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
5118
5122
|
}
|
|
5119
5123
|
|
|
5120
5124
|
/**
|
|
@@ -5391,6 +5395,12 @@ export declare interface IOverlayProps<T> {
|
|
|
5391
5395
|
* changes by 10% of its height.
|
|
5392
5396
|
*/
|
|
5393
5397
|
resizeObserverThreshold?: number;
|
|
5398
|
+
/**
|
|
5399
|
+
* Keeps the align point chosen on open. When the overlay height changes, its bottom edge stays in place
|
|
5400
|
+
* and the overlay moves only to stay within the viewport, so a control clicked near the bottom stays under
|
|
5401
|
+
* the pointer. Requires resizeObserverThreshold lower than 1. Not meant to be combined with ensureVisibility.
|
|
5402
|
+
*/
|
|
5403
|
+
keepBottomOnResize?: boolean;
|
|
5394
5404
|
/**
|
|
5395
5405
|
* Array of refs where user clicks should be ignored
|
|
5396
5406
|
* and overlay should not be closed by clicking on them
|
|
@@ -11238,7 +11248,7 @@ export declare type MenuAlignment = ["bottom", "right"] | ["bottom", "left"] | [
|
|
|
11238
11248
|
/**
|
|
11239
11249
|
* @internal
|
|
11240
11250
|
*/
|
|
11241
|
-
export declare function Message({ id, onClose, type, children, className, contrast, intensive, dataTestId, }: IMessageProps): JSX.Element;
|
|
11251
|
+
export declare function Message({ id, onClose, type, children, className, contrast, intensive, dataTestId, accessibilityConfig, }: IMessageProps): JSX.Element;
|
|
11242
11252
|
|
|
11243
11253
|
/**
|
|
11244
11254
|
* @internal
|
|
@@ -11360,6 +11370,8 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
|
|
|
11360
11370
|
static contextType: Context<OverlayController | undefined>;
|
|
11361
11371
|
context: ContextType<typeof OverlayContext>;
|
|
11362
11372
|
private observer;
|
|
11373
|
+
private lockedAlignPoints;
|
|
11374
|
+
private bottomFromTarget;
|
|
11363
11375
|
constructor(props: IOverlayProps<T>);
|
|
11364
11376
|
UNSAFE_componentWillMount(): void;
|
|
11365
11377
|
componentDidMount(): void;
|
|
@@ -11368,7 +11380,9 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
|
|
|
11368
11380
|
componentDidUpdate(): void;
|
|
11369
11381
|
componentWillUnmount(): void;
|
|
11370
11382
|
render(): JSX.Element;
|
|
11383
|
+
private realign;
|
|
11371
11384
|
align: () => void;
|
|
11385
|
+
private keepBottomEdge;
|
|
11372
11386
|
private calculateConstrainedAlignment;
|
|
11373
11387
|
private clearAlignmentTimeout;
|
|
11374
11388
|
private alignWithTimeout;
|
package/esm/utils/constants.d.ts
CHANGED
package/esm/utils/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2020-
|
|
1
|
+
// (C) 2020-2026 GoodData Corporation
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
@@ -18,4 +18,4 @@ export const GD_COLOR_STATE_HOVER = "#94a1ad";
|
|
|
18
18
|
/**
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
export const GD_COLOR_STATE_BLANK = "#
|
|
21
|
+
export const GD_COLOR_STATE_BLANK = "#6a737d";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.65.0-alpha.
|
|
3
|
+
"version": "11.65.0-alpha.10",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"unified": "^11.0.5",
|
|
80
80
|
"uuid": "11.1.1",
|
|
81
81
|
"yaml": "2.8.3",
|
|
82
|
-
"@gooddata/sdk-backend-spi": "11.65.0-alpha.
|
|
83
|
-
"@gooddata/sdk-model": "11.65.0-alpha.
|
|
84
|
-
"@gooddata/sdk-ui
|
|
85
|
-
"@gooddata/
|
|
86
|
-
"@gooddata/
|
|
82
|
+
"@gooddata/sdk-backend-spi": "11.65.0-alpha.10",
|
|
83
|
+
"@gooddata/sdk-model": "11.65.0-alpha.10",
|
|
84
|
+
"@gooddata/sdk-ui": "11.65.0-alpha.10",
|
|
85
|
+
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.10",
|
|
86
|
+
"@gooddata/util": "11.65.0-alpha.10"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
"svgo": "2.8.4",
|
|
129
129
|
"typescript": "7.0.2",
|
|
130
130
|
"vitest": "5.0.4",
|
|
131
|
-
"@gooddata/eslint-config": "11.65.0-alpha.
|
|
132
|
-
"@gooddata/oxlint-config": "11.65.0-alpha.
|
|
133
|
-
"@gooddata/
|
|
134
|
-
"@gooddata/
|
|
135
|
-
"@gooddata/stylelint-config": "11.65.0-alpha.
|
|
131
|
+
"@gooddata/eslint-config": "11.65.0-alpha.10",
|
|
132
|
+
"@gooddata/oxlint-config": "11.65.0-alpha.10",
|
|
133
|
+
"@gooddata/reference-workspace": "11.65.0-alpha.10",
|
|
134
|
+
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.10",
|
|
135
|
+
"@gooddata/stylelint-config": "11.65.0-alpha.10"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
138
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -47,15 +47,6 @@
|
|
|
47
47
|
height: var(--gd-table-row-height-small);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
&:focus-visible {
|
|
51
|
-
outline: none;
|
|
52
|
-
|
|
53
|
-
#{$root}__cell--isFocused {
|
|
54
|
-
transition: outline 0s ease-in-out;
|
|
55
|
-
@include mixins.focus-ring;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
50
|
#{$root}__cell {
|
|
60
51
|
transition: color 0.25s ease-in-out;
|
|
61
52
|
border-bottom: 2px solid var(--gd-palette-complementary-3);
|
|
@@ -458,7 +449,10 @@
|
|
|
458
449
|
line-height: 20px;
|
|
459
450
|
}
|
|
460
451
|
|
|
461
|
-
|
|
452
|
+
&__grid:focus-visible {
|
|
453
|
+
outline: none;
|
|
454
|
+
|
|
455
|
+
#{$root}__cell--isFocused,
|
|
462
456
|
#{$root}__row--focused,
|
|
463
457
|
#{$root}__cell--focused {
|
|
464
458
|
@include mixins.focus-ring;
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
.gd-ui-kit-floating-panel {
|
|
8
8
|
position: relative;
|
|
9
9
|
background-color: var(--gd-palette-complementary-0, #fff);
|
|
10
|
-
border: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
|
11
10
|
border-radius: 3px;
|
|
12
11
|
box-shadow: 0 1px 20px var(--gd-shadow-color, rgba(20, 56, 93, 0.15));
|
|
13
12
|
font-family: var(--gd-font-family), gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif;
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
padding: 6.5px 10px;
|
|
41
41
|
border-radius: 3px;
|
|
42
42
|
border: 1px solid var(--gd-palette-complementary-4);
|
|
43
|
-
// "Shadow selectbox default" of the Select in Figma; hover and pressed have their own
|
|
44
43
|
box-shadow: 0 1px 1px 0 rgba(48, 52, 66, 0.05);
|
|
45
44
|
|
|
46
45
|
/**
|
|
@@ -91,7 +90,6 @@
|
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
// long values are cut off, so that the icon stays visible
|
|
95
93
|
&__button-title {
|
|
96
94
|
@include mixins.text-overflow;
|
|
97
95
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--gd-palette-complementary-4: #ccd8e2;
|
|
17
17
|
--gd-palette-complementary-5: #b0beca;
|
|
18
18
|
--gd-palette-complementary-6: #94a1ad;
|
|
19
|
-
--gd-palette-complementary-7: #
|
|
19
|
+
--gd-palette-complementary-7: #6a737d;
|
|
20
20
|
--gd-palette-complementary-8: #464e56;
|
|
21
21
|
--gd-palette-complementary-9: #000;
|
|
22
22
|
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
|
|
116
116
|
// Chart
|
|
117
117
|
--gd-chart-axis-color: var(--gd-palette-complementary-4-from-theme, #ccd6eb);
|
|
118
|
-
--gd-chart-axis-labelColor: var(--gd-palette-complementary-7
|
|
118
|
+
--gd-chart-axis-labelColor: var(--gd-palette-complementary-7);
|
|
119
119
|
--gd-chart-axis-valueColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
120
120
|
--gd-chart-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
121
121
|
--gd-chart-gridColor: var(--gd-palette-complementary-3-from-theme, #ebebeb);
|
|
122
|
-
--gd-chart-legendValueColor: var(--gd-palette-complementary-7
|
|
122
|
+
--gd-chart-legendValueColor: var(--gd-palette-complementary-7);
|
|
123
123
|
--gd-chart-tooltip-backgroundColor: var(
|
|
124
124
|
--gd-chart-tooltipBackgroundColor,
|
|
125
125
|
var(--gd-palette-complementary-0-from-theme, rgba(255, 255, 255, 0.95))
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
--gd-chart-dataLabel-backplateBorderColor: var(--gd-palette-complementary-3-from-theme, #dde4eb);
|
|
140
140
|
--gd-chart-dataLabel-backplateBorderRadius: 2px;
|
|
141
141
|
--gd-chart-axisColor: var(--gd-palette-complementary-4-from-theme, #ccd6eb);
|
|
142
|
-
--gd-chart-axisLabelColor: var(--gd-palette-complementary-7
|
|
142
|
+
--gd-chart-axisLabelColor: var(--gd-palette-complementary-7);
|
|
143
143
|
--gd-chart-axisValueColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
144
144
|
--gd-chart-tooltipBackgroundColor: var(
|
|
145
145
|
--gd-palette-complementary-0-from-theme,
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
--gd-palette-complementary-7-from-theme,
|
|
164
164
|
var(--gd-palette-complementary-8, #464e56)
|
|
165
165
|
);
|
|
166
|
-
--gd-table-hoverBackgroundColor: var(--gd-palette-complementary-1-from-theme, rgba(
|
|
166
|
+
--gd-table-hoverBackgroundColor: var(--gd-palette-complementary-1-from-theme, rgba(106, 115, 125, 0.1));
|
|
167
167
|
--gd-table-loadingIconColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
168
168
|
--gd-table-nullValueColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
169
169
|
--gd-table-subtotalBackgroundColor: var(
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
--gd-dashboards-content-kpiWidget-dropShadow: var(--gd-dashboards-content-widget-dropShadow, none);
|
|
198
198
|
--gd-dashboards-content-kpiWidget-kpi-primaryMeasureColor: var(
|
|
199
199
|
--gd-palette-complementary-9-from-theme,
|
|
200
|
-
#
|
|
200
|
+
#6a737d
|
|
201
201
|
);
|
|
202
202
|
--gd-dashboards-content-kpiWidget-kpi-secondaryInfoColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
203
203
|
--gd-dashboards-content-kpiWidget-title-color: var(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// added nothing to the output. It did, however, put button.scss in a second module context, and
|
|
6
6
|
// dart-sass (1.80-1.104) then mis-reports button.scss's own `@extend %btn` as unsatisfied for any
|
|
7
7
|
// consumer that compiles main.scss from source with a downstream `@extend .gd-button-link` - which
|
|
8
|
-
// is exactly what the modeler dev server does (see gdc-ldm-modeler
|
|
8
|
+
// is exactly what the modeler dev server does (see gdc-ldm-modeler/src/styles/app.scss).
|
|
9
9
|
@use "../../styles/scss/mixins";
|
|
10
10
|
@use "../../styles/scss/typo-mixins";
|
|
11
11
|
@use "../../styles/scss/variables" as variables;
|
package/styles/css/button.css
CHANGED
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-]::before, .gd-button-icon-only[class*=gd-icon-].gd-button-link-dimmed::before,
|
|
469
469
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-] .gd-button-icon,
|
|
470
470
|
.gd-button-icon-only[class*=gd-icon-].gd-button-link-dimmed .gd-button-icon {
|
|
471
|
-
color: var(--gd-palette-complementary-7
|
|
471
|
+
color: var(--gd-palette-complementary-7);
|
|
472
472
|
}
|
|
473
473
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-]:active::before, .gd-button-icon-only[class*=gd-icon-].gd-button-link-dimmed:active::before,
|
|
474
474
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-]:active .gd-button-icon,
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
.button-dropdown:hover .gd-button-icon, .button-dropdown:active::after, .button-dropdown:active::before,
|
|
510
510
|
.button-dropdown:active .gd-button-icon, .button-dropdown.is-active::after, .button-dropdown.is-active::before,
|
|
511
511
|
.button-dropdown.is-active .gd-button-icon {
|
|
512
|
-
color: var(--gd-palette-complementary-7
|
|
512
|
+
color: var(--gd-palette-complementary-7);
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
/* Button sizes
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
border-top-left-radius: 3px;
|
|
51
51
|
border-top-right-radius: 3px;
|
|
52
52
|
font-size: 12px;
|
|
53
|
-
color: var(--gd-palette-complementary-7
|
|
53
|
+
color: var(--gd-palette-complementary-7);
|
|
54
54
|
}
|
|
55
55
|
.gd-sort-charting-dropdown .gd-sort-charting-dropdown button {
|
|
56
56
|
width: 100%;
|
package/styles/css/dialog.css
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
.gd-dialog:not(.gd-dropdown) .gd-dialog-close.gd-button-link::before,
|
|
64
64
|
.overlay.gd-dialog:not(.gd-dropdown) .gd-dialog-close::before,
|
|
65
65
|
.overlay.gd-dialog:not(.gd-dropdown) .gd-dialog-close.gd-button-link::before {
|
|
66
|
-
color: var(--gd-palette-complementary-7
|
|
66
|
+
color: var(--gd-palette-complementary-7);
|
|
67
67
|
}
|
|
68
68
|
.gd-dialog:not(.gd-dropdown) .gd-dialog-close:hover, .gd-dialog:not(.gd-dropdown) .gd-dialog-close:focus, .gd-dialog:not(.gd-dropdown) .gd-dialog-close:active,
|
|
69
69
|
.gd-dialog:not(.gd-dropdown) .gd-dialog-close.gd-button-link:hover,
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
margin-bottom: 0.7em;
|
|
259
259
|
}
|
|
260
260
|
.gd-community-dialog-links li a {
|
|
261
|
-
color: #
|
|
261
|
+
color: #6a737d;
|
|
262
262
|
text-decoration: underline;
|
|
263
263
|
}
|
|
264
264
|
|
package/styles/css/form.css
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
.gd-input-field::-webkit-input-placeholder,
|
|
42
42
|
.input-text::-webkit-input-placeholder {
|
|
43
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
43
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
44
44
|
-moz-transition-property: color;
|
|
45
45
|
-webkit-transition-property: color;
|
|
46
46
|
transition-property: color;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
.gd-input-field:-moz-placeholder,
|
|
55
55
|
.input-text:-moz-placeholder {
|
|
56
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
56
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
57
57
|
-moz-transition-property: color;
|
|
58
58
|
-webkit-transition-property: color;
|
|
59
59
|
transition-property: color;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
.gd-input-field::-moz-placeholder,
|
|
68
68
|
.input-text::-moz-placeholder {
|
|
69
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
69
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
70
70
|
-moz-transition-property: color;
|
|
71
71
|
-webkit-transition-property: color;
|
|
72
72
|
transition-property: color;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
.gd-input-field:-ms-input-placeholder,
|
|
81
81
|
.input-text:-ms-input-placeholder {
|
|
82
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
82
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
83
83
|
-moz-transition-property: color;
|
|
84
84
|
-webkit-transition-property: color;
|
|
85
85
|
transition-property: color;
|
|
@@ -96,19 +96,19 @@
|
|
|
96
96
|
}
|
|
97
97
|
.gd-input-field:hover::-webkit-input-placeholder,
|
|
98
98
|
.input-text:hover::-webkit-input-placeholder {
|
|
99
|
-
color: var(--gd-palette-complementary-7
|
|
99
|
+
color: var(--gd-palette-complementary-7);
|
|
100
100
|
}
|
|
101
101
|
.gd-input-field:hover:-moz-placeholder,
|
|
102
102
|
.input-text:hover:-moz-placeholder {
|
|
103
|
-
color: var(--gd-palette-complementary-7
|
|
103
|
+
color: var(--gd-palette-complementary-7);
|
|
104
104
|
}
|
|
105
105
|
.gd-input-field:hover::-moz-placeholder,
|
|
106
106
|
.input-text:hover::-moz-placeholder {
|
|
107
|
-
color: var(--gd-palette-complementary-7
|
|
107
|
+
color: var(--gd-palette-complementary-7);
|
|
108
108
|
}
|
|
109
109
|
.gd-input-field:hover:-ms-input-placeholder,
|
|
110
110
|
.input-text:hover:-ms-input-placeholder {
|
|
111
|
-
color: var(--gd-palette-complementary-7
|
|
111
|
+
color: var(--gd-palette-complementary-7);
|
|
112
112
|
}
|
|
113
113
|
.gd-input-field:focus,
|
|
114
114
|
.input-text:focus {
|
|
@@ -227,7 +227,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
227
227
|
.gd-input-icon-clear,
|
|
228
228
|
.searchfield-clear {
|
|
229
229
|
right: 10px;
|
|
230
|
-
color: var(--gd-palette-complementary-7
|
|
230
|
+
color: var(--gd-palette-complementary-7);
|
|
231
231
|
cursor: pointer;
|
|
232
232
|
padding: 0;
|
|
233
233
|
background: none;
|
|
@@ -300,7 +300,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
300
300
|
flex: 0 0 auto;
|
|
301
301
|
margin-right: 20px;
|
|
302
302
|
white-space: nowrap;
|
|
303
|
-
color: var(--gd-palette-complementary-7
|
|
303
|
+
color: var(--gd-palette-complementary-7);
|
|
304
304
|
font-size: 14px;
|
|
305
305
|
}
|
|
306
306
|
|