@gooddata/sdk-ui-kit 11.64.0-alpha.6 → 11.64.1

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.
Files changed (68) hide show
  1. package/esm/@ui/@types/icon.d.ts +1 -1
  2. package/esm/@ui/@types/icon.d.ts.map +1 -1
  3. package/esm/@ui/@utils/matchesSearchQuery.d.ts +8 -0
  4. package/esm/@ui/@utils/matchesSearchQuery.d.ts.map +1 -0
  5. package/esm/@ui/@utils/matchesSearchQuery.js +18 -0
  6. package/esm/@ui/@utils/scrollIntoView.d.ts +13 -0
  7. package/esm/@ui/@utils/scrollIntoView.d.ts.map +1 -0
  8. package/esm/@ui/@utils/scrollIntoView.js +22 -0
  9. package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
  10. package/esm/@ui/UiIcon/icons.js +1 -0
  11. package/esm/@ui/UiListbox/UiListbox.d.ts +15 -2
  12. package/esm/@ui/UiListbox/UiListbox.d.ts.map +1 -1
  13. package/esm/@ui/UiListbox/UiListbox.js +76 -9
  14. package/esm/@ui/UiListbox/types.d.ts +32 -0
  15. package/esm/@ui/UiListbox/types.d.ts.map +1 -1
  16. package/esm/@ui/UiSearchResultsAnnouncement/UiSearchResultsAnnouncement.d.ts +5 -1
  17. package/esm/@ui/UiSearchResultsAnnouncement/UiSearchResultsAnnouncement.d.ts.map +1 -1
  18. package/esm/@ui/UiSearchResultsAnnouncement/UiSearchResultsAnnouncement.js +4 -4
  19. package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts +28 -0
  20. package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts.map +1 -0
  21. package/esm/@ui/UiSearchableSelect/UiSearchableSelect.js +106 -0
  22. package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.d.ts +24 -0
  23. package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.d.ts.map +1 -0
  24. package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.js +10 -0
  25. package/esm/@ui/UiSearchableSelect/UiSearchableSelectDivider.d.ts +7 -0
  26. package/esm/@ui/UiSearchableSelect/UiSearchableSelectDivider.d.ts.map +1 -0
  27. package/esm/@ui/UiSearchableSelect/UiSearchableSelectDivider.js +9 -0
  28. package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.d.ts +29 -0
  29. package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.d.ts.map +1 -0
  30. package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.js +18 -0
  31. package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.d.ts +18 -0
  32. package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.d.ts.map +1 -0
  33. package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.js +60 -0
  34. package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.d.ts +13 -0
  35. package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.d.ts.map +1 -0
  36. package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.js +82 -0
  37. package/esm/@ui/UiSearchableSelect/searchableSelectBem.d.ts +2 -0
  38. package/esm/@ui/UiSearchableSelect/searchableSelectBem.d.ts.map +1 -0
  39. package/esm/@ui/UiSearchableSelect/searchableSelectBem.js +3 -0
  40. package/esm/@ui/UiTextInput/UiTextInput.d.ts +8 -2
  41. package/esm/@ui/UiTextInput/UiTextInput.d.ts.map +1 -1
  42. package/esm/@ui/UiTextInput/UiTextInput.js +3 -3
  43. package/esm/Header/Header.d.ts.map +1 -1
  44. package/esm/Header/Header.js +11 -2
  45. package/esm/Header/Header.test.helpers.d.ts +2 -1
  46. package/esm/Header/Header.test.helpers.d.ts.map +1 -1
  47. package/esm/Header/Header.test.helpers.js +34 -26
  48. package/esm/Header/HeaderAccount.js +5 -2
  49. package/esm/Header/generateHeaderAccountMenuItems.d.ts +10 -2
  50. package/esm/Header/generateHeaderAccountMenuItems.d.ts.map +1 -1
  51. package/esm/Header/generateHeaderAccountMenuItems.js +6 -1
  52. package/esm/index.d.ts +7 -1
  53. package/esm/index.d.ts.map +1 -1
  54. package/esm/index.js +7 -1
  55. package/esm/sdk-ui-kit.d.ts +148 -6
  56. package/package.json +11 -11
  57. package/src/@ui/UiChip/UiChip.scss +2 -3
  58. package/src/@ui/UiFloatingPanel/UiFloatingPanel.scss +1 -0
  59. package/src/@ui/UiListbox/UiListbox.scss +15 -4
  60. package/src/@ui/UiModalDialog/UiModalDialog.scss +1 -0
  61. package/src/@ui/UiSearchableSelect/UiSearchableSelect.scss +118 -0
  62. package/src/@ui/UiTextInput/UiTextInput.scss +36 -5
  63. package/src/@ui/index.scss +1 -0
  64. package/styles/css/header.css +35 -0
  65. package/styles/css/header.css.map +1 -1
  66. package/styles/css/main.css +158 -7
  67. package/styles/css/main.css.map +1 -1
  68. package/styles/scss/header.scss +45 -0
@@ -54,6 +54,7 @@ import { IColorPaletteDefinition } from '@gooddata/sdk-model';
54
54
  import { IContextStore } from '@gooddata/sdk-ui';
55
55
  import { IDashboardParameter } from '@gooddata/sdk-model';
