@gooddata/sdk-ui-kit 10.30.0-alpha.8 → 10.30.0
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/UiFocusTrap/UiFocusTrap.d.ts +1 -0
- package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts.map +1 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.js +31 -15
- package/esm/@ui/UiFocusTrap/UiFocusTrap.js.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.js +3 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.js.map +1 -1
- package/esm/@ui/UiMenu/types.d.ts +3 -0
- package/esm/@ui/UiMenu/types.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts +12 -0
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +24 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js.map +1 -1
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.d.ts +3 -2
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.js +9 -4
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.js.map +1 -1
- package/esm/Dropdown/Dropdown.d.ts +1 -0
- package/esm/Dropdown/Dropdown.d.ts.map +1 -1
- package/esm/Dropdown/Dropdown.js +15 -12
- package/esm/Dropdown/Dropdown.js.map +1 -1
- package/esm/Header/Header.d.ts.map +1 -1
- package/esm/Header/Header.js +1 -2
- package/esm/Header/Header.js.map +1 -1
- package/esm/List/AsyncList.js +1 -1
- package/esm/List/InvertableSelect/InvertableSelect.js +1 -1
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.d.ts +2 -0
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.js +6 -3
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.d.ts +91 -0
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.d.ts.map +1 -0
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js +174 -0
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js.map +1 -0
- package/esm/List/InvertableSelect/index.d.ts +2 -0
- package/esm/List/InvertableSelect/index.d.ts.map +1 -1
- package/esm/List/InvertableSelect/index.js +1 -0
- package/esm/List/InvertableSelect/index.js.map +1 -1
- package/esm/List/List.js +1 -1
- package/esm/List/List.js.map +1 -1
- package/esm/List/index.d.ts +2 -2
- package/esm/List/index.d.ts.map +1 -1
- package/esm/List/index.js +1 -1
- package/esm/List/index.js.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.js +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.js.map +1 -1
- package/esm/Timepicker/Timepicker.js +1 -1
- package/esm/Timepicker/Timepicker.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +114 -3
- package/esm/utils/useAutofocusOnMount.d.ts.map +1 -1
- package/esm/utils/useAutofocusOnMount.js +6 -4
- package/esm/utils/useAutofocusOnMount.js.map +1 -1
- package/package.json +8 -8
- package/src/@ui/UiMenu/UiMenu.scss +24 -0
- package/styles/css/header.css +14 -41
- package/styles/css/header.css.map +1 -1
- package/styles/css/main.css +36 -41
- package/styles/css/main.css.map +1 -1
- package/styles/css/overlay.css +4 -0
- package/styles/css/overlay.css.map +1 -1
- package/styles/scss/header.scss +7 -43
- package/styles/scss/overlay.scss +7 -1
package/esm/sdk-ui-kit.d.ts
CHANGED
@@ -587,7 +587,7 @@ export declare const DefaultUiMenuHeader: React_2.FC;
|
|
587
587
|
/**
|
588
588
|
* @internal
|
589
589
|
*/
|
590
|
-
export declare function DefaultUiMenuInteractiveItem<T extends IUiMenuItemData = object>({ item, isFocused, onSelect, }: IUiMenuInteractiveItemProps<T>): React_2.ReactNode;
|
590
|
+
export declare function DefaultUiMenuInteractiveItem<T extends IUiMenuItemData = object>({ item, isFocused, onSelect, size, }: IUiMenuInteractiveItemProps<T>): React_2.ReactNode;
|
591
591
|
|
592
592
|
/**
|
593
593
|
* @internal
|
@@ -2189,6 +2189,7 @@ export declare interface IDropdownProps {
|
|
2189
2189
|
triggerRole?: "button" | "combobox";
|
2190
2190
|
popupRole?: "listbox" | "tree" | "grid" | "dialog";
|
2191
2191
|
};
|
2192
|
+
isTabCaught?: boolean;
|
2192
2193
|
}
|
2193
2194
|
|
2194
2195
|
/**
|
@@ -2735,6 +2736,8 @@ export declare interface IInvertableSelectAllCheckboxProps {
|
|
2735
2736
|
totalItemsCount: number;
|
2736
2737
|
isPartialSelection: boolean;
|
2737
2738
|
isVisible: boolean;
|
2739
|
+
onApplyButtonClick?: () => void;
|
2740
|
+
isApplyDisabled?: boolean;
|
2738
2741
|
}
|
2739
2742
|
|
2740
2743
|
/**
|
@@ -2922,6 +2925,93 @@ export declare interface IInvertableSelectStatusProps<T> {
|
|
2922
2925
|
getItemTitle: (item: T) => string;
|
2923
2926
|
}
|
2924
2927
|
|
2928
|
+
/**
|
2929
|
+
* @internal
|
2930
|
+
*/
|
2931
|
+
export declare interface IInvertableSelectVirtualisedProps<T> {
|
2932
|
+
className?: string;
|
2933
|
+
width?: number;
|
2934
|
+
height?: number;
|
2935
|
+
adaptiveWidth?: boolean;
|
2936
|
+
adaptiveHeight?: boolean;
|
2937
|
+
isSingleSelect?: boolean;
|
2938
|
+
items: T[];
|
2939
|
+
totalItemsCount?: number;
|
2940
|
+
itemHeight?: number;
|
2941
|
+
getItemTitle: (item: T) => string;
|
2942
|
+
getItemKey: (item: T) => string;
|
2943
|
+
isInverted: boolean;
|
2944
|
+
selectedItems: T[];
|
2945
|
+
selectedItemsLimit?: number;
|
2946
|
+
onSelect?: (items: T[], isInverted: boolean) => void;
|
2947
|
+
numberOfHiddenSelectedItems?: number;
|
2948
|
+
searchString?: string;
|
2949
|
+
searchPlaceholder?: string;
|
2950
|
+
onSearch?: (search: string) => void;
|
2951
|
+
error?: any;
|
2952
|
+
canSubmitOnKeyDown?: boolean;
|
2953
|
+
isLoading?: boolean;
|
2954
|
+
nextPageItemPlaceholdersCount?: number;
|
2955
|
+
isLoadingNextPage?: boolean;
|
2956
|
+
onLoadNextPage?: () => void;
|
2957
|
+
onApplyButtonClick?: () => void;
|
2958
|
+
renderError?: (props: IInvertableSelectRenderErrorProps) => JSX.Element;
|
2959
|
+
renderLoading?: (props: IInvertableSelectRenderLoadingProps) => JSX.Element;
|
2960
|
+
renderSearchBar?: (props: IInvertableSelectRenderSearchBarProps) => JSX.Element;
|
2961
|
+
renderNoData?: (props: IInvertableSelectRenderNoDataProps) => JSX.Element;
|
2962
|
+
renderItem?: (props: IInvertableSelectVirtualisedRenderItemProps<T>) => JSX.Element;
|
2963
|
+
renderStatusBar?: (props: IInvertableSelectRenderStatusBarProps<T>) => JSX.Element;
|
2964
|
+
renderActions?: (props: IInvertableSelectVirtualisedRenderActionsProps) => JSX.Element;
|
2965
|
+
}
|
2966
|
+
|
2967
|
+
/**
|
2968
|
+
* @internal
|
2969
|
+
*/
|
2970
|
+
export declare interface IInvertableSelectVirtualisedRenderActionsProps {
|
2971
|
+
checked: boolean;
|
2972
|
+
onChange: (value: boolean) => void;
|
2973
|
+
onToggle: () => void;
|
2974
|
+
totalItemsCount: number;
|
2975
|
+
isFiltered: boolean;
|
2976
|
+
isPartialSelection: boolean;
|
2977
|
+
isVisible: boolean;
|
2978
|
+
onApplyButtonClick?: () => void;
|
2979
|
+
}
|
2980
|
+
|
2981
|
+
/**
|
2982
|
+
* Properties of List item component implementation
|
2983
|
+
*
|
2984
|
+
* @internal
|
2985
|
+
*/
|
2986
|
+
export declare interface IInvertableSelectVirtualisedRenderItemProps<T> {
|
2987
|
+
/**
|
2988
|
+
* Item of list
|
2989
|
+
*/
|
2990
|
+
item: T;
|
2991
|
+
/**
|
2992
|
+
* Title of the item
|
2993
|
+
*/
|
2994
|
+
title: string;
|
2995
|
+
/**
|
2996
|
+
* Indicate that item is selected
|
2997
|
+
*/
|
2998
|
+
isSelected: boolean;
|
2999
|
+
focused: boolean;
|
3000
|
+
focusedAction?: string;
|
3001
|
+
/**
|
3002
|
+
* Add item to selection callback
|
3003
|
+
*/
|
3004
|
+
onSelect: () => void;
|
3005
|
+
/**
|
3006
|
+
* Remove item from selection
|
3007
|
+
*/
|
3008
|
+
onDeselect: () => void;
|
3009
|
+
/**
|
3010
|
+
* Select item only
|
3011
|
+
*/
|
3012
|
+
onSelectOnly: () => void;
|
3013
|
+
}
|
3014
|
+
|
2925
3015
|
/**
|
2926
3016
|
* @internal
|
2927
3017
|
*/
|
@@ -3693,6 +3783,11 @@ export declare function InvertableSelectStatus<T>(props: IInvertableSelectStatus
|
|
3693
3783
|
*/
|
3694
3784
|
export declare function InvertableSelectStatusBar<T>(props: IInvertableSelectStatusBarProps<T>): React_2.JSX.Element;
|
3695
3785
|
|
3786
|
+
/**
|
3787
|
+
* @internal
|
3788
|
+
*/
|
3789
|
+
export declare function InvertableSelectVirtualised<T>(props: IInvertableSelectVirtualisedProps<T>): React_2.JSX.Element;
|
3790
|
+
|
3696
3791
|
/**
|
3697
3792
|
* @internal
|
3698
3793
|
*/
|
@@ -4751,6 +4846,7 @@ export declare type IUiMenuInteractiveItem<T extends IUiMenuItemData = object> =
|
|
4751
4846
|
id: string;
|
4752
4847
|
stringTitle: string;
|
4753
4848
|
isDisabled?: boolean;
|
4849
|
+
isSelected?: boolean;
|
4754
4850
|
data: T["interactive"];
|
4755
4851
|
subItems?: IUiMenuItem<T>[];
|
4756
4852
|
};
|
@@ -4762,6 +4858,7 @@ export declare interface IUiMenuInteractiveItemProps<T extends IUiMenuItemData =
|
|
4762
4858
|
item: IUiMenuInteractiveItem<T>;
|
4763
4859
|
isFocused: boolean;
|
4764
4860
|
onSelect: () => void;
|
4861
|
+
size?: SizeSmall | SizeMedium;
|
4765
4862
|
}
|
4766
4863
|
|
4767
4864
|
/**
|
@@ -5913,6 +6010,7 @@ export declare interface UiFocusTrapProps {
|
|
5913
6010
|
* If not provided, the default keyboard navigation handler will be used.
|
5914
6011
|
*/
|
5915
6012
|
customKeyboardNavigationHandler?: (event: KeyboardEvent) => void;
|
6013
|
+
isTabCaught?: boolean;
|
5916
6014
|
}
|
5917
6015
|
|
5918
6016
|
/**
|
@@ -6045,6 +6143,18 @@ export declare interface UiPagedVirtualListProps<T> {
|
|
6045
6143
|
hasNextPage?: boolean;
|
6046
6144
|
loadNextPage?: () => void;
|
6047
6145
|
isLoading?: boolean;
|
6146
|
+
/**
|
6147
|
+
* An item in the list that should be scrolled into view when the component renders.
|
6148
|
+
* By default, items are compared by object identity (i.e., `===`).
|
6149
|
+
* To customize how the target item is found (e.g., by ID), provide a `scrollToItemKeyExtractor` as well.
|
6150
|
+
*/
|
6151
|
+
scrollToItem?: T;
|
6152
|
+
/**
|
6153
|
+
* A function that extracts a unique key from each item for comparison with `scrollToItem`.
|
6154
|
+
* This is useful when the provided `scrollToItem` may not be the same object reference as items in the list.
|
6155
|
+
* If not provided, object identity (`===`) is used for comparison.
|
6156
|
+
*/
|
6157
|
+
scrollToItemKeyExtractor?: (item: T) => string | number;
|
6048
6158
|
children: (item: T) => React_2.ReactNode;
|
6049
6159
|
SkeletonItem?: React_2.ComponentType<UiPagedVirtualListSkeletonItemProps>;
|
6050
6160
|
}
|
@@ -6205,13 +6315,14 @@ export declare const useIsZoomed: (baseZoomLevel?: number) => boolean;
|
|
6205
6315
|
/**
|
6206
6316
|
* @internal
|
6207
6317
|
*/
|
6208
|
-
export declare function useListWithActionsKeyboardNavigation<Item, Action extends string>({ items, actionHandlers, getItemAdditionalActions, isNestedList, }: {
|
6318
|
+
export declare function useListWithActionsKeyboardNavigation<Item, Action extends string>({ items, actionHandlers, getItemAdditionalActions, isNestedList, focusedIndex: focusedIndexProp, }: {
|
6209
6319
|
items: Item[];
|
6210
6320
|
actionHandlers: {
|
6211
|
-
[key in Action | typeof SELECT_ITEM_ACTION]: (item: Item) => (() => void) | undefined;
|
6321
|
+
[key in Action | typeof SELECT_ITEM_ACTION]: (item: Item, e?: React_2.KeyboardEvent) => (() => void) | undefined;
|
6212
6322
|
};
|
6213
6323
|
getItemAdditionalActions: (item: Item) => Action[];
|
6214
6324
|
isNestedList?: boolean;
|
6325
|
+
focusedIndex?: number;
|
6215
6326
|
}): {
|
6216
6327
|
onKeyboardNavigation: (event: React_2.KeyboardEvent<Element>) => void;
|
6217
6328
|
onBlur: React_2.FocusEventHandler<Element>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAutofocusOnMount.d.ts","sourceRoot":"","sources":["../../src/utils/useAutofocusOnMount.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,gCAAgC,iBAAiB,YAKhD,WAAW,GAAG,IAAI,SAGrD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,YACnB,WAAW,GAAG,IAAI,GAAG,SAAS,+BACX,iBAAiB,
|
1
|
+
{"version":3,"file":"useAutofocusOnMount.d.ts","sourceRoot":"","sources":["../../src/utils/useAutofocusOnMount.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,gCAAgC,iBAAiB,YAKhD,WAAW,GAAG,IAAI,SAGrD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,YACnB,WAAW,GAAG,IAAI,GAAG,SAAS,+BACX,iBAAiB,SAmChD,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CACnC;IACI,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,GAAG,iBAAiB,CASxB,CAAC"}
|
@@ -27,12 +27,14 @@ export const useAutofocusOnMount = (element, { isDisabled, refocusKey } = {}) =>
|
|
27
27
|
return undefined;
|
28
28
|
}
|
29
29
|
const observer = new IntersectionObserver(([{ target }]) => {
|
30
|
-
if (target.contains(document.activeElement) || isElementTextInput(document.activeElement)) {
|
31
|
-
observer.disconnect();
|
32
|
-
return;
|
33
|
-
}
|
34
30
|
// Focusing a newly created element sometimes fails if not done through requestAnimationFrame()
|
35
31
|
window.requestAnimationFrame(() => {
|
32
|
+
if (element.contains(document.activeElement) ||
|
33
|
+
target.contains(document.activeElement) ||
|
34
|
+
isElementTextInput(document.activeElement)) {
|
35
|
+
observer.disconnect();
|
36
|
+
return;
|
37
|
+
}
|
36
38
|
target.focus();
|
37
39
|
if (document.activeElement === target) {
|
38
40
|
observer.disconnect();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAutofocusOnMount.js","sourceRoot":"","sources":["../../src/utils/useAutofocusOnMount.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAUjG;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,UAAU,EAAE,UAAU,KAAwB,EAAE,EAAE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C,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF,SAAS,iBAAiB,CAAC,OAAuC;IAC9D,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC;AAC9F,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAIzB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzC,MAAM,GAAG,GAAG,sBAAsB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC;IAE/D,OAAO,CACH,6BAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,IACxC,QAAQ,CACP,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
3
|
-
"version": "10.30.0
|
3
|
+
"version": "10.30.0",
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -75,11 +75,11 @@
|
|
75
75
|
"@codemirror/autocomplete": "^6.18.6",
|
76
76
|
"@lezer/highlight": "~1.2.1",
|
77
77
|
"@codemirror/commands": "~6.8.1",
|
78
|
-
"@gooddata/sdk-backend-spi": "10.30.0
|
79
|
-
"@gooddata/sdk-
|
80
|
-
"@gooddata/sdk-
|
81
|
-
"@gooddata/util": "10.30.0
|
82
|
-
"@gooddata/sdk-ui-theme-provider": "10.30.0
|
78
|
+
"@gooddata/sdk-backend-spi": "10.30.0",
|
79
|
+
"@gooddata/sdk-ui": "10.30.0",
|
80
|
+
"@gooddata/sdk-model": "10.30.0",
|
81
|
+
"@gooddata/util": "10.30.0",
|
82
|
+
"@gooddata/sdk-ui-theme-provider": "10.30.0"
|
83
83
|
},
|
84
84
|
"peerDependencies": {
|
85
85
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
@@ -137,8 +137,8 @@
|
|
137
137
|
"typescript": "5.3.3",
|
138
138
|
"vitest": "3.0.8",
|
139
139
|
"vitest-dom": "0.1.1",
|
140
|
-
"@gooddata/reference-workspace": "10.30.0
|
141
|
-
"@gooddata/sdk-backend-mockingbird": "10.30.0
|
140
|
+
"@gooddata/reference-workspace": "10.30.0",
|
141
|
+
"@gooddata/sdk-backend-mockingbird": "10.30.0"
|
142
142
|
},
|
143
143
|
"scripts": {
|
144
144
|
"clean": "rm -rf ci dist esm coverage styles/css *.log tsconfig.tsbuildinfo",
|
@@ -110,6 +110,7 @@
|
|
110
110
|
line-height: 20px;
|
111
111
|
color: variables.$gd-color-text;
|
112
112
|
transition: background-color 0.2s;
|
113
|
+
box-sizing: border-box;
|
113
114
|
|
114
115
|
// Controlled by mouse and has hover
|
115
116
|
#{$root}--controlType-mouse &:hover:not(&--isDisabled) {
|
@@ -121,6 +122,29 @@
|
|
121
122
|
color: variables.$gd-color-disabled;
|
122
123
|
cursor: not-allowed;
|
123
124
|
}
|
125
|
+
|
126
|
+
&--isSelected {
|
127
|
+
font-weight: bold;
|
128
|
+
background-color: variables.$is-selected-background;
|
129
|
+
color: variables.$is-selected-color;
|
130
|
+
}
|
131
|
+
|
132
|
+
#{$root}--controlType-mouse &--isSelected:hover:not(&--isDisabled) {
|
133
|
+
background-color: variables.$is-selected-focused-background;
|
134
|
+
color: variables.$is-selected-color;
|
135
|
+
}
|
136
|
+
|
137
|
+
&--size {
|
138
|
+
&-small {
|
139
|
+
height: 28px;
|
140
|
+
font-size: 12px;
|
141
|
+
}
|
142
|
+
|
143
|
+
&-medium {
|
144
|
+
height: 36px;
|
145
|
+
font-size: 14px;
|
146
|
+
}
|
147
|
+
}
|
124
148
|
}
|
125
149
|
|
126
150
|
&__item-title {
|
package/styles/css/header.css
CHANGED
@@ -68,15 +68,6 @@
|
|
68
68
|
.gd-header-menu {
|
69
69
|
flex: 1 0 auto;
|
70
70
|
}
|
71
|
-
.gd-header-menu,
|
72
|
-
.gd-header-menu li {
|
73
|
-
margin: 0;
|
74
|
-
padding: 0;
|
75
|
-
}
|
76
|
-
.gd-header-menu li {
|
77
|
-
display: block;
|
78
|
-
list-style: none;
|
79
|
-
}
|
80
71
|
|
81
72
|
.gd-header-menu-vertical-wrapper {
|
82
73
|
position: fixed;
|
@@ -118,10 +109,12 @@
|
|
118
109
|
text-overflow: ellipsis;
|
119
110
|
}
|
120
111
|
|
121
|
-
.gd-header-menu-vertical
|
112
|
+
.gd-header-menu-vertical .gd-header-menu-item {
|
113
|
+
margin: 0;
|
122
114
|
position: relative;
|
123
115
|
display: flex;
|
124
116
|
align-items: center;
|
117
|
+
gap: 6px;
|
125
118
|
height: auto;
|
126
119
|
padding: 9px 15px;
|
127
120
|
line-height: 24px;
|
@@ -130,44 +123,38 @@
|
|
130
123
|
cursor: pointer;
|
131
124
|
font-size: 16px;
|
132
125
|
}
|
133
|
-
.gd-header-menu-vertical
|
126
|
+
.gd-header-menu-vertical .gd-header-menu-item::before, .gd-header-menu-vertical .gd-header-menu-item::after {
|
134
127
|
content: "";
|
135
128
|
position: absolute;
|
136
129
|
display: block;
|
137
130
|
}
|
138
|
-
.gd-header-menu-vertical
|
131
|
+
.gd-header-menu-vertical .gd-header-menu-item::before {
|
139
132
|
top: 0;
|
140
133
|
bottom: 0;
|
141
134
|
left: 0;
|
142
135
|
width: 4px;
|
143
136
|
}
|
144
|
-
.gd-header-menu-vertical
|
145
|
-
right:
|
137
|
+
.gd-header-menu-vertical .gd-header-menu-item::after {
|
138
|
+
right: 0;
|
146
139
|
bottom: -1px;
|
147
|
-
left:
|
140
|
+
left: 0;
|
148
141
|
height: 1px;
|
149
142
|
border-bottom: 1px solid var(--gd-palette-complementary-4-from-theme, rgba(148, 161, 173, 0.2));
|
150
143
|
}
|
151
|
-
.gd-header-menu-vertical
|
144
|
+
.gd-header-menu-vertical .gd-header-menu-item:hover {
|
152
145
|
border: none;
|
153
146
|
color: var(--gd-palette-complementary-9-from-theme, #fff);
|
154
147
|
}
|
155
|
-
.gd-header-menu-vertical
|
156
|
-
background-color: var(--gd-palette-complementary-6-from-theme, inherit);
|
157
|
-
}
|
158
|
-
.gd-header-menu-vertical li a:hover::after {
|
159
|
-
display: none;
|
160
|
-
}
|
161
|
-
.gd-header-menu-vertical li a.active {
|
148
|
+
.gd-header-menu-vertical .gd-header-menu-item.active {
|
162
149
|
border: none;
|
163
150
|
color: var(--gd-palette-complementary-9-from-theme, #fff);
|
164
151
|
background-color: var(--gd-palette-complementary-0-from-theme, #131c28);
|
165
152
|
font-weight: bold;
|
166
153
|
}
|
167
|
-
.gd-header-menu-vertical
|
154
|
+
.gd-header-menu-vertical .gd-header-menu-item.active::after {
|
168
155
|
display: none;
|
169
156
|
}
|
170
|
-
.gd-header-menu-vertical
|
157
|
+
.gd-header-menu-vertical .gd-header-menu-item.active::before {
|
171
158
|
background-color: var(--gd-palette-primary-base, #14b2e2);
|
172
159
|
}
|
173
160
|
.gd-header-menu-vertical .gd-header-menu-section {
|
@@ -201,12 +188,6 @@
|
|
201
188
|
.gd-header-menu-vertical-content .gd-header-menu {
|
202
189
|
display: block;
|
203
190
|
}
|
204
|
-
.gd-header-menu-vertical-content .gd-header-menu li:last-child a {
|
205
|
-
border-bottom: 1px solid var(--gd-palette-complementary-4-from-theme, rgba(148, 161, 173, 0.2));
|
206
|
-
}
|
207
|
-
.gd-header-menu-vertical-content .gd-header-menu li:last-child a::after {
|
208
|
-
display: none;
|
209
|
-
}
|
210
191
|
.gd-header-menu-vertical-content .gd-header-menu-trial {
|
211
192
|
display: flex;
|
212
193
|
flex-direction: column;
|
@@ -250,7 +231,6 @@
|
|
250
231
|
.gd-list-help-menu-item .gd-icon {
|
251
232
|
width: 16px;
|
252
233
|
height: 16px;
|
253
|
-
margin-right: 10px;
|
254
234
|
}
|
255
235
|
.gd-list-help-menu-item .gd-icon-slack {
|
256
236
|
background: url("~@gooddata/sdk-ui-kit/esm/assets/slack.svg") no-repeat;
|
@@ -397,10 +377,6 @@ a.gd-list-help-menu-item.gd-list-item:focus {
|
|
397
377
|
font-weight: 400;
|
398
378
|
}
|
399
379
|
|
400
|
-
.gd-header-notifications-icon {
|
401
|
-
padding-right: 5px;
|
402
|
-
}
|
403
|
-
|
404
380
|
.gd-header-notifications {
|
405
381
|
height: 100%;
|
406
382
|
margin: 0;
|
@@ -467,6 +443,7 @@ a.gd-list-help-menu-item.gd-list-item:focus {
|
|
467
443
|
}
|
468
444
|
.gd-header-chat:hover {
|
469
445
|
opacity: 1;
|
446
|
+
background: rgba(255, 255, 255, 0.3);
|
470
447
|
}
|
471
448
|
.gd-header-chat .gd-button-text {
|
472
449
|
display: flex;
|
@@ -592,11 +569,7 @@ a.gd-list-help-menu-item.gd-list-item:focus {
|
|
592
569
|
.gd-header-help:hover,
|
593
570
|
.gd-header-help.is-open {
|
594
571
|
opacity: 1;
|
595
|
-
|
596
|
-
.gd-header-invite.is-open,
|
597
|
-
.gd-header-account.is-open,
|
598
|
-
.gd-header-help.is-open {
|
599
|
-
background-color: rgba(255, 255, 255, 0.3);
|
572
|
+
background: rgba(255, 255, 255, 0.3);
|
600
573
|
}
|
601
574
|
|
602
575
|
.gd-header-invite,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../scss/mixins.scss","../scss/header.scss","../scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACxKA;EACI;EACA;EACA;EACA;EACA;EACA,QAfe;EAgBf;EACA;EACA;EACA,aCsEc;EDrEd;;AAEA;EAGI;;AAGJ;EACI;;;AAIR;EACI;EACA,QAnCe;EAoCf;EACA;EACA;EACA;EACA;EDsBA,0BCpB2B;EDqB3B,6BCrB2B;EDsB3B,qBCtB2B;ED0B3B,0BC1BgC;ED2BhC,6BC3BgC;ED4BhC,qBC5BgC;;AAEhC;EACI;;AAIA;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;;AAIR;AAAA;AAAA;EAGI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;;AAIR;EACI
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/mixins.scss","../scss/header.scss","../scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACxKA;EACI;EACA;EACA;EACA;EACA;EACA,QAfe;EAgBf;EACA;EACA;EACA,aCsEc;EDrEd;;AAEA;EAGI;;AAGJ;EACI;;;AAIR;EACI;EACA,QAnCe;EAoCf;EACA;EACA;EACA;EACA;EDsBA,0BCpB2B;EDqB3B,6BCrB2B;EDsB3B,qBCtB2B;ED0B3B,0BC1BgC;ED2BhC,6BC3BgC;ED4BhC,qBC5BgC;;AAEhC;EACI;;AAIA;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;;AAIR;AAAA;AAAA;EAGI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OC1EmB;ED2EnB;;AAEA;EACI;;;AAIR;AAAA;EAEI;EACA;;;AAGJ;AAAA;EAEI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OCtGmB;EDuGnB;EACA;;;AAIA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAOJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI,kBClJU;;ADuJtB;EACI;EACA;EACA;;;AAIR;EACI;EACA,QApMe;EAqMf,aArMe;EAsMf;EACA,cAvMe;EAwMf;EACA;EACA;EACA;;;AAGJ;EACI;EACA,KAhNe;EAiNf;EACA;EACA;EACA;EACA;EACA;;AAMA;EACI;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AEA;EACI;;AAEA;EACI,aChaE;EDiaF;;;AAMhB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA,WA3iBsB;;AA6iBtB;AAAA;EAEI;;AAGJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA,aAhkBe;EAikBf;EACA;EACA;EDndA;EACA;EACA,eAHwB;;ACwdxB;EAEI;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA,aC3fK;ED4fL;;AAIR;EACI;;AAGJ;EACI;;;AAIR;EACI;;;AAGJ;EACI;;AAEA;EACI;EACA;;;AAIR;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA,aChiBU;;ADmiBd;EACI;EACA;;;AAIR;AAAA;AAAA;EAGI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ED9hBA;EACA;EACA,eAHwB;;ACmiBxB;AAAA;AAAA;AAAA;AAAA;EAEI;EACA;;;AAIR;AAAA;AAAA;EAGI;;;AAGJ;AAAA;AAAA;EAGI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;EAKA;;AAJA;EACI;;AAIJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aCrmBS;EDsmBT;EACA;;AAGJ;EACI;;;AAIR;EACI;EACA;EACA;;;AAKA;AAAA;EACI;EACA;EACA;;;AAKJ;EACI;;;AAIR;EACI;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;;;AAIA;EACI;EACA;;;AAIR;EACI;EACA;;;AAGJ;EACI;EACA;EACA,OA7vBe;EA8vBf,QA9vBe;EA+vBf;EACA;;AAEA;AAAA;EAGI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ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I,OCh8BQ;;ADm8BZ;EACI,OC/7BI;;ADo8BR;EACI;EACA;;AAZJ;EACI,OCh8BQ;;ADm8BZ;EACI,OC/7BI;;ADsgCR;EACI,OCvgCI;;AD2gCZ;AAAA;EAEI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA,OCthCQ;EDuhCR,cA1iC4B;ED2MhC,YC5MmC,SD4MT;EAC1B;EACA;EACA;EACA;;ACk2BI;EAEI;EACA,OCtjCS;;ADyjCb;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKJ;EACI,OCvjCI;;AD2jCZ;EACI;EACA;EACA;;AAGJ;AAAA;EAEI;EACA;;AAGJ;EACI;EACA;;;AAOA;EACI;;AAIJ;EACI;;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aCjiCc;;ADmiCd;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA,aCtnCc;EDunCd;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;;AAEA;EACI","file":"header.css"}
|
package/styles/css/main.css
CHANGED
@@ -955,6 +955,7 @@
|
|
955
955
|
line-height: 20px;
|
956
956
|
color: var(--gd-palette-complementary-8, #464e56);
|
957
957
|
transition: background-color 0.2s;
|
958
|
+
box-sizing: border-box;
|
958
959
|
}
|
959
960
|
.gd-ui-kit-menu--controlType-mouse .gd-ui-kit-menu__item:hover:not(.gd-ui-kit-menu__item--isDisabled) {
|
960
961
|
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
@@ -964,6 +965,23 @@
|
|
964
965
|
color: var(--gd-palette-complementary-5, #b0beca);
|
965
966
|
cursor: not-allowed;
|
966
967
|
}
|
968
|
+
.gd-ui-kit-menu__item--isSelected {
|
969
|
+
font-weight: bold;
|
970
|
+
background-color: none;
|
971
|
+
color: var(--gd-palette-primary-base, #14b2e2);
|
972
|
+
}
|
973
|
+
.gd-ui-kit-menu--controlType-mouse .gd-ui-kit-menu__item--isSelected:hover:not(.gd-ui-kit-menu__item--isDisabled) {
|
974
|
+
background-color: var(--gd-palette-primary-dimmed, #e8f7fc);
|
975
|
+
color: var(--gd-palette-primary-base, #14b2e2);
|
976
|
+
}
|
977
|
+
.gd-ui-kit-menu__item--size-small {
|
978
|
+
height: 28px;
|
979
|
+
font-size: 12px;
|
980
|
+
}
|
981
|
+
.gd-ui-kit-menu__item--size-medium {
|
982
|
+
height: 36px;
|
983
|
+
font-size: 14px;
|
984
|
+
}
|
967
985
|
.gd-ui-kit-menu__item-title {
|
968
986
|
width: 100%;
|
969
987
|
white-space: nowrap;
|
@@ -6120,15 +6138,6 @@ button.gd-list-item {
|
|
6120
6138
|
.gd-header-menu {
|
6121
6139
|
flex: 1 0 auto;
|
6122
6140
|
}
|
6123
|
-
.gd-header-menu,
|
6124
|
-
.gd-header-menu li {
|
6125
|
-
margin: 0;
|
6126
|
-
padding: 0;
|
6127
|
-
}
|
6128
|
-
.gd-header-menu li {
|
6129
|
-
display: block;
|
6130
|
-
list-style: none;
|
6131
|
-
}
|
6132
6141
|
|
6133
6142
|
.gd-header-menu-vertical-wrapper {
|
6134
6143
|
position: fixed;
|
@@ -6170,10 +6179,12 @@ button.gd-list-item {
|
|
6170
6179
|
text-overflow: ellipsis;
|
6171
6180
|
}
|
6172
6181
|
|
6173
|
-
.gd-header-menu-vertical
|
6182
|
+
.gd-header-menu-vertical .gd-header-menu-item {
|
6183
|
+
margin: 0;
|
6174
6184
|
position: relative;
|
6175
6185
|
display: flex;
|
6176
6186
|
align-items: center;
|
6187
|
+
gap: 6px;
|
6177
6188
|
height: auto;
|
6178
6189
|
padding: 9px 15px;
|
6179
6190
|
line-height: 24px;
|
@@ -6182,44 +6193,38 @@ button.gd-list-item {
|
|
6182
6193
|
cursor: pointer;
|
6183
6194
|
font-size: 16px;
|
6184
6195
|
}
|
6185
|
-
.gd-header-menu-vertical
|
6196
|
+
.gd-header-menu-vertical .gd-header-menu-item::before, .gd-header-menu-vertical .gd-header-menu-item::after {
|
6186
6197
|
content: "";
|
6187
6198
|
position: absolute;
|
6188
6199
|
display: block;
|
6189
6200
|
}
|
6190
|
-
.gd-header-menu-vertical
|
6201
|
+
.gd-header-menu-vertical .gd-header-menu-item::before {
|
6191
6202
|
top: 0;
|
6192
6203
|
bottom: 0;
|
6193
6204
|
left: 0;
|
6194
6205
|
width: 4px;
|
6195
6206
|
}
|
6196
|
-
.gd-header-menu-vertical
|
6197
|
-
right:
|
6207
|
+
.gd-header-menu-vertical .gd-header-menu-item::after {
|
6208
|
+
right: 0;
|
6198
6209
|
bottom: -1px;
|
6199
|
-
left:
|
6210
|
+
left: 0;
|
6200
6211
|
height: 1px;
|
6201
6212
|
border-bottom: 1px solid var(--gd-palette-complementary-4-from-theme, rgba(148, 161, 173, 0.2));
|
6202
6213
|
}
|
6203
|
-
.gd-header-menu-vertical
|
6214
|
+
.gd-header-menu-vertical .gd-header-menu-item:hover {
|
6204
6215
|
border: none;
|
6205
6216
|
color: var(--gd-palette-complementary-9-from-theme, #fff);
|
6206
6217
|
}
|
6207
|
-
.gd-header-menu-vertical
|
6208
|
-
background-color: var(--gd-palette-complementary-6-from-theme, inherit);
|
6209
|
-
}
|
6210
|
-
.gd-header-menu-vertical li a:hover::after {
|
6211
|
-
display: none;
|
6212
|
-
}
|
6213
|
-
.gd-header-menu-vertical li a.active {
|
6218
|
+
.gd-header-menu-vertical .gd-header-menu-item.active {
|
6214
6219
|
border: none;
|
6215
6220
|
color: var(--gd-palette-complementary-9-from-theme, #fff);
|
6216
6221
|
background-color: var(--gd-palette-complementary-0-from-theme, #131c28);
|
6217
6222
|
font-weight: bold;
|
6218
6223
|
}
|
6219
|
-
.gd-header-menu-vertical
|
6224
|
+
.gd-header-menu-vertical .gd-header-menu-item.active::after {
|
6220
6225
|
display: none;
|
6221
6226
|
}
|
6222
|
-
.gd-header-menu-vertical
|
6227
|
+
.gd-header-menu-vertical .gd-header-menu-item.active::before {
|
6223
6228
|
background-color: var(--gd-palette-primary-base, #14b2e2);
|
6224
6229
|
}
|
6225
6230
|
.gd-header-menu-vertical .gd-header-menu-section {
|
@@ -6253,12 +6258,6 @@ button.gd-list-item {
|
|
6253
6258
|
.gd-header-menu-vertical-content .gd-header-menu {
|
6254
6259
|
display: block;
|
6255
6260
|
}
|
6256
|
-
.gd-header-menu-vertical-content .gd-header-menu li:last-child a {
|
6257
|
-
border-bottom: 1px solid var(--gd-palette-complementary-4-from-theme, rgba(148, 161, 173, 0.2));
|
6258
|
-
}
|
6259
|
-
.gd-header-menu-vertical-content .gd-header-menu li:last-child a::after {
|
6260
|
-
display: none;
|
6261
|
-
}
|
6262
6261
|
.gd-header-menu-vertical-content .gd-header-menu-trial {
|
6263
6262
|
display: flex;
|
6264
6263
|
flex-direction: column;
|
@@ -6302,7 +6301,6 @@ button.gd-list-item {
|
|
6302
6301
|
.gd-list-help-menu-item .gd-icon {
|
6303
6302
|
width: 16px;
|
6304
6303
|
height: 16px;
|
6305
|
-
margin-right: 10px;
|
6306
6304
|
}
|
6307
6305
|
.gd-list-help-menu-item .gd-icon-slack {
|
6308
6306
|
background: url("~@gooddata/sdk-ui-kit/esm/assets/slack.svg") no-repeat;
|
@@ -6449,10 +6447,6 @@ a.gd-list-help-menu-item.gd-list-item:focus {
|
|
6449
6447
|
font-weight: 400;
|
6450
6448
|
}
|
6451
6449
|
|
6452
|
-
.gd-header-notifications-icon {
|
6453
|
-
padding-right: 5px;
|
6454
|
-
}
|
6455
|
-
|
6456
6450
|
.gd-header-notifications {
|
6457
6451
|
height: 100%;
|
6458
6452
|
margin: 0;
|
@@ -6519,6 +6513,7 @@ a.gd-list-help-menu-item.gd-list-item:focus {
|
|
6519
6513
|
}
|
6520
6514
|
.gd-header-chat:hover {
|
6521
6515
|
opacity: 1;
|
6516
|
+
background: rgba(255, 255, 255, 0.3);
|
6522
6517
|
}
|
6523
6518
|
.gd-header-chat .gd-button-text {
|
6524
6519
|
display: flex;
|
@@ -6644,11 +6639,7 @@ a.gd-list-help-menu-item.gd-list-item:focus {
|
|
6644
6639
|
.gd-header-help:hover,
|
6645
6640
|
.gd-header-help.is-open {
|
6646
6641
|
opacity: 1;
|
6647
|
-
|
6648
|
-
.gd-header-invite.is-open,
|
6649
|
-
.gd-header-account.is-open,
|
6650
|
-
.gd-header-help.is-open {
|
6651
|
-
background-color: rgba(255, 255, 255, 0.3);
|
6642
|
+
background: rgba(255, 255, 255, 0.3);
|
6652
6643
|
}
|
6653
6644
|
|
6654
6645
|
.gd-header-invite,
|
@@ -7534,6 +7525,10 @@ button.gd-button-primary.gd-upsell-button:active {
|
|
7534
7525
|
visibility: hidden;
|
7535
7526
|
}
|
7536
7527
|
|
7528
|
+
.overlay-wrapper[style*="position: fixed"] .gd-focus-trap {
|
7529
|
+
height: 100%;
|
7530
|
+
}
|
7531
|
+
|
7537
7532
|
.gd-error-overlay-content .modalityPlugin-mask-visible {
|
7538
7533
|
z-index: 10001;
|
7539
7534
|
opacity: 0.95;
|