@gooddata/sdk-ui-kit 11.53.0-alpha.1 → 11.53.0-alpha.2
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/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +3 -0
- package/esm/@ui/hooks/useVirtualizerRectObserver.d.ts +12 -0
- package/esm/@ui/hooks/useVirtualizerRectObserver.d.ts.map +1 -0
- package/esm/@ui/hooks/useVirtualizerRectObserver.js +34 -0
- package/esm/Datepicker/Datepicker.d.ts +2 -4
- package/esm/Datepicker/Datepicker.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.js +4 -6
- package/esm/Dropdown/DropdownList.d.ts +7 -1
- package/esm/Dropdown/DropdownList.d.ts.map +1 -1
- package/esm/Dropdown/DropdownList.js +3 -2
- package/esm/FlexDimensions/FlexDimensions.d.ts +2 -20
- package/esm/FlexDimensions/FlexDimensions.d.ts.map +1 -1
- package/esm/FlexDimensions/FlexDimensions.js +33 -54
- package/esm/FlexDimensions/typings.d.ts +8 -0
- package/esm/FlexDimensions/typings.d.ts.map +1 -1
- package/esm/FlexDimensions/typings.js +1 -1
- package/esm/Form/Input.d.ts +2 -33
- package/esm/Form/Input.d.ts.map +1 -1
- package/esm/Form/Input.js +30 -35
- package/esm/Form/InputPure.d.ts +40 -50
- package/esm/Form/InputPure.d.ts.map +1 -1
- package/esm/Form/InputPure.js +111 -121
- package/esm/Form/InputWithNumberFormat.d.ts.map +1 -1
- package/esm/Header/Header.d.ts +1 -1
- package/esm/Header/Header.d.ts.map +1 -1
- package/esm/Header/Header.js +4 -3
- package/esm/Header/WorkspacePickerHomeFooter.d.ts +1 -3
- package/esm/Header/WorkspacePickerHomeFooter.d.ts.map +1 -1
- package/esm/Header/WorkspacePickerHomeFooter.js +6 -6
- package/esm/Header/typings.d.ts +0 -2
- package/esm/Header/typings.d.ts.map +1 -1
- package/esm/List/LegacyList.d.ts.map +1 -1
- package/esm/List/LegacyList.js +2 -20
- package/esm/List/List.d.ts.map +1 -1
- package/esm/List/List.js +2 -20
- package/esm/List/ListItem.d.ts +2 -0
- package/esm/List/ListItem.d.ts.map +1 -1
- package/esm/List/ListItem.js +2 -2
- package/esm/ParameterControl/AllowedValuesParameterControlDropdown.d.ts +22 -0
- package/esm/ParameterControl/AllowedValuesParameterControlDropdown.d.ts.map +1 -0
- package/esm/ParameterControl/AllowedValuesParameterControlDropdown.js +38 -0
- package/esm/ParameterControl/ParameterControl.d.ts +3 -2
- package/esm/ParameterControl/ParameterControl.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterControl.js +9 -5
- package/esm/ShortenedText/ShortenedText.d.ts +10 -14
- package/esm/ShortenedText/ShortenedText.d.ts.map +1 -1
- package/esm/ShortenedText/ShortenedText.js +85 -96
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/sdk-ui-kit.d.ts +60 -134
- package/package.json +11 -11
- package/src/ParameterControl/ParameterControl.scss +10 -0
- package/styles/css/list.css +11 -0
- package/styles/css/list.css.map +1 -1
- package/styles/css/main.css +18 -1
- package/styles/css/main.css.map +1 -1
- package/styles/css/menu.css +11 -0
- package/styles/css/menu.css.map +1 -1
- package/styles/css/syntaxHighlightingInput.css +1 -1
- package/styles/css/syntaxHighlightingInput.css.map +1 -1
- package/styles/scss/list.scss +17 -0
- package/styles/scss/syntaxHighlightingInput.scss +5 -2
package/esm/sdk-ui-kit.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ export declare function alignPointToPlacement(alignPoint: ILegacyAlignPoint): Pl
|
|
|
187
187
|
/**
|
|
188
188
|
* @internal
|
|
189
189
|
*/
|
|
190
|
-
export declare
|
|
190
|
+
export declare function AppHeader({ logoHref, accountMenuItems, helpMenuItems, menuItemsGroups, search, notificationsPanel, workspacePicker, isAccessibilityCompliant, logoUrl, logoTitle, organizationName, className, activeColor, headerColor, headerTextColor, documentationUrl, expiredDate, showUpsellButton, onUpsellButtonClick, badges, showStaticHelpMenu, userName, helpMenuDropdownAlignPoints: helpDropdownAlign, disableHelpDropdown, onHelpClick, helpRedirectUrl, showChatItem, isChatOpen, onChatItemClick, onLogoClick, onMenuItemClick }: IAppHeaderProps): JSX.Element;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* @internal
|
|
@@ -638,9 +638,7 @@ export declare function DateDatasetsListItem({ id, title, isHeader, isSelected,
|
|
|
638
638
|
/**
|
|
639
639
|
* @internal
|
|
640
640
|
*/
|
|
641
|
-
export declare
|
|
642
|
-
render(): JSX.Element;
|
|
643
|
-
}
|
|
641
|
+
export declare const Datepicker: NamedExoticComponent<IDatePickerProps>;
|
|
644
642
|
|
|
645
643
|
/**
|
|
646
644
|
* @internal
|
|
@@ -918,7 +916,7 @@ export declare function DropdownInvertableSelect<T>(props: IDropdownInvertableSe
|
|
|
918
916
|
* @internal
|
|
919
917
|
*
|
|
920
918
|
*/
|
|
921
|
-
export declare function DropdownList<T>({ id, title, className, tabsClassName, width, height, maxHeight, onKeyDownSelect, onKeyDownConfirm, isMobile, isLoading, items, itemsCount, itemHeight, containerPadding, mobileItemHeight, showSearch, disableAutofocus, searchString, searchLabel, searchPlaceholder, searchFieldSize, onSearch, showTabs, tabs, selectedTabId, onTabSelect, renderNoData, footer, closeDropdown, accessibilityConfig, renderItem, body, itemHeightGetter, itemTitleGetter, loadNextPage, hasNextPage, skeletonItemsCount, shouldLoadNextPage, isNextPageLoading, SkeletonItem, onScroll, scrollToItem, scrollToItemKeyExtractor }: IDropdownListProps<T>): ReactElement;
|
|
919
|
+
export declare function DropdownList<T>({ id, title, className, tabsClassName, width, height, maxHeight, onKeyDownSelect, onKeyDownConfirm, isMobile, isLoading, items, itemsCount, itemHeight, containerPadding, mobileItemHeight, showSearch, disableAutofocus, searchString, searchLabel, searchPlaceholder, searchFieldSize, onSearch, showTabs, tabs, selectedTabId, onTabSelect, renderNoData, footer, closeDropdown, accessibilityConfig, renderItem, body, itemHeightGetter, itemTitleGetter, getIsItemSelected, loadNextPage, hasNextPage, skeletonItemsCount, shouldLoadNextPage, isNextPageLoading, SkeletonItem, onScroll, scrollToItem, scrollToItemKeyExtractor }: IDropdownListProps<T>): ReactElement;
|
|
922
920
|
|
|
923
921
|
/**
|
|
924
922
|
* @internal
|
|
@@ -1074,24 +1072,7 @@ export declare const findItem: <T extends IUiMenuItemData = object>(items: IUiMe
|
|
|
1074
1072
|
/**
|
|
1075
1073
|
* @internal
|
|
1076
1074
|
*/
|
|
1077
|
-
export declare
|
|
1078
|
-
static defaultProps: {
|
|
1079
|
-
children: boolean;
|
|
1080
|
-
className: string;
|
|
1081
|
-
measureWidth: boolean;
|
|
1082
|
-
measureHeight: boolean;
|
|
1083
|
-
};
|
|
1084
|
-
private wrapperRef;
|
|
1085
|
-
private readonly throttledUpdateSize;
|
|
1086
|
-
private readonly resizeObserver;
|
|
1087
|
-
constructor(props: IFlexDimensionsProps);
|
|
1088
|
-
componentDidMount(): void;
|
|
1089
|
-
componentWillUnmount(): void;
|
|
1090
|
-
getChildrenDimensions(): Partial<IFlexDimensionsState>;
|
|
1091
|
-
updateSize: () => void;
|
|
1092
|
-
renderChildren(): ReactNode;
|
|
1093
|
-
render(): ReactNode;
|
|
1094
|
-
}
|
|
1075
|
+
export declare const FlexDimensions: ForwardRefExoticComponent<IFlexDimensionsProps & RefAttributes<IFlexDimensionsHandle>>;
|
|
1095
1076
|
|
|
1096
1077
|
/**
|
|
1097
1078
|
* Data attribute to identify elements that should not trigger outside click closure.
|
|
@@ -1706,7 +1687,6 @@ export declare interface IAppHeaderProps {
|
|
|
1706
1687
|
helpMenuDropdownAlignPoints?: HelpMenuDropdownAlignPoints;
|
|
1707
1688
|
showStaticHelpMenu?: boolean;
|
|
1708
1689
|
helpRedirectUrl?: string;
|
|
1709
|
-
theme?: ITheme;
|
|
1710
1690
|
showUpsellButton?: boolean;
|
|
1711
1691
|
onUpsellButtonClick?: (e: MouseEvent_2) => void;
|
|
1712
1692
|
search?: ReactNode;
|
|
@@ -3324,6 +3304,11 @@ export declare interface IDropdownListProps<T> {
|
|
|
3324
3304
|
renderItem: (props: IRenderDropdownListItemProps<T>) => ReactElement;
|
|
3325
3305
|
itemHeightGetter?: (index: number) => number;
|
|
3326
3306
|
itemTitleGetter?: (item: T) => string;
|
|
3307
|
+
/**
|
|
3308
|
+
* Predicate that returns true for the currently selected item. It drives the options'
|
|
3309
|
+
* `aria-selected` and the `isSelected` render prop.
|
|
3310
|
+
*/
|
|
3311
|
+
getIsItemSelected?: (item: T) => boolean;
|
|
3327
3312
|
accessibilityConfig?: Pick<IAccessibilityConfigBase, "ariaLabel" | "ariaLabelledBy" | "role">;
|
|
3328
3313
|
body?: ReactNode | ((closeDropdown: () => void) => ReactNode);
|
|
3329
3314
|
onScroll?: () => void;
|
|
@@ -3718,6 +3703,15 @@ export declare interface IFilterLabelState {
|
|
|
3718
3703
|
hasEllipsis: boolean;
|
|
3719
3704
|
}
|
|
3720
3705
|
|
|
3706
|
+
/**
|
|
3707
|
+
* Imperative API exposed by the FlexDimensions component through its ref.
|
|
3708
|
+
*
|
|
3709
|
+
* @internal
|
|
3710
|
+
*/
|
|
3711
|
+
export declare interface IFlexDimensionsHandle {
|
|
3712
|
+
updateSize: () => void;
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3721
3715
|
/**
|
|
3722
3716
|
* @internal
|
|
3723
3717
|
*/
|
|
@@ -4095,6 +4089,18 @@ export declare interface IInputPureAccessibilityConfig extends IAccessibilityCon
|
|
|
4095
4089
|
ariaInvalid?: AriaAttributes["aria-invalid"];
|
|
4096
4090
|
}
|
|
4097
4091
|
|
|
4092
|
+
/**
|
|
4093
|
+
* Imperative handle exposed by {@link InputPure}.
|
|
4094
|
+
*
|
|
4095
|
+
* `inputNodeRef` is the native `<input>` element - consumers chain `Input.inputNodeRef.inputNodeRef`
|
|
4096
|
+
* down to it, so it has to stay the DOM node and not the component instance.
|
|
4097
|
+
*
|
|
4098
|
+
* @internal
|
|
4099
|
+
*/
|
|
4100
|
+
export declare interface IInputPureHandle extends IDomNative {
|
|
4101
|
+
inputNodeRef: HTMLInputElement | null;
|
|
4102
|
+
}
|
|
4103
|
+
|
|
4098
4104
|
/**
|
|
4099
4105
|
* @internal
|
|
4100
4106
|
*/
|
|
@@ -5056,92 +5062,12 @@ export declare interface INoDataProps {
|
|
|
5056
5062
|
/**
|
|
5057
5063
|
* @internal
|
|
5058
5064
|
*/
|
|
5059
|
-
export declare
|
|
5060
|
-
static defaultProps: {
|
|
5061
|
-
autofocus: boolean;
|
|
5062
|
-
className: string;
|
|
5063
|
-
clearOnEsc: boolean;
|
|
5064
|
-
disabled: boolean;
|
|
5065
|
-
hasError: boolean;
|
|
5066
|
-
hasWarning: boolean;
|
|
5067
|
-
isSearch: boolean;
|
|
5068
|
-
isSmall: boolean;
|
|
5069
|
-
maxlength: number;
|
|
5070
|
-
onChange: (..._args: unknown[]) => void;
|
|
5071
|
-
onEscKeyPress: (..._args: unknown[]) => void;
|
|
5072
|
-
onEnterKeyPress: (..._args: unknown[]) => void;
|
|
5073
|
-
onBlur: (..._args: unknown[]) => void;
|
|
5074
|
-
onFocus: (..._args: unknown[]) => void;
|
|
5075
|
-
placeholder: string;
|
|
5076
|
-
prefix: string;
|
|
5077
|
-
readonly: boolean;
|
|
5078
|
-
suffix: string;
|
|
5079
|
-
label: string;
|
|
5080
|
-
labelPositionTop: boolean;
|
|
5081
|
-
value: string;
|
|
5082
|
-
};
|
|
5083
|
-
inputNodeRef: InputPure | null;
|
|
5084
|
-
constructor(props: IInputPureProps);
|
|
5085
|
-
UNSAFE_componentWillReceiveProps(nextProps: IInputPureProps): void;
|
|
5086
|
-
onChange: (value: string | number, e?: ChangeEvent<HTMLInputElement> | undefined) => void;
|
|
5087
|
-
valueChanged(value: string | number, e?: ChangeEvent<HTMLInputElement>): void;
|
|
5088
|
-
render(): JSX.Element;
|
|
5089
|
-
}
|
|
5065
|
+
export declare const Input: ForwardRefExoticComponent<IInputPureProps & RefAttributes<IInputPureHandle>>;
|
|
5090
5066
|
|
|
5091
5067
|
/**
|
|
5092
5068
|
* @internal
|
|
5093
5069
|
*/
|
|
5094
|
-
export declare
|
|
5095
|
-
inputNodeRef: HTMLInputElement | null;
|
|
5096
|
-
private autofocusDispatcher;
|
|
5097
|
-
private readonly a11yIdBase;
|
|
5098
|
-
static defaultProps: {
|
|
5099
|
-
autofocus: boolean;
|
|
5100
|
-
className: string;
|
|
5101
|
-
clearOnEsc: boolean;
|
|
5102
|
-
disabled: boolean;
|
|
5103
|
-
hasError: boolean;
|
|
5104
|
-
hasWarning: boolean;
|
|
5105
|
-
isSearch: boolean;
|
|
5106
|
-
isSmall: boolean;
|
|
5107
|
-
maxlength: number;
|
|
5108
|
-
onChange: (..._args: unknown[]) => void;
|
|
5109
|
-
onEscKeyPress: (..._args: unknown[]) => void;
|
|
5110
|
-
onEnterKeyPress: (..._args: unknown[]) => void;
|
|
5111
|
-
onBlur: (..._args: unknown[]) => void;
|
|
5112
|
-
onFocus: (..._args: unknown[]) => void;
|
|
5113
|
-
placeholder: string;
|
|
5114
|
-
prefix: string;
|
|
5115
|
-
readonly: boolean;
|
|
5116
|
-
suffix: string;
|
|
5117
|
-
label: string;
|
|
5118
|
-
labelPositionTop: boolean;
|
|
5119
|
-
value: string;
|
|
5120
|
-
};
|
|
5121
|
-
componentDidMount(): void;
|
|
5122
|
-
componentWillUnmount(): void;
|
|
5123
|
-
componentDidUpdate(prevProps: Readonly<IInputPureProps>): void;
|
|
5124
|
-
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
5125
|
-
onKeyPress: (e: KeyboardEvent_2<Element>) => void;
|
|
5126
|
-
onClear: (e?: ChangeEvent<HTMLInputElement> | undefined) => void;
|
|
5127
|
-
getLabelClassNames(className: string): string;
|
|
5128
|
-
getInputClassNames(): string;
|
|
5129
|
-
private getA11yIdBase;
|
|
5130
|
-
private getPrefixA11yId;
|
|
5131
|
-
private getSuffixA11yId;
|
|
5132
|
-
renderPrefix(prefix: string, ariaLabel?: string): ReactNode;
|
|
5133
|
-
renderSuffix(suffix: string, ariaLabel?: string): ReactNode;
|
|
5134
|
-
renderLabel(label: ReactNode, htmlFor?: string): ReactNode;
|
|
5135
|
-
renderSearch(isSearch: boolean): ReactNode;
|
|
5136
|
-
renderClearIcon(clearOnEsc: boolean): ReactNode;
|
|
5137
|
-
renderIconButton(iconButton: IconType, iconButtonLabel: string, onIconButtonClick: (e: MouseEvent_2<HTMLButtonElement>) => void): ReactNode;
|
|
5138
|
-
getAriaDescribedBy(): string | undefined;
|
|
5139
|
-
renderInput(): JSX.Element;
|
|
5140
|
-
render(): JSX.Element;
|
|
5141
|
-
focus(options?: {
|
|
5142
|
-
preventScroll?: boolean;
|
|
5143
|
-
}): void;
|
|
5144
|
-
}
|
|
5070
|
+
export declare const InputPure: ForwardRefExoticComponent<IInputPureProps & RefAttributes<IInputPureHandle>>;
|
|
5145
5071
|
|
|
5146
5072
|
/**
|
|
5147
5073
|
* @internal
|
|
@@ -5480,6 +5406,7 @@ export declare interface IRenderDropdownListItemProps<T> {
|
|
|
5480
5406
|
isFirst: boolean;
|
|
5481
5407
|
isLast: boolean;
|
|
5482
5408
|
focused?: boolean;
|
|
5409
|
+
isSelected?: boolean;
|
|
5483
5410
|
}
|
|
5484
5411
|
|
|
5485
5412
|
/**
|
|
@@ -5987,6 +5914,26 @@ export declare interface ISharingApplyPayload {
|
|
|
5987
5914
|
granteesToDelete: IAccessGrantee[];
|
|
5988
5915
|
}
|
|
5989
5916
|
|
|
5917
|
+
/**
|
|
5918
|
+
* To make this component work, parent container needs this:
|
|
5919
|
+
* max-width: Xpx;
|
|
5920
|
+
* white-space: nowrap;
|
|
5921
|
+
*
|
|
5922
|
+
* and the component itself needs:
|
|
5923
|
+
* display: inline-block;
|
|
5924
|
+
* width: 100%;
|
|
5925
|
+
* white-space: nowrap;
|
|
5926
|
+
*/
|
|
5927
|
+
/**
|
|
5928
|
+
* Imperative API exposed through a ref, used by consumers that need to re-measure the text
|
|
5929
|
+
* after a layout change that React cannot observe on its own (e.g. a container resize).
|
|
5930
|
+
*
|
|
5931
|
+
* @internal
|
|
5932
|
+
*/
|
|
5933
|
+
export declare interface IShortenedTextHandle {
|
|
5934
|
+
recomputeShortening: () => void;
|
|
5935
|
+
}
|
|
5936
|
+
|
|
5990
5937
|
/**
|
|
5991
5938
|
* @internal
|
|
5992
5939
|
*/
|
|
@@ -6030,6 +5977,8 @@ export declare interface ISimpleSettingWidgetProps {
|
|
|
6030
5977
|
*/
|
|
6031
5978
|
export declare interface ISingleSelectListItemProps {
|
|
6032
5979
|
title?: string;
|
|
5980
|
+
/** Rendered right after the title, e.g. a "(Default)" marker. */
|
|
5981
|
+
suffix?: ReactNode;
|
|
6033
5982
|
icon?: string | ReactNode;
|
|
6034
5983
|
type?: SingleSelectListItemType;
|
|
6035
5984
|
className?: string;
|
|
@@ -9730,7 +9679,6 @@ export declare interface IWorkspacePickerHomeFooterProps {
|
|
|
9730
9679
|
href?: string;
|
|
9731
9680
|
onClick?: (e: MouseEvent_2<HTMLAnchorElement>) => void;
|
|
9732
9681
|
className?: string;
|
|
9733
|
-
theme?: ITheme;
|
|
9734
9682
|
children?: ReactNode;
|
|
9735
9683
|
}
|
|
9736
9684
|
|
|
@@ -10173,8 +10121,9 @@ export declare type PageOrientation = "PORTRAIT" | "LANDSCAPE";
|
|
|
10173
10121
|
export declare type PageSize = "A3" | "A4" | "LETTER";
|
|
10174
10122
|
|
|
10175
10123
|
/**
|
|
10176
|
-
* Selects the parameter editing control by `definition.type` — the single
|
|
10177
|
-
* variants are dispatched. New
|
|
10124
|
+
* Selects the parameter editing control by `definition.type` and constraint shape — the single
|
|
10125
|
+
* seam where control variants are dispatched. New variants get a sibling control and a new arm
|
|
10126
|
+
* here.
|
|
10178
10127
|
*
|
|
10179
10128
|
* @internal
|
|
10180
10129
|
*/
|
|
@@ -10457,33 +10406,10 @@ export declare type ShareDialogInteractionType = "SHARE_DIALOG_OPENED" | "SHARE_
|
|
|
10457
10406
|
*/
|
|
10458
10407
|
export declare function ShareGranteeBase({ isLoading, isLockedNow, isUnderLenientControlNow, grantees, sharedObject, isDirty, currentUserPermissions, dashboardFilters, dashboardParameters, dashboardLinkBasePath, isShareGrantHidden, applyShareGrantOnSelect, showDashboardShareLink, isGranteeShareLoading, onCancel, onSubmit, onGranteeDelete, onGranularGranteeChange, onAddGranteeButtonClick, onLockChange, onUnderLenientControlChange, isCurrentUserWorkspaceManager, onShareLinkCopy }: IShareGranteeBaseProps): JSX.Element;
|
|
10459
10408
|
|
|
10460
|
-
/**
|
|
10461
|
-
* To make this component work, parent container needs this:
|
|
10462
|
-
* max-width: Xpx;
|
|
10463
|
-
* white-space: nowrap;
|
|
10464
|
-
*
|
|
10465
|
-
* and the component itself needs:
|
|
10466
|
-
* display: inline-block;
|
|
10467
|
-
* width: 100%;
|
|
10468
|
-
* white-space: nowrap;
|
|
10469
|
-
*/
|
|
10470
10409
|
/**
|
|
10471
10410
|
* @internal
|
|
10472
10411
|
*/
|
|
10473
|
-
export declare
|
|
10474
|
-
static defaultProps: Pick<IShortenedTextProps, "className" | "tagName" | "tooltipAlignPoints" | "tooltipVisibleOnMouseOver" | "getElement" | "displayTooltip" | "ellipsisPosition">;
|
|
10475
|
-
textRef: RefObject<HTMLElement | null>;
|
|
10476
|
-
private naturalScrollWidth;
|
|
10477
|
-
constructor(props: IShortenedTextProps);
|
|
10478
|
-
componentDidMount(): void;
|
|
10479
|
-
UNSAFE_componentWillReceiveProps(nextProps: IShortenedTextProps): void;
|
|
10480
|
-
componentDidUpdate(): void;
|
|
10481
|
-
checkTitle(): void;
|
|
10482
|
-
recomputeShortening(): void;
|
|
10483
|
-
renderTextWithBubble(): ReactNode;
|
|
10484
|
-
renderText(): ReactNode;
|
|
10485
|
-
render(): ReactNode;
|
|
10486
|
-
}
|
|
10412
|
+
export declare const ShortenedText: ForwardRefExoticComponent<IShortenedTextProps & RefAttributes<IShortenedTextHandle>>;
|
|
10487
10413
|
|
|
10488
10414
|
/**
|
|
10489
10415
|
* Shortens large numbers with K/M/B suffixes for compact display.
|
|
@@ -12247,7 +12173,7 @@ export declare function withBubble<T>(WrappedComponent: ComponentType<T>): Forwa
|
|
|
12247
12173
|
/**
|
|
12248
12174
|
* @internal
|
|
12249
12175
|
*/
|
|
12250
|
-
export declare
|
|
12176
|
+
export declare function WorkspacePickerHomeFooter({ children, className, href, onClick }: IWorkspacePickerHomeFooterProps): JSX.Element;
|
|
12251
12177
|
|
|
12252
12178
|
/** @internal */
|
|
12253
12179
|
export declare type YamlCompletionSource = (context: CompletionContext, position: IYamlPosition) => ReturnType<CompletionSource>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.53.0-alpha.
|
|
3
|
+
"version": "11.53.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"unified": "^11.0.5",
|
|
79
79
|
"uuid": "11.1.1",
|
|
80
80
|
"yaml": "2.8.3",
|
|
81
|
-
"@gooddata/sdk-backend-spi": "11.53.0-alpha.
|
|
82
|
-
"@gooddata/sdk-
|
|
83
|
-
"@gooddata/sdk-
|
|
84
|
-
"@gooddata/
|
|
85
|
-
"@gooddata/
|
|
81
|
+
"@gooddata/sdk-backend-spi": "11.53.0-alpha.2",
|
|
82
|
+
"@gooddata/sdk-ui": "11.53.0-alpha.2",
|
|
83
|
+
"@gooddata/sdk-model": "11.53.0-alpha.2",
|
|
84
|
+
"@gooddata/sdk-ui-theme-provider": "11.53.0-alpha.2",
|
|
85
|
+
"@gooddata/util": "11.53.0-alpha.2"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
"typescript": "5.9.3",
|
|
132
132
|
"vitest": "4.1.8",
|
|
133
133
|
"vitest-dom": "0.1.1",
|
|
134
|
-
"@gooddata/eslint-config": "11.53.0-alpha.
|
|
135
|
-
"@gooddata/oxlint-config": "11.53.0-alpha.
|
|
136
|
-
"@gooddata/reference-workspace": "11.53.0-alpha.
|
|
137
|
-
"@gooddata/sdk-backend-mockingbird": "11.53.0-alpha.
|
|
138
|
-
"@gooddata/stylelint-config": "11.53.0-alpha.
|
|
134
|
+
"@gooddata/eslint-config": "11.53.0-alpha.2",
|
|
135
|
+
"@gooddata/oxlint-config": "11.53.0-alpha.2",
|
|
136
|
+
"@gooddata/reference-workspace": "11.53.0-alpha.2",
|
|
137
|
+
"@gooddata/sdk-backend-mockingbird": "11.53.0-alpha.2",
|
|
138
|
+
"@gooddata/stylelint-config": "11.53.0-alpha.2"
|
|
139
139
|
},
|
|
140
140
|
"peerDependencies": {
|
|
141
141
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -14,6 +14,16 @@
|
|
|
14
14
|
0 2px 10px rgba(0, 0, 0, 0.1);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
&--allowed-values {
|
|
18
|
+
padding: 5px 0;
|
|
19
|
+
|
|
20
|
+
// the flex column prevents the searchfield's bottom margin from collapsing with the
|
|
21
|
+
// list's top margin (.gd-dropdown .gd-infinite-list); keep only the searchfield's
|
|
22
|
+
&:has(.gd-list-searchfield) .gd-infinite-list {
|
|
23
|
+
margin-top: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
17
27
|
&__dropdown-field {
|
|
18
28
|
padding: 10px;
|
|
19
29
|
}
|
package/styles/css/list.css
CHANGED
|
@@ -670,6 +670,17 @@ button.gd-list-item {
|
|
|
670
670
|
color: var(--gd-palette-complementary-8, #464e56);
|
|
671
671
|
text-decoration: underline;
|
|
672
672
|
}
|
|
673
|
+
.gd-list-item:has(.gd-list-item-suffix) {
|
|
674
|
+
justify-content: flex-start;
|
|
675
|
+
}
|
|
676
|
+
.gd-list-item:has(.gd-list-item-suffix) > span {
|
|
677
|
+
flex-grow: 0;
|
|
678
|
+
}
|
|
679
|
+
.gd-list-item .gd-list-item-suffix {
|
|
680
|
+
flex: 0 0 auto;
|
|
681
|
+
margin-left: 5px;
|
|
682
|
+
color: var(--gd-palette-complementary-6);
|
|
683
|
+
}
|
|
673
684
|
.gd-list-item.gd-list-item-separator, .gd-list-item.gd-list-item-header {
|
|
674
685
|
cursor: default;
|
|
675
686
|
}
|
package/styles/css/list.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../scss/animations.scss","../scss/mixins.scss","../scss/indigoFont.scss","../scss/list.scss","../scss/variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;EAGI;;;AAGJ;AAAA;EAEI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;IACI;;EAGJ;IACI;;;AAIR;EACI;IACI;IACA;;EAGJ;IACI;;EAGJ;IACI;IACA;;;ACuER;AA4DA;ACjLA;EACI;EACA,KACI;EAEJ;EACA;EACA;;AAKJ;AAAA;AAAA;AAAA;EAII;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;;;AAGJ;AAAA;EAEI;EACA;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;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EwQpB;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;;AAMR;EACI;;AAMR;EACI;EACA;;;AAKJ;EFxLA;EACA;EACA;;;AE2LJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;;AAIR;EACI;;;AAKA;AAAA;EACI;EACA;;;AAKJ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;;;AAMR;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI,kBCrdQ;;ADwdZ;EACI;;AAIR;EACI;EACA,OCtdQ;;ADydZ;EACI;;;AAIR;AAAA;EAEI;EACA;EACA,OCzemB;ED0enB;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA,YC3gBa;ED4gBb;;;AAGJ;EACI","file":"list.css"}
|
package/styles/css/main.css
CHANGED
|
@@ -8129,7 +8129,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
8129
8129
|
font-size: 14px;
|
|
8130
8130
|
font-family: monospace;
|
|
8131
8131
|
font-weight: 200;
|
|
8132
|
-
transition:
|
|
8132
|
+
transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
|
|
8133
8133
|
border-radius: 3px;
|
|
8134
8134
|
box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
|
|
8135
8135
|
}
|
|
@@ -8557,6 +8557,17 @@ button.gd-list-item {
|
|
|
8557
8557
|
color: var(--gd-palette-complementary-8, #464e56);
|
|
8558
8558
|
text-decoration: underline;
|
|
8559
8559
|
}
|
|
8560
|
+
.gd-list-item:has(.gd-list-item-suffix) {
|
|
8561
|
+
justify-content: flex-start;
|
|
8562
|
+
}
|
|
8563
|
+
.gd-list-item:has(.gd-list-item-suffix) > span {
|
|
8564
|
+
flex-grow: 0;
|
|
8565
|
+
}
|
|
8566
|
+
.gd-list-item .gd-list-item-suffix {
|
|
8567
|
+
flex: 0 0 auto;
|
|
8568
|
+
margin-left: 5px;
|
|
8569
|
+
color: var(--gd-palette-complementary-6);
|
|
8570
|
+
}
|
|
8560
8571
|
.gd-list-item.gd-list-item-separator, .gd-list-item.gd-list-item-header {
|
|
8561
8572
|
cursor: default;
|
|
8562
8573
|
}
|
|
@@ -14397,6 +14408,12 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
14397
14408
|
border-radius: 4px;
|
|
14398
14409
|
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
14399
14410
|
}
|
|
14411
|
+
.gd-ui-kit-parameter-control--allowed-values {
|
|
14412
|
+
padding: 5px 0;
|
|
14413
|
+
}
|
|
14414
|
+
.gd-ui-kit-parameter-control--allowed-values:has(.gd-list-searchfield) .gd-infinite-list {
|
|
14415
|
+
margin-top: 0;
|
|
14416
|
+
}
|
|
14400
14417
|
.gd-ui-kit-parameter-control__dropdown-field {
|
|
14401
14418
|
padding: 10px;
|
|
14402
14419
|
}
|