56
56
  import { IExecutionConfig } from '@gooddata/sdk-model';
57
+ import { IFeatureFlags } from '@gooddata/sdk-model';
57
58
  import { IFilter } from '@gooddata/sdk-model';
58
59
  import { ILocale } from '@gooddata/sdk-ui';
59
60
  import { IMeasureSortTarget } from '@gooddata/sdk-model';
@@ -1200,7 +1201,7 @@ export declare type GeneralAccessValue = "RESTRICTED" | "WORKSPACE";
1200
1201
  /**
1201
1202
  * @internal
1202
1203
  */
1203
- export declare function generateHeaderAccountMenuItems(workspacePermissions: IWorkspacePermissions, workspaceId?: string, featureFlags?: ISettings): IHeaderMenuItem[];
1204
+ export declare function generateHeaderAccountMenuItems(workspacePermissions: IWorkspacePermissions, { workspaceId, featureFlags }?: IGenerateHeaderAccountMenuItemsOptions): IHeaderMenuItem[];
1204
1205
 
1205
1206
  /**
1206
1207
  * Product-wide contextual help links, valid in any application.
@@ -2775,7 +2776,7 @@ export declare function IconTreeMap({ className, width, height, color, ariaHidde
2775
2776
  /**
2776
2777
  * @internal
2777
2778
  */
2778
- export declare type IconType = "aiAgent" | "aiAgentDisabled" | "brain" | "brainDisabled" | "check" | "checkCircle" | "certification" | "plus" | "plusCircle" | "sync" | "alert" | "alertPaused" | "close" | "cross" | "edit" | "crossCircle" | "question" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "date" | "navigateUp" | "navigateDown" | "navigateRight" | "navigateLeft" | "download" | "slack" | "expand" | "exclamationCircle" | "infoCircle" | "book" | "visible" | "invisible" | "lock" | "unlock" | "ai" | "aiFill" | "drawer" | "drawerEmpty" | "prohibited" | "dropDown" | "dropRight" | "clock" | "clockPaused" | "questionMark" | "upload" | "expandRectangle" | "file" | "number" | "code" | "user" | "userPlus" | "users" | "magic" | "tab" | "pauseCircle" | "filter" | "timer" | "mail" | "envelope" | "copy" | "rain" | "earth" | "geoCollection" | "geoCollectionUpload" | "minimize" | "shrink" | "copyright" | "ellipsis" | "pencil" | "folder" | "folderSmall" | "folderPlus" | "trash" | "arrowUp" | "arrowRight" | "arrowDown" | "arrowLeft" | "levelUp" | "undo" | "redo" | "trendDown" | "trendUp" | "save" | "minus" | "minusCircle" | "percent" | "enter" | "enterRight" | "money" | "ghost" | "warning" | "home" | "settings" | "search" | "university" | "building" | "printer" | "picture" | "visualization" | "columnGroup" | "visualizationStack" | "richText" | "dashboard" | "metric" | "fact" | "ldmAttribute" | "ldmKey" | "ldmLabel" | "sharp" | "attribute" | "horn" | "cw" | "ccw" | "table" | "directionColumn" | "directionRow" | "alignLeft" | "alignCenter" | "alignRight" | "alignTop" | "alignMiddle" | "alignBottom" | "bold" | "italic" | "imageContain" | "imageCover" | "imageFill" | "header" | "genai" | "genai2" | "explainai" | "hiddenForAi" | "box" | "ellipsisVertical" | "list" | "drillTo" | "hierarchy" | "history" | "history2" | "thumbsUp" | "thumbsDown" | "send" | "visualizationArea" | "visualizationTable" | "visualizationTreemap" | "visualizationScatter" | "visualizationDonut" | "visualizationHeadline" | "visualizationColumn" | "visualizationLine" | "visualizationPyramid" | "visualizationFunnel" | "visualizationHeatmap" | "visualizationBubble" | "visualizationPie" | "visualizationBar" | "visualizationCombo" | "visualizationBullet" | "visualizationWaterfall" | "visualizationDependencywheel" | "visualizationSankey" | "visualizationPushpin" | "visualizationRepeater" | "visualizationXirr" | "link" | "externalLink" | "click" | "fileXlsx" | "filePptx" | "filePdf" | "fileImage" | "fileCsvFormatted" | "fileCsvRaw" | "aiDocument" | "recommendation" | "streamUp" | "streamDown" | "stream" | "density" | "parameter" | "pin" | "unpin" | "speechBubble" | "pieChart" | "timezone" | "sidePanelCollapse" | "sidePanel" | "sidePanelExpand" | "lineStyle" | "lineStyleSolid" | "lineStyleDashed" | "lineStyleDotted" | "lineWidth1" | "lineWidth2" | "lineWidth3" | "lineWidth4" | "linear" | "spline" | "stepped";
2779
+ export declare type IconType = "aiAgent" | "aiAgentDisabled" | "brain" | "brainDisabled" | "check" | "checkCircle" | "certification" | "plus" | "plusCircle" | "sync" | "alert" | "alertPaused" | "close" | "cross" | "edit" | "crossCircle" | "question" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "date" | "navigateUp" | "navigateDown" | "navigateRight" | "navigateLeft" | "download" | "slack" | "expand" | "exclamationCircle" | "infoCircle" | "book" | "visible" | "invisible" | "lock" | "unlock" | "ai" | "aiFill" | "drawer" | "drawerEmpty" | "prohibited" | "dropDown" | "dropRight" | "clock" | "clockPaused" | "questionMark" | "upload" | "expandRectangle" | "file" | "number" | "code" | "user" | "userPlus" | "users" | "magic" | "tab" | "pauseCircle" | "filter" | "timer" | "mail" | "envelope" | "copy" | "rain" | "earth" | "globe" | "geoCollection" | "geoCollectionUpload" | "minimize" | "shrink" | "copyright" | "ellipsis" | "pencil" | "folder" | "folderSmall" | "folderPlus" | "trash" | "arrowUp" | "arrowRight" | "arrowDown" | "arrowLeft" | "levelUp" | "undo" | "redo" | "trendDown" | "trendUp" | "save" | "minus" | "minusCircle" | "percent" | "enter" | "enterRight" | "money" | "ghost" | "warning" | "home" | "settings" | "search" | "university" | "building" | "printer" | "picture" | "visualization" | "columnGroup" | "visualizationStack" | "richText" | "dashboard" | "metric" | "fact" | "ldmAttribute" | "ldmKey" | "ldmLabel" | "sharp" | "attribute" | "horn" | "cw" | "ccw" | "table" | "directionColumn" | "directionRow" | "alignLeft" | "alignCenter" | "alignRight" | "alignTop" | "alignMiddle" | "alignBottom" | "bold" | "italic" | "imageContain" | "imageCover" | "imageFill" | "header" | "genai" | "genai2" | "explainai" | "hiddenForAi" | "box" | "ellipsisVertical" | "list" | "drillTo" | "hierarchy" | "history" | "history2" | "thumbsUp" | "thumbsDown" | "send" | "visualizationArea" | "visualizationTable" | "visualizationTreemap" | "visualizationScatter" | "visualizationDonut" | "visualizationHeadline" | "visualizationColumn" | "visualizationLine" | "visualizationPyramid" | "visualizationFunnel" | "visualizationHeatmap" | "visualizationBubble" | "visualizationPie" | "visualizationBar" | "visualizationCombo" | "visualizationBullet" | "visualizationWaterfall" | "visualizationDependencywheel" | "visualizationSankey" | "visualizationPushpin" | "visualizationRepeater" | "visualizationXirr" | "link" | "externalLink" | "click" | "fileXlsx" | "filePptx" | "filePdf" | "fileImage" | "fileCsvFormatted" | "fileCsvRaw" | "aiDocument" | "recommendation" | "streamUp" | "streamDown" | "stream" | "density" | "parameter" | "pin" | "unpin" | "speechBubble" | "pieChart" | "timezone" | "sidePanelCollapse" | "sidePanel" | "sidePanelExpand" | "lineStyle" | "lineStyleSolid" | "lineStyleDashed" | "lineStyleDotted" | "lineWidth1" | "lineWidth2" | "lineWidth3" | "lineWidth4" | "linear" | "spline" | "stepped";
2779
2780
 
2780
2781
  /**
2781
2782
  * @internal
@@ -3870,6 +3871,14 @@ export declare interface IFormatTemplate {
3870
3871
  name: string;
3871
3872
  }
3872
3873
 
3874
+ /**
3875
+ * @internal
3876
+ */
3877
+ export declare interface IGenerateHeaderAccountMenuItemsOptions {
3878
+ workspaceId?: string;
3879
+ featureFlags?: IFeatureFlags;
3880
+ }
3881
+
3873
3882
  /**
3874
3883
  * @internal
3875
3884
  */
@@ -5871,6 +5880,10 @@ export declare interface ISearchResultsAnnouncementProps {
5871
5880
  * Announcement delay in milliseconds.
5872
5881
  */
5873
5882
  announcementDelay?: number;
5883
+ /**
5884
+ * Text to announce when there are no results. Defaults to a translated "No results match.".
5885
+ */
5886
+ noResultsText?: string;
5874
5887
  }
5875
5888
 
5876
5889
  /**
@@ -8520,6 +8533,10 @@ export declare interface IUiListboxInteractiveItem<T> {
8520
8533
  * `tooltip` still provides the plain text for screen readers.
8521
8534
  */
8522
8535
  tooltipContent?: ReactNode;
8536
+ /**
8537
+ * The language of the title when it differs from the page, rendered as the option's `lang` attribute.
8538
+ */
8539
+ lang?: string;
8523
8540
  }
8524
8541
 
8525
8542
  /**
@@ -8560,8 +8577,36 @@ export declare interface IUiListboxProps<InteractiveItemData, StaticItemData = R
8560
8577
  shouldKeyboardActionPreventDefault?: boolean;
8561
8578
  shouldKeyboardActionStopPropagation?: boolean;
8562
8579
  shouldCloseOnSelect?: boolean;
8580
+ /**
8581
+ * Selects an item on a click anywhere in its option (`<li role="option">`), including the option element
8582
+ * itself, so that clicks dispatched on the option (tests, assistive technologies) select it too. The listbox
8583
+ * handles the click; the `onSelect` passed to `InteractiveItemComponent` then does nothing, so item
8584
+ * components that still attach it don't select twice. Controls nested in an option (buttons, links) select
8585
+ * the item too unless they stop the click from propagating.
8586
+ *
8587
+ * Defaults to `false`: the item component attaches `onSelect` itself.
8588
+ */
8589
+ shouldSelectOnOptionClick?: boolean;
8563
8590
  isDisabledFocusable?: boolean;
8591
+ /**
8592
+ * The following option enables highlighting items by parent (such as when pressing arrow down and arrow up).
8593
+ * Listbox manages (real) focus itself only if the list is focused also. Sometimes though, we need for real focus
8594
+ * to stay at a different place (like a search bar above the list), but still have the ability to highlight elements
8595
+ * using "virtual focus" and aria attributes like `aria-activedescendant` on the element outside of listbox component.
8596
+ */
8597
+ focusedItemId?: string | null;
8598
+ /**
8599
+ * When using virtual focus (`focusedItemId`), there can be a double highlight if the arrow keys and hover
8600
+ * are used at the same time. Reports the id of the hovered item, so that the parent can resolve the double
8601
+ * highlight.
8602
+ */
8603
+ onFocusedItemIdChange?: (itemId: string) => void;
8564
8604
  isCompact?: boolean;
8605
+ /**
8606
+ * Vertical padding of the list: `"default"` is `6px 0`, `"none"` lets the surrounding popup own the spacing.
8607
+ * Defaults to `"default"`.
8608
+ */
8609
+ padding?: "default" | "none";
8565
8610
  supportedViews?: UiListboxView[];
8566
8611
  ariaAttributes: UiListboxAriaAttributes;
8567
8612
  reference?: RefObject<HTMLUListElement | null>;
@@ -9573,6 +9618,60 @@ export declare interface IUiReturnFocusOnUnmountOptions {
9573
9618
  focusVisible?: boolean;
9574
9619
  }
9575
9620
 
9621
+ /**
9622
+ * @internal
9623
+ */
9624
+ export declare interface IUiSearchableSelectItemProps {
9625
+ id: string;
9626
+ /**
9627
+ * The language of the item's text when it differs from the page, e.g. "de" for "Deutsch". Set as the
9628
+ * option's `lang` attribute, like on a native `<option>`.
9629
+ */
9630
+ lang?: string;
9631
+ /**
9632
+ * The option's title, shown in the list and the button and matched by the search.
9633
+ */
9634
+ children: string;
9635
+ }
9636
+
9637
+ /**
9638
+ * @internal
9639
+ */
9640
+ export declare interface IUiSearchableSelectListProps<T> {
9641
+ children: (item: T) => ReactNode;
9642
+ noItemsText?: string;
9643
+ }
9644
+
9645
+ /**
9646
+ * @internal
9647
+ */
9648
+ export declare interface IUiSearchableSelectProps<T> {
9649
+ accessibilityConfig: IAccessibilityConfigBase;
9650
+ children: ReactNode;
9651
+ /**
9652
+ * Whether the dropdown is open when it mounts (uncontrolled, like `defaultOpen` in React Aria).
9653
+ * Defaults to `false`.
9654
+ */
9655
+ defaultOpen?: boolean;
9656
+ /**
9657
+ * Whether an item matches the search query. Defaults to the item's title containing the query. Called only
9658
+ * while searching: without a query, all items show.
9659
+ */
9660
+ filter?: (item: T, query: string) => boolean;
9661
+ items: T[];
9662
+ onChange: (value: string) => void;
9663
+ placeholder: string;
9664
+ value: string | null;
9665
+ }
9666
+
9667
+ /**
9668
+ * @internal
9669
+ */
9670
+ export declare interface IUiSearchableSelectSearchProps {
9671
+ accessibilityConfig?: IAccessibilityConfigBase;
9672
+ placeholder?: string;
9673
+ }
9674
+
9576
9675
  /**
9577
9676
  * @internal
9578
9677
  */
@@ -9889,6 +9988,11 @@ export declare interface IUiTextInputProps {
9889
9988
  onChange: (next: string) => void;
9890
9989
  /** Optional label rendered above the input. */
9891
9990
  label?: string;
9991
+ /**
9992
+ * Height of the field: `"medium"` is 32px, `"small"` is 27px with smaller text.
9993
+ * Defaults to `"medium"`.
9994
+ */
9995
+ size?: SizeSmall | SizeMedium;
9892
9996
  /** Placeholder shown when the input is empty. */
9893
9997
  placeholder?: string;
9894
9998
  /** Optional icon rendered inside the input at the start. */
@@ -11101,6 +11205,14 @@ export declare const makeTabsKeyboardNavigation: <T extends KeyboardEvent_2 = Ke
11101
11205
  onUnhandledKeyDown?: ((event: T) => void) | undefined;
11102
11206
  }, options?: IHandleActionOptions) => (event: T) => void;
11103
11207
 
11208
+ /**
11209
+ * Whether the text contains the query, ignoring case and diacritics ("zlta" finds "Žltá"), e.g. for the `filter`
11210
+ * of UiSearchableSelect.
11211
+ *
11212
+ * @internal
11213
+ */
11214
+ export declare function matchesSearchQuery(textValue: string, query: string): boolean;
11215
+
11104
11216
  /**
11105
11217
  * @internal
11106
11218
  */
@@ -12616,7 +12728,7 @@ export declare function UiLink({ variant, flipUnderline, fullWidth, isDisabled,
12616
12728
  *
12617
12729
  * @internal
12618
12730
  */
12619
- export declare function UiListbox<InteractiveItemData, StaticItemData>({ items: rawItems, dataTestId, itemDataTestId, width, maxWidth, maxHeight, onSelect, onClose, onUnhandledKeyDown, selectedItemId, InteractiveItemComponent, StaticItemComponent, shouldKeyboardActionPreventDefault, shouldKeyboardActionStopPropagation, shouldCloseOnSelect, isDisabledFocusable, isCompact, supportedViews, reference, ariaAttributes, }: IUiListboxProps<InteractiveItemData, StaticItemData>): ReactNode;
12731
+ export declare function UiListbox<InteractiveItemData, StaticItemData>({ items: rawItems, dataTestId, itemDataTestId, width, maxWidth, maxHeight, onSelect, onClose, onUnhandledKeyDown, selectedItemId, InteractiveItemComponent, StaticItemComponent, shouldKeyboardActionPreventDefault, shouldKeyboardActionStopPropagation, shouldCloseOnSelect, shouldSelectOnOptionClick, isDisabledFocusable, focusedItemId, onFocusedItemIdChange, isCompact, padding, supportedViews, reference, ariaAttributes, }: IUiListboxProps<InteractiveItemData, StaticItemData>): ReactNode;
12620
12732
 
12621
12733
  /**
12622
12734
  * @internal
@@ -12852,13 +12964,43 @@ export declare function UiReturnFocusOnUnmount({ children, ...options }: IUiRetu
12852
12964
  children: ReactNode;
12853
12965
  }): JSX.Element;
12854
12966
 
12967
+ /**
12968
+ * @internal
12969
+ */
12970
+ export declare function UiSearchableSelect<T>({ accessibilityConfig, children, items, filter, placeholder, defaultOpen, value, onChange, }: IUiSearchableSelectProps<T>): JSX.Element;
12971
+
12972
+ /**
12973
+ * Only here for the markup. This component is searched from the parent.
12974
+ *
12975
+ * @internal
12976
+ */
12977
+ export declare function UiSearchableSelectDivider(): null;
12978
+
12979
+ /**
12980
+ * Describes an option and renders nothing: UiSearchableSelectList reads its props and UiListbox renders
12981
+ * the option, like the `Item` of React Stately collections.
12982
+ *
12983
+ * @internal
12984
+ */
12985
+ export declare function UiSearchableSelectItem(_props: IUiSearchableSelectItemProps): null;
12986
+
12987
+ /**
12988
+ * @internal
12989
+ */
12990
+ export declare function UiSearchableSelectList<T>({ noItemsText }: IUiSearchableSelectListProps<T>): JSX.Element;
12991
+
12992
+ /**
12993
+ * @internal
12994
+ */
12995
+ export declare function UiSearchableSelectSearch({ accessibilityConfig, placeholder, }: IUiSearchableSelectSearchProps): JSX.Element;
12996
+
12855
12997
  /**
12856
12998
  * A hidden component that announces search results to screen readers.
12857
12999
  * Announcements are made only when the search results change.
12858
13000
  *
12859
13001
  * @internal
12860
13002
  */
12861
- export declare function UiSearchResultsAnnouncement({ totalResults, resultValues, announcementDelay, }: ISearchResultsAnnouncementProps): JSX.Element;
13003
+ export declare function UiSearchResultsAnnouncement({ totalResults, resultValues, announcementDelay, noResultsText, }: ISearchResultsAnnouncementProps): JSX.Element;
12862
13004
 
12863
13005
  /**
12864
13006
  * "LABEL ────── action" pattern used by dialog sections (e.g. SHARED WITH +
@@ -12949,12 +13091,12 @@ export declare function UiTags({ tags, tagOptions, addLabel, nameLabel, cancelLa
12949
13091
 
12950
13092
  /**
12951
13093
  * Single-line text input with optional label and leading / trailing icons.
12952
- * The kit's canonical text-field rendering: 32px height, 1px
13094
+ * The kit's canonical text-field rendering: 32px height (27px when `size` is `"small"`), 1px
12953
13095
  * complementary-4 border, inset shadow, primary-blue focus state.
12954
13096
  *
12955
13097
  * @internal
12956
13098
  */
12957
- export declare function UiTextInput({ type, value, onChange, label, placeholder, iconBefore, iconAfter, onIconAfter, accessibilityConfig, isError, disabled, autoFocus, onKeyDown, onFocus, onBlur, onClick, dataTestId, inputRef, wrapperRef, name, autoComplete, autoCapitalize, autoCorrect, }: IUiTextInputProps): JSX.Element;
13099
+ export declare function UiTextInput({ type, value, onChange, label, size, placeholder, iconBefore, iconAfter, onIconAfter, accessibilityConfig, isError, disabled, autoFocus, onKeyDown, onFocus, onBlur, onClick, dataTestId, inputRef, wrapperRef, name, autoComplete, autoCapitalize, autoCorrect, }: IUiTextInputProps): JSX.Element;
12958
13100
 
12959
13101
  /**
12960
13102
  * Interpolation values accepted by `react-intl`'s `formatMessage`, **narrowed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-kit",
3
- "version": "11.64.0-alpha.6",
3
+ "version": "11.64.1",
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.64.0-alpha.6",
83
- "@gooddata/sdk-model": "11.64.0-alpha.6",
84
- "@gooddata/sdk-ui-theme-provider": "11.64.0-alpha.6",
85
- "@gooddata/util": "11.64.0-alpha.6",
86
- "@gooddata/sdk-ui": "11.64.0-alpha.6"
82
+ "@gooddata/sdk-backend-spi": "11.64.1",
83
+ "@gooddata/sdk-model": "11.64.1",
84
+ "@gooddata/sdk-ui": "11.64.1",
85
+ "@gooddata/sdk-ui-theme-provider": "11.64.1",
86
+ "@gooddata/util": "11.64.1"
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/oxlint-config": "11.64.0-alpha.6",
132
- "@gooddata/eslint-config": "11.64.0-alpha.6",
133
- "@gooddata/reference-workspace": "11.64.0-alpha.6",
134
- "@gooddata/stylelint-config": "11.64.0-alpha.6",
135
- "@gooddata/sdk-backend-mockingbird": "11.64.0-alpha.6"
131
+ "@gooddata/eslint-config": "11.64.1",
132
+ "@gooddata/oxlint-config": "11.64.1",
133
+ "@gooddata/reference-workspace": "11.64.1",
134
+ "@gooddata/sdk-backend-mockingbird": "11.64.1",
135
+ "@gooddata/stylelint-config": "11.64.1"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "react": "^18.0.0 || ^19.0.0",
@@ -1,4 +1,4 @@
1
- // (C) 2025 GoodData Corporation
1
+ // (C) 2025-2026 GoodData Corporation
2
2
 
3
3
  $border-radius: 20px;
4
4
  $background-color: var(--gd-palette-complementary-0);
@@ -274,15 +274,14 @@ $action-box-shadow: var(--gd-button-dropShadow, 0 -1px 0 0) var(--gd-palette-com
274
274
  }
275
275
  }
276
276
 
277
+ // No transition on the text spans: Safari leaves them unpainted when an overlay reveals them.
277
278
  &__label {
278
- transition: var(--gd-transition-all);
279
279
  white-space: nowrap;
280
280
  overflow: hidden;
281
281
  text-overflow: ellipsis;
282
282
  }
283
283
 
284
284
  &__tag {
285
- transition: var(--gd-transition-all);
286
285
  margin-left: 2px;
287
286
  }
288
287
 
@@ -7,6 +7,7 @@
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);
10
11
  border-radius: 3px;
11
12
  box-shadow: 0 1px 20px var(--gd-shadow-color, rgba(20, 56, 93, 0.15));
12
13
  font-family: var(--gd-font-family), gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif;
@@ -5,7 +5,6 @@
5
5
 
6
6
  .gd-ui-kit-listbox {
7
7
  $root: &;
8
-
9
8
  max-height: 300px;
10
9
  overflow-y: auto;
11
10
  overflow-x: hidden;
@@ -14,6 +13,10 @@
14
13
  min-width: 200px;
15
14
  padding: 6px 0;
16
15
 
16
+ &--padding-none {
17
+ padding: 0;
18
+ }
19
+
17
20
  &--mobile {
18
21
  // !important to override inline style from maxWidth prop
19
22
  /* stylelint-disable-next-line declaration-no-important */
@@ -32,6 +35,12 @@
32
35
  background-color: variables.$is-focused-background;
33
36
  @include mixins.focus-ring;
34
37
  }
38
+
39
+ // the list is never focused itself, so the highlight shows without :focus-visible
40
+ // (a selected highlighted item is styled by --isSelected--isFocused below)
41
+ &--virtualFocus #{$root}__item--isFocused:not(#{$root}__item--isSelected) {
42
+ background-color: variables.$is-focused-background;
43
+ }
35
44
  }
36
45
 
37
46
  &__item {
@@ -42,10 +51,11 @@
42
51
  font-size: 14px;
43
52
  line-height: 20px;
44
53
  color: variables.$gd-color-text;
45
- transition: background-color 0.2s;
46
54
  gap: 10px;
47
55
 
48
- &:hover:not(&--isDisabled):not(&--isSelected) {
56
+ // With virtual focus, hovering moves the highlight itself (onFocusedItemIdChange), so painting :hover
57
+ // too would show a second highlight on the item under a resting mouse
58
+ #{$root}__items:not(#{$root}__items--virtualFocus) &:hover:not(&--isDisabled):not(&--isSelected) {
49
59
  background-color: variables.$is-focused-background;
50
60
  color: variables.$is-focused-color;
51
61
  }
@@ -63,7 +73,7 @@
63
73
  }
64
74
 
65
75
  &--isSelected#{&}--isFocused,
66
- &:hover#{&}--isSelected {
76
+ #{$root}__items:not(#{$root}__items--virtualFocus) &:hover#{&}--isSelected {
67
77
  font-weight: bold;
68
78
  background-color: variables.$is-selected-focused-background;
69
79
  color: variables.$is-selected-focused-color;
@@ -76,6 +86,7 @@
76
86
 
77
87
  &--isCompact {
78
88
  font-size: 12px;
89
+ line-height: 18px;
79
90
  padding: 5px 10px;
80
91
  }
81
92
  }
@@ -19,6 +19,7 @@
19
19
  position: relative;
20
20
  display: flex;
21
21
  flex-direction: column;
22
+ max-width: calc(100vw - 2 * var(--gd-spacing-20px));
22
23
  max-height: calc(100vh - 80px);
23
24
  overflow-y: auto;
24
25
  overscroll-behavior: contain;
@@ -0,0 +1,118 @@
1
+ // (C) 2026 GoodData Corporation
2
+
3
+ @use "../../../styles/scss/variables";
4
+ @use "../../../styles/scss/mixins";
5
+ @use "../../../styles/scss/Button/variables" as button-variables;
6
+
7
+ /**
8
+ * Custom properties are needed to animate the linear-gradient background image in the pressed dropdown button
9
+ * state. See the comment in `__button` below for more details.
10
+ */
11
+ @property --searchable-select-background-top {
12
+ syntax: "<color>";
13
+ inherits: false;
14
+ initial-value: transparent;
15
+ }
16
+
17
+ @property --searchable-select-background-bottom {
18
+ syntax: "<color>";
19
+ inherits: false;
20
+ initial-value: transparent;
21
+ }
22
+
23
+ .gd-ui-kit-searchable-select {
24
+ &__button,
25
+ &__button-icon {
26
+ display: flex;
27
+ align-items: center;
28
+ }
29
+
30
+ &__button {
31
+ --gd-icon-fill-color: var(--gd-palette-complementary-6);
32
+ --searchable-select-background-top: var(--gd-palette-complementary-0);
33
+ --searchable-select-background-bottom: var(--gd-palette-complementary-0);
34
+ color: var(--gd-palette-complementary-7);
35
+ cursor: pointer;
36
+ font-size: 14px;
37
+ height: var(--gd-button-M);
38
+ width: 100%;
39
+ gap: 5px;
40
+ padding: 6.5px 10px;
41
+ border-radius: 3px;
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
+ box-shadow: 0 1px 1px 0 rgba(48, 52, 66, 0.05);
45
+
46
+ /**
47
+ * The pressed state uses a gradient from `--gd-palette-complementary-3` to
48
+ * `--gd-palette-complementary-2`. The problem is that background-image (linear-gradient) is not
49
+ * properly animatable (animation type = discrete). The browser by default excludes discrete animation
50
+ * from transitioning, resulting in immediate change without transition. Even with
51
+ * `transition-behavior: allow-discrete;` it would not work properly and would immediately flip it on
52
+ * the 50% time stop of the transition duration (or more precisely easing progress).
53
+ *
54
+ * Therefore to animate the linear-gradient properly, we introduce a shared background rule here in
55
+ * `__button` and we introduce custom properties of type `<color>`, which in this combination allows
56
+ * us to transition the linear gradient in pressed state properly.
57
+ */
58
+ background: linear-gradient(
59
+ to bottom,
60
+ var(--searchable-select-background-top),
61
+ var(--searchable-select-background-bottom)
62
+ );
63
+
64
+ /**
65
+ * Transition properties are not part of transition "all", so custom gradient properties are also
66
+ * listed here. See https://github.com/w3c/csswg-drafts/issues/8456 for more details.
67
+ */
68
+ transition:
69
+ var(--gd-transition-all),
70
+ --searchable-select-background-top 0.25s ease-in-out,
71
+ --searchable-select-background-bottom 0.25s ease-in-out;
72
+
73
+ &:hover,
74
+ &:focus-visible {
75
+ --gd-icon-fill-color: var(--gd-palette-complementary-7);
76
+ --searchable-select-background-top: var(--gd-palette-complementary-1);
77
+ --searchable-select-background-bottom: var(--gd-palette-complementary-1);
78
+ color: var(--gd-palette-complementary-8);
79
+ border-color: var(--gd-palette-complementary-5);
80
+ box-shadow: 0 -1px 0 0 var(--gd-palette-complementary-5-t40) inset;
81
+ }
82
+
83
+ &:active,
84
+ &[aria-expanded="true"] {
85
+ --gd-icon-fill-color: var(--gd-palette-complementary-7);
86
+ --searchable-select-background-top: var(--gd-palette-complementary-3);
87
+ --searchable-select-background-bottom: var(--gd-palette-complementary-2);
88
+ color: var(--gd-palette-complementary-8);
89
+ border-color: var(--gd-palette-complementary-5);
90
+ box-shadow: 0 1px 0 0 var(--gd-palette-complementary-5-t40) inset;
91
+ }
92
+ }
93
+
94
+ // long values are cut off, so that the icon stays visible
95
+ &__button-title {
96
+ @include mixins.text-overflow;
97
+ }
98
+
99
+ &__button-icon {
100
+ flex-shrink: 0;
101
+ margin-left: auto;
102
+ }
103
+
104
+ &__body {
105
+ padding: 4px 0;
106
+ }
107
+
108
+ &__search {
109
+ padding: 10px;
110
+ }
111
+
112
+ &__no-items {
113
+ padding: 10px;
114
+ font-size: 12px;
115
+ line-height: 145%;
116
+ color: var(--gd-palette-complementary-7);
117
+ }
118
+ }
@@ -1,6 +1,8 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
 
3
3
  .gd-ui-kit-text-input {
4
+ $root: &;
5
+
4
6
  display: flex;
5
7
  flex-direction: column;
6
8
  gap: var(--gd-spacing-5px);
@@ -12,17 +14,42 @@
12
14
  }
13
15
 
14
16
  &__field {
17
+ --gd-icon-fill-color: var(--gd-palette-complementary-6);
18
+
15
19
  display: flex;
16
20
  align-items: center;
21
+ box-sizing: border-box;
17
22
  height: 32px;
18
23
  padding: 0 var(--gd-spacing-7px);
19
24
  border: 1px solid var(--gd-palette-complementary-4);
20
25
  border-radius: 3px;
21
26
  background-color: var(--gd-palette-complementary-0);
22
27
  box-shadow: inset 0 1px 2px var(--gd-shadow-color);
28
+ transition: var(--gd-transition-all);
29
+ // Only outline-style changes on focus, and it is not animatable, so the focus indicator shows at
30
+ // once despite the transition.
31
+ outline: 2px none var(--gd-palette-primary-base);
32
+ outline-offset: -1px;
33
+
34
+ &:hover:not(&--disabled):not(&--error) {
35
+ border-color: var(--gd-palette-complementary-5);
36
+ }
37
+
38
+ &:focus-within {
39
+ outline-style: solid;
40
+ }
23
41
 
42
+ &:hover:not(&--disabled),
24
43
  &:focus-within {
25
- border-color: var(--gd-palette-primary-base);
44
+ --gd-icon-fill-color: var(--gd-palette-complementary-7);
45
+ }
46
+
47
+ &--size-small {
48
+ height: var(--gd-button-S);
49
+
50
+ #{$root}__input {
51
+ font-size: 13px;
52
+ }
26
53
  }
27
54
 
28
55
  &--disabled {
@@ -30,11 +57,10 @@
30
57
  cursor: not-allowed;
31
58
  }
32
59
 
33
- // Repeated with :focus-within to outweigh the focus rule above, so the border stays error-colored
34
- // while the field is being corrected.
35
- &--error,
36
- &--error:focus-within {
60
+ // The focus outline is error-colored too, so the field stays red while it is being corrected.
61
+ &--error {
37
62
  border-color: var(--gd-palette-error-base);
63
+ outline-color: var(--gd-palette-error-base);
38
64
  }
39
65
  }
40
66
 
@@ -66,6 +92,11 @@
66
92
  color: var(--gd-palette-complementary-8);
67
93
  outline: none;
68
94
 
95
+ // We are setting focus on the outer div, so disable here
96
+ &:focus-visible {
97
+ outline: none;
98
+ }
99
+
69
100
  &::placeholder {
70
101
  // `opacity` not `rgba(var(...))` so theme overrides of complementary-7 still apply.
71
102
  color: var(--gd-palette-complementary-7);
@@ -36,6 +36,7 @@
36
36
  @use "./UiErrorPage/UiErrorPage.scss";
37
37
  @use "./UiRestrictedPlaceholder/UiRestrictedPlaceholder.scss";
38
38
  @use "./UiSectionHeading/UiSectionHeading.scss";
39
+ @use "./UiSearchableSelect/UiSearchableSelect.scss";
39
40
  @use "./UiConfirmDialog/UiConfirmDialog.scss";
40
41
  @use "./UiTextInput/UiTextInput.scss";
41
42
  @use "./UiRadio/UiRadio.scss";
@@ -109,6 +109,37 @@
109
109
  text-overflow: ellipsis;
110
110
  }
111
111
 
112
+ .gd-header-language-button {
113
+ display: flex;
114
+ align-items: center;
115
+ gap: 10px;
116
+ box-sizing: border-box;
117
+ width: 100%;
118
+ height: 42px;
119
+ margin-bottom: 8px;
120
+ border: 0;
121
+ background: none;
122
+ font-family: inherit;
123
+ line-height: 42px;
124
+ text-align: left;
125
+ cursor: pointer;
126
+ transition: var(--gd-transition-all);
127
+ }
128
+ .gd-header-language-button:hover {
129
+ background-color: #343c4a;
130
+ }
131
+ .gd-header-language-button .gd-header-language-label {
132
+ flex: 1 1 auto;
133
+ overflow: hidden;
134
+ text-overflow: ellipsis;
135
+ }
136
+ .gd-header-language-button .gd-ui-kit-icon {
137
+ flex: none;
138
+ }
139
+ .gd-header-language-button .gd-ui-kit-icon:first-child {
140
+ margin: -2px;
141
+ }
142
+
112
143
  .gd-header-menu-vertical .gd-header-menu-item {
113
144
  margin: 0;
114
145
  position: relative;
@@ -815,6 +846,10 @@ a.gd-list-help-menu-item.gd-list-item:focus {
815
846
  .gd-header-account-dropdown .gd-list a.gd-list-item:focus {
816
847
  text-decoration: none;
817
848
  }
849
+ .gd-header-account-dropdown .gd-list button.gd-list-item {
850
+ border: 0;
851
+ line-height: inherit;
852
+ }
818
853
 
819
854
  .gd-header-help-dropdown {
820
855
  overflow: hidden;