@gooddata/sdk-ui-kit 11.13.0-alpha.6 → 11.13.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.
Files changed (88) hide show
  1. package/esm/@ui/UiCombobox/UiCombobox.d.ts +32 -0
  2. package/esm/@ui/UiCombobox/UiCombobox.d.ts.map +1 -0
  3. package/esm/@ui/UiCombobox/UiCombobox.js +32 -0
  4. package/esm/@ui/UiCombobox/UiCombobox.js.map +1 -0
  5. package/esm/@ui/UiCombobox/UiComboboxContext.d.ts +10 -0
  6. package/esm/@ui/UiCombobox/UiComboboxContext.d.ts.map +1 -0
  7. package/esm/@ui/UiCombobox/UiComboboxContext.js +16 -0
  8. package/esm/@ui/UiCombobox/UiComboboxContext.js.map +1 -0
  9. package/esm/@ui/UiCombobox/UiComboboxInput.d.ts +6 -0
  10. package/esm/@ui/UiCombobox/UiComboboxInput.d.ts.map +1 -0
  11. package/esm/@ui/UiCombobox/UiComboboxInput.js +38 -0
  12. package/esm/@ui/UiCombobox/UiComboboxInput.js.map +1 -0
  13. package/esm/@ui/UiCombobox/UiComboboxList.d.ts +12 -0
  14. package/esm/@ui/UiCombobox/UiComboboxList.d.ts.map +1 -0
  15. package/esm/@ui/UiCombobox/UiComboboxList.js +13 -0
  16. package/esm/@ui/UiCombobox/UiComboboxList.js.map +1 -0
  17. package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts +38 -0
  18. package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts.map +1 -0
  19. package/esm/@ui/UiCombobox/UiComboboxListItem.js +56 -0
  20. package/esm/@ui/UiCombobox/UiComboboxListItem.js.map +1 -0
  21. package/esm/@ui/UiCombobox/UiComboboxPopup.d.ts +6 -0
  22. package/esm/@ui/UiCombobox/UiComboboxPopup.d.ts.map +1 -0
  23. package/esm/@ui/UiCombobox/UiComboboxPopup.js +13 -0
  24. package/esm/@ui/UiCombobox/UiComboboxPopup.js.map +1 -0
  25. package/esm/@ui/UiCombobox/comboboxBem.d.ts +2 -0
  26. package/esm/@ui/UiCombobox/comboboxBem.d.ts.map +1 -0
  27. package/esm/@ui/UiCombobox/comboboxBem.js +4 -0
  28. package/esm/@ui/UiCombobox/comboboxBem.js.map +1 -0
  29. package/esm/@ui/UiCombobox/index.d.ts +8 -0
  30. package/esm/@ui/UiCombobox/index.d.ts.map +1 -0
  31. package/esm/@ui/UiCombobox/index.js +8 -0
  32. package/esm/@ui/UiCombobox/index.js.map +1 -0
  33. package/esm/@ui/UiCombobox/types.d.ts +57 -0
  34. package/esm/@ui/UiCombobox/types.d.ts.map +1 -0
  35. package/esm/@ui/UiCombobox/types.js +3 -0
  36. package/esm/@ui/UiCombobox/types.js.map +1 -0
  37. package/esm/@ui/UiCombobox/useCombobox.d.ts +4 -0
  38. package/esm/@ui/UiCombobox/useCombobox.d.ts.map +1 -0
  39. package/esm/@ui/UiCombobox/useCombobox.js +168 -0
  40. package/esm/@ui/UiCombobox/useCombobox.js.map +1 -0
  41. package/esm/@ui/UiCombobox/utils.d.ts +3 -0
  42. package/esm/@ui/UiCombobox/utils.d.ts.map +1 -0
  43. package/esm/@ui/UiCombobox/utils.js +6 -0
  44. package/esm/@ui/UiCombobox/utils.js.map +1 -0
  45. package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
  46. package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +4 -4
  47. package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js.map +1 -1
  48. package/esm/@ui/UiTags/UiTags.d.ts +1 -1
  49. package/esm/@ui/UiTags/UiTags.d.ts.map +1 -1
  50. package/esm/@ui/UiTags/UiTags.js +24 -14
  51. package/esm/@ui/UiTags/UiTags.js.map +1 -1
  52. package/esm/@ui/UiTags/interactions.d.ts.map +1 -1
  53. package/esm/@ui/UiTags/interactions.js +4 -5
  54. package/esm/@ui/UiTags/interactions.js.map +1 -1
  55. package/esm/@ui/UiTags/types.d.ts +2 -0
  56. package/esm/@ui/UiTags/types.d.ts.map +1 -1
  57. package/esm/@ui/UiTags/types.js +1 -0
  58. package/esm/@ui/UiTags/types.js.map +1 -1
  59. package/esm/index.d.ts +1 -0
  60. package/esm/index.d.ts.map +1 -1
  61. package/esm/index.js +1 -0
  62. package/esm/index.js.map +1 -1
  63. package/esm/measureNumberFormat/hooks/useMetricTypePresets.d.ts +1 -28
  64. package/esm/measureNumberFormat/hooks/useMetricTypePresets.d.ts.map +1 -1
  65. package/esm/measureNumberFormat/hooks/useMetricTypePresets.js +18 -21
  66. package/esm/measureNumberFormat/hooks/useMetricTypePresets.js.map +1 -1
  67. package/esm/measureNumberFormat/index.d.ts +2 -2
  68. package/esm/measureNumberFormat/index.d.ts.map +1 -1
  69. package/esm/measureNumberFormat/index.js +2 -2
  70. package/esm/measureNumberFormat/index.js.map +1 -1
  71. package/esm/measureNumberFormat/presets/currencyPresets.d.ts +1 -7
  72. package/esm/measureNumberFormat/presets/currencyPresets.d.ts.map +1 -1
  73. package/esm/measureNumberFormat/presets/currencyPresets.js +5 -14
  74. package/esm/measureNumberFormat/presets/currencyPresets.js.map +1 -1
  75. package/esm/measureNumberFormat/presets/standardPresets.d.ts +1 -7
  76. package/esm/measureNumberFormat/presets/standardPresets.d.ts.map +1 -1
  77. package/esm/measureNumberFormat/presets/standardPresets.js +21 -17
  78. package/esm/measureNumberFormat/presets/standardPresets.js.map +1 -1
  79. package/esm/measureNumberFormat/presets/templates.d.ts +4 -4
  80. package/esm/measureNumberFormat/presets/templates.d.ts.map +1 -1
  81. package/esm/measureNumberFormat/presets/templates.js +65 -25
  82. package/esm/measureNumberFormat/presets/templates.js.map +1 -1
  83. package/esm/sdk-ui-kit.d.ts +158 -49
  84. package/package.json +9 -9
  85. package/src/@ui/UiCombobox/UiCombobox.scss +128 -0
  86. package/src/@ui/index.scss +1 -0
  87. package/styles/css/main.css +127 -3
  88. package/styles/css/main.css.map +1 -1
@@ -1,4 +1,17 @@
1
1
  // (C) 2025 GoodData Corporation
2
+ import { defineMessages } from "react-intl";
3
+ /**
4
+ * Message IDs for standard template definitions.
5
+ * @internal
6
+ */
7
+ const standardTemplateMessages = defineMessages({
8
+ rounded: { id: "measureNumberFormat.numberFormat.template.rounded" },
9
+ decimal1: { id: "measureNumberFormat.numberFormat.template.decimal1" },
10
+ decimal2: { id: "measureNumberFormat.numberFormat.template.decimal2" },
11
+ percentRounded: { id: "measureNumberFormat.numberFormat.template.percentRounded" },
12
+ percent1: { id: "measureNumberFormat.numberFormat.template.percent1" },
13
+ percent2: { id: "measureNumberFormat.numberFormat.template.percent2" },
14
+ });
2
15
  /**
3
16
  * Standard format template definitions (basic numeric formats).
4
17
  * @internal
@@ -7,34 +20,42 @@ export const STANDARD_TEMPLATE_DEFINITIONS = [
7
20
  {
8
21
  localIdentifier: "rounded",
9
22
  format: "#,##0",
10
- messageId: "metricComponent.numberFormat.template.rounded",
23
+ messageId: standardTemplateMessages.rounded.id,
11
24
  },
12
25
  {
13
26
  localIdentifier: "decimal-1",
14
27
  format: "#,##0.0",
15
- messageId: "metricComponent.numberFormat.template.decimal1",
28
+ messageId: standardTemplateMessages.decimal1.id,
16
29
  },
17
30
  {
18
31
  localIdentifier: "decimal-2",
19
32
  format: "#,##0.00",
20
- messageId: "metricComponent.numberFormat.template.decimal2",
33
+ messageId: standardTemplateMessages.decimal2.id,
21
34
  },
22
35
  {
23
36
  localIdentifier: "percent-rounded",
24
37
  format: "#,##0%",
25
- messageId: "metricComponent.numberFormat.template.percentRounded",
38
+ messageId: standardTemplateMessages.percentRounded.id,
26
39
  },
27
40
  {
28
41
  localIdentifier: "percent-1",
29
42
  format: "#,##0.0%",
30
- messageId: "metricComponent.numberFormat.template.percent1",
43
+ messageId: standardTemplateMessages.percent1.id,
31
44
  },
32
45
  {
33
46
  localIdentifier: "percent-2",
34
47
  format: "#,##0.00%",
35
- messageId: "metricComponent.numberFormat.template.percent2",
48
+ messageId: standardTemplateMessages.percent2.id,
36
49
  },
37
50
  ];
51
+ /**
52
+ * Message IDs for currency template definitions.
53
+ * @internal
54
+ */
55
+ const currencyTemplateMessages = defineMessages({
56
+ currency: { id: "measureNumberFormat.numberFormat.template.currency" },
57
+ currencyShortened: { id: "measureNumberFormat.numberFormat.template.currencyShortened" },
58
+ });
38
59
  /**
39
60
  * Currency format template definitions.
40
61
  * @internal
@@ -43,7 +64,7 @@ export const CURRENCY_TEMPLATE_DEFINITIONS = [
43
64
  {
44
65
  localIdentifier: "currency",
45
66
  format: "$#,##0.00",
46
- messageId: "metricComponent.numberFormat.template.currency",
67
+ messageId: currencyTemplateMessages.currency.id,
47
68
  },
48
69
  {
49
70
  localIdentifier: "currency-shortened",
@@ -57,9 +78,28 @@ export const CURRENCY_TEMPLATE_DEFINITIONS = [
57
78
  "[<=-1000000]-$#,,.0 M;\n" +
58
79
  "[<=-1000]-$#,.0 K;\n" +
59
80
  "[<0]-$#,##0",
60
- messageId: "metricComponent.numberFormat.template.currencyShortened",
81
+ messageId: currencyTemplateMessages.currencyShortened.id,
61
82
  },
62
83
  ];
84
+ /**
85
+ * Message IDs for advanced template definitions.
86
+ * @internal
87
+ */
88
+ const advancedTemplateMessages = defineMessages({
89
+ largeNumbersShortened: { id: "measureNumberFormat.numberFormat.template.largeNumbersShortened" },
90
+ largeNumbersShortenedWithColors: {
91
+ id: "measureNumberFormat.numberFormat.template.largeNumbersShortenedWithColors",
92
+ },
93
+ negativeNumbersRed: { id: "measureNumberFormat.numberFormat.template.negativeNumbersRed" },
94
+ financial: { id: "measureNumberFormat.numberFormat.template.financial" },
95
+ decimalWithoutThousandsSeparator: {
96
+ id: "measureNumberFormat.numberFormat.template.decimalWithoutThousandsSeparator",
97
+ },
98
+ conditionalColors: { id: "measureNumberFormat.numberFormat.template.conditionalColors" },
99
+ trendSymbols: { id: "measureNumberFormat.numberFormat.template.trendSymbols" },
100
+ timeFromSeconds: { id: "measureNumberFormat.numberFormat.template.timeFromSeconds" },
101
+ zeroInsteadOfNull: { id: "measureNumberFormat.numberFormat.template.zeroInsteadOfNull" },
102
+ });
63
103
  /**
64
104
  * Advanced format template definitions (complex conditional formats).
65
105
  * @internal
@@ -77,7 +117,7 @@ export const ADVANCED_TEMPLATE_DEFINITIONS = [
77
117
  "[<=-1000000]-#,,.0 M;\n" +
78
118
  "[<=-1000]-#,.0 K;\n" +
79
119
  "[<0]-#,##0",
80
- messageId: "metricComponent.numberFormat.template.largeNumbersShortened",
120
+ messageId: advancedTemplateMessages.largeNumbersShortened.id,
81
121
  },
82
122
  {
83
123
  localIdentifier: "large-numbers-shortened-with-colors",
@@ -91,32 +131,32 @@ export const ADVANCED_TEMPLATE_DEFINITIONS = [
91
131
  "[<=-1000000][red]-#,,.0 M;\n" +
92
132
  "[<=-1000][red]-#,.0 K;\n" +
93
133
  "[<0][black]-#,##0",
94
- messageId: "metricComponent.numberFormat.template.largeNumbersShortenedWithColors",
134
+ messageId: advancedTemplateMessages.largeNumbersShortenedWithColors.id,
95
135
  },
96
136
  {
97
137
  localIdentifier: "negative-numbers-red",
98
138
  format: "[<0][red]-#,##0.0;\n[black]#,##0.0",
99
- messageId: "metricComponent.numberFormat.template.negativeNumbersRed",
139
+ messageId: advancedTemplateMessages.negativeNumbersRed.id,
100
140
  },
101
141
  {
102
142
  localIdentifier: "financial",
103
143
  format: "[<0](#,##0.0);\n#,##0.0",
104
- messageId: "metricComponent.numberFormat.template.financial",
144
+ messageId: advancedTemplateMessages.financial.id,
105
145
  },
106
146
  {
107
147
  localIdentifier: "decimal-without-thousands-separator",
108
148
  format: "0.00",
109
- messageId: "metricComponent.numberFormat.template.decimalWithoutThousandsSeparator",
149
+ messageId: advancedTemplateMessages.decimalWithoutThousandsSeparator.id,
110
150
  },
111
151
  {
112
152
  localIdentifier: "conditional-colors",
113
153
  format: "[<0][red]#,#.##;\n[<1000][black]#,0.##;\n[>=1000][green]#,#.##",
114
- messageId: "metricComponent.numberFormat.template.conditionalColors",
154
+ messageId: advancedTemplateMessages.conditionalColors.id,
115
155
  },
116
156
  {
117
157
  localIdentifier: "trend-symbols",
118
158
  format: "[<0][green]▲ #,##0.0%;\n[=0][black]#,##0.0%;\n[>0][red]▼ #,##0.0%",
119
- messageId: "metricComponent.numberFormat.template.trendSymbols",
159
+ messageId: advancedTemplateMessages.trendSymbols.id,
120
160
  },
121
161
  {
122
162
  localIdentifier: "time-from-seconds",
@@ -125,12 +165,12 @@ export const ADVANCED_TEMPLATE_DEFINITIONS = [
125
165
  "[>=60]{{{60|60|00}}}m {{{|60.|00}}}s;\n" +
126
166
  "[>0]{{{|60.|00.0}}}s;\n" +
127
167
  "[=0]{{{|60.|0}}}",
128
- messageId: "metricComponent.numberFormat.template.timeFromSeconds",
168
+ messageId: advancedTemplateMessages.timeFromSeconds.id,
129
169
  },
130
170
  {
131
171
  localIdentifier: "zero-instead-of-null",
132
172
  format: "[=null]0.00;\n[>=0]#,#0.00;\n[<0]-#,#0.00",
133
- messageId: "metricComponent.numberFormat.template.zeroInsteadOfNull",
173
+ messageId: advancedTemplateMessages.zeroInsteadOfNull.id,
134
174
  },
135
175
  ];
136
176
  /**
@@ -143,19 +183,19 @@ export const CURRENCY_TEMPLATE_IDS = CURRENCY_TEMPLATE_DEFINITIONS.map((t) => t.
143
183
  * Default message ID prefix for template definitions.
144
184
  * @internal
145
185
  */
146
- export const DEFAULT_TEMPLATE_PREFIX = "metricComponent.numberFormat.template";
186
+ export const DEFAULT_TEMPLATE_PREFIX = "measureNumberFormat.numberFormat.template";
147
187
  /**
148
188
  * Creates localized format templates.
149
189
  *
150
190
  * @param formatMessage - Function to format localized messages (e.g., from react-intl)
151
191
  * @param definitions - Template definitions to localize
152
- * @param messageIdPrefix - Optional prefix for message IDs (default: "metricComponent.numberFormat.template")
192
+ * @param messageIdPrefix - Optional prefix for message IDs (default: "measureNumberFormat.numberFormat.template")
153
193
  * @returns Array of format templates with localized names
154
194
  * @internal
155
195
  */
156
196
  export function createTemplates(formatMessage, definitions, messageIdPrefix = DEFAULT_TEMPLATE_PREFIX) {
157
197
  return definitions.map((definition) => {
158
- // Extract the key part from the default message ID (e.g., "rounded" from "metricComponent.numberFormat.template.rounded")
198
+ // Extract the key part from the default message ID (e.g., "rounded" from "measureNumberFormat.numberFormat.template.rounded")
159
199
  const keyPart = definition.messageId.replace(`${DEFAULT_TEMPLATE_PREFIX}.`, "");
160
200
  const messageId = `${messageIdPrefix}.${keyPart}`;
161
201
  return {
@@ -169,15 +209,15 @@ export function createTemplates(formatMessage, definitions, messageIdPrefix = DE
169
209
  * Creates all localized format templates (standard + currency + advanced).
170
210
  *
171
211
  * @param formatMessage - Function to format localized messages (e.g., from react-intl)
172
- * @param messageIdPrefix - Optional prefix for message IDs (default: "metricComponent.numberFormat.template")
212
+ * @param messageIdPrefix - Optional prefix for message IDs (default: "measureNumberFormat.numberFormat.template")
173
213
  * @returns Array of all format templates with localized names
174
214
  * @internal
175
215
  */
176
- export function createAllTemplates(formatMessage, messageIdPrefix = DEFAULT_TEMPLATE_PREFIX) {
216
+ export function createAllTemplates(formatMessage) {
177
217
  return [
178
- ...createTemplates(formatMessage, STANDARD_TEMPLATE_DEFINITIONS, messageIdPrefix),
179
- ...createTemplates(formatMessage, CURRENCY_TEMPLATE_DEFINITIONS, messageIdPrefix),
180
- ...createTemplates(formatMessage, ADVANCED_TEMPLATE_DEFINITIONS, messageIdPrefix),
218
+ ...createTemplates(formatMessage, STANDARD_TEMPLATE_DEFINITIONS),
219
+ ...createTemplates(formatMessage, CURRENCY_TEMPLATE_DEFINITIONS),
220
+ ...createTemplates(formatMessage, ADVANCED_TEMPLATE_DEFINITIONS),
181
221
  ];
182
222
  }
183
223
  //# sourceMappingURL=templates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/measureNumberFormat/presets/templates.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAchC;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAmC;IACzE;QACI,eAAe,EAAE,SAAS;QAC1B,MAAM,EAAE,OAAO;QACf,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GAAG,GAAG,eAAe,IAAI,OAAO,EAAE,CAAC;QAClD,OAAO;YACH,IAAI,EAAE,aAAa,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;YACtC,eAAe,EAAE,UAAU,CAAC,eAAe;YAC3C,MAAM,EAAE,UAAU,CAAC,MAAM;SAC5B,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAC,aAAqD;IACpF,OAAO;QACH,GAAG,eAAe,CAAC,aAAa,EAAE,6BAA6B,CAAC;QAChE,GAAG,eAAe,CAAC,aAAa,EAAE,6BAA6B,CAAC;QAChE,GAAG,eAAe,CAAC,aAAa,EAAE,6BAA6B,CAAC;KACnE,CAAC;AACN,CAAC"}
@@ -49,6 +49,7 @@ import { IFilter } from '@gooddata/sdk-model';
49
49
  import { ILocale } from '@gooddata/sdk-ui';
50
50
  import { IMeasureSortTarget } from '@gooddata/sdk-model';
51
51
  import { IMetadataObjectBase } from '@gooddata/sdk-model';
52
+ import { InputHTMLAttributes } from 'react';
52
53
  import { IntlShape } from 'react-intl';
53
54
  import { ISeparators } from '@gooddata/sdk-ui';
54
55
  import { ISeparators as ISeparators_2 } from '@gooddata/number-formatter';
@@ -82,11 +83,13 @@ import { ReactNode } from 'react';
82
83
  import { Ref } from 'react';
83
84
  import { RefAttributes } from 'react';
84
85
  import { RefCallback } from 'react';
86
+ import type { ReferenceType } from '@floating-ui/react';
85
87
  import { RefObject } from 'react';
86
88
  import { SetStateAction } from 'react';
87
89
  import { ShareStatus } from '@gooddata/sdk-model';
88
90
  import { SortDirection } from '@gooddata/sdk-model';
89
91
  import { SyntheticEvent } from 'react';
92
+ import type { UseInteractionsReturn } from '@floating-ui/react';
90
93
  import { WeekStart } from '@gooddata/sdk-model';
91
94
  import { WithIntlProps } from 'react-intl';
92
95
  import { WrappedComponentProps } from 'react-intl';
@@ -478,44 +481,42 @@ export declare type CopyCodeOriginType = "keyboard" | "button";
478
481
  * Creates all localized format templates (standard + currency + advanced).
479
482
  *
480
483
  * @param formatMessage - Function to format localized messages (e.g., from react-intl)
481
- * @param messageIdPrefix - Optional prefix for message IDs (default: "metricComponent.numberFormat.template")
484
+ * @param messageIdPrefix - Optional prefix for message IDs (default: "measureNumberFormat.numberFormat.template")
482
485
  * @returns Array of all format templates with localized names
483
486
  * @internal
484
487
  */
485
488
  export declare function createAllTemplates(formatMessage: (descriptor: {
486
489
  id: string;
487
- }) => string, messageIdPrefix?: string): IFormatTemplate[];
490
+ }) => string): IFormatTemplate[];
488
491
 
489
492
  /**
490
493
  * Creates localized currency format presets.
491
494
  *
492
495
  * @param formatMessage - Function to format localized messages (e.g., from react-intl)
493
- * @param messageIdPrefix - Optional prefix for message IDs (default: "metricComponent.numberFormat.preset")
494
496
  * @returns Array of currency format presets with localized names
495
497
  * @internal
496
498
  */
497
499
  export declare function createCurrencyPresets(formatMessage: (descriptor: {
498
500
  id: string;
499
- }) => string, messageIdPrefix?: string): IFormatPreset[];
501
+ }) => string): IFormatPreset[];
500
502
 
501
503
  /**
502
504
  * Creates localized standard format presets.
503
505
  *
504
506
  * @param formatMessage - Function to format localized messages (e.g., from react-intl)
505
- * @param messageIdPrefix - Optional prefix for message IDs (default: "metricComponent.numberFormat.preset")
506
507
  * @returns Array of standard format presets with localized names
507
508
  * @internal
508
509
  */
509
510
  export declare function createStandardPresets(formatMessage: (descriptor: {
510
511
  id: string;
511
- }) => string, messageIdPrefix?: string): IFormatPreset[];
512
+ }) => string): IFormatPreset[];
512
513
 
513
514
  /**
514
515
  * Creates localized format templates.
515
516
  *
516
517
  * @param formatMessage - Function to format localized messages (e.g., from react-intl)
517
518
  * @param definitions - Template definitions to localize
518
- * @param messageIdPrefix - Optional prefix for message IDs (default: "metricComponent.numberFormat.template")
519
+ * @param messageIdPrefix - Optional prefix for message IDs (default: "measureNumberFormat.numberFormat.template")
519
520
  * @returns Array of format templates with localized names
520
521
  * @internal
521
522
  */
@@ -572,12 +573,6 @@ export declare class Datepicker extends PureComponent<IDatePickerOwnProps> {
572
573
  render(): JSX.Element;
573
574
  }
574
575
 
575
- /**
576
- * Default message ID prefix for currency preset definitions.
577
- * @internal
578
- */
579
- export declare const DEFAULT_CURRENCY_PRESET_PREFIX = "metricComponent.numberFormat.preset";
580
-
581
576
  /**
582
577
  * @internal
583
578
  */
@@ -588,17 +583,11 @@ export declare const DEFAULT_ITEM_HEIGHT = 28;
588
583
  */
589
584
  export declare const DEFAULT_MOBILE_ITEM_HEIGHT = 40;
590
585
 
591
- /**
592
- * Default message ID prefix for standard preset definitions.
593
- * @internal
594
- */
595
- export declare const DEFAULT_STANDARD_PRESET_PREFIX = "metricComponent.numberFormat.preset";
596
-
597
586
  /**
598
587
  * Default message ID prefix for template definitions.
599
588
  * @internal
600
589
  */
601
- export declare const DEFAULT_TEMPLATE_PREFIX = "metricComponent.numberFormat.template";
590
+ export declare const DEFAULT_TEMPLATE_PREFIX = "measureNumberFormat.numberFormat.template";
602
591
 
603
592
  /**
604
593
  * Dummy theme metadata object which represents the default colors of GD.
@@ -5774,6 +5763,63 @@ export declare interface IUiChipAccessibilityConfig extends IAccessibilityConfig
5774
5763
  deleteAriaDescribedBy?: string;
5775
5764
  }
5776
5765
 
5766
+ /** @internal */
5767
+ export declare interface IUiComboboxOption {
5768
+ id: string;
5769
+ label: string;
5770
+ disabled?: boolean;
5771
+ creatable?: boolean;
5772
+ }
5773
+
5774
+ /** @internal */
5775
+ export declare interface IUiComboboxParams {
5776
+ /**
5777
+ * The options to display in the combobox.
5778
+ */
5779
+ options: IUiComboboxOption[];
5780
+ /**
5781
+ * The selected value of the combobox. Use when controlled.
5782
+ */
5783
+ value?: string;
5784
+ /**
5785
+ * The default value of the combobox. Use when uncontrolled.
5786
+ */
5787
+ defaultValue?: string;
5788
+ /**
5789
+ * Event handler called when the selected value of the combobox changes.
5790
+ */
5791
+ onValueChange?: (value: string) => void;
5792
+ /**
5793
+ * When enabled, the combobox will include a "creatable" option for the current input
5794
+ * if there is not exactly one matching option.
5795
+ */
5796
+ creatable?: boolean;
5797
+ }
5798
+
5799
+ /** @internal */
5800
+ export declare interface IUiComboboxState {
5801
+ inputValue: string;
5802
+ onInputChange: (value: string) => void;
5803
+ onInputKeyDown: (event: KeyboardEvent_2<HTMLInputElement>) => void;
5804
+ onInputBlur: () => void;
5805
+ availableOptions: IUiComboboxOption[];
5806
+ activeIndex: number | null;
5807
+ setActiveIndex: (index: number | null) => void;
5808
+ activeOption: IUiComboboxOption | undefined;
5809
+ selectedOption: IUiComboboxOption | undefined;
5810
+ selectOption: (option: IUiComboboxOption, index?: number) => void;
5811
+ isOpen: boolean;
5812
+ setIsOpen: (isOpen: boolean) => void;
5813
+ setReferenceRef: (node: ReferenceType | null) => void;
5814
+ setFloatingRef: (node: HTMLDivElement | null) => void;
5815
+ registerItemRef: (node: HTMLElement | null, index: number) => void;
5816
+ getReferenceProps: UseInteractionsReturn["getReferenceProps"];
5817
+ getFloatingProps: UseInteractionsReturn["getFloatingProps"];
5818
+ getItemProps: UseInteractionsReturn["getItemProps"];
5819
+ floatingStyles: CSSProperties;
5820
+ creatable: boolean;
5821
+ }
5822
+
5777
5823
  /**
5778
5824
  * @internal
5779
5825
  */
@@ -7639,6 +7685,91 @@ export declare interface UiChipProps {
7639
7685
  renderDeleteButton?: (button: ReactNode) => ReactNode;
7640
7686
  }
7641
7687
 
7688
+ /**
7689
+ * A composable combobox component that enables users to select from a filtered list of options.
7690
+ *
7691
+ * @internal
7692
+ *
7693
+ * @example
7694
+ *
7695
+ * ```tsx
7696
+ * import { UiCombobox, UiComboboxInput, UiComboboxList, UiComboboxPopup } from "@gooddata/sdk-ui-kit";
7697
+ *
7698
+ * const options = [
7699
+ * { id: "apple", label: "Apple" },
7700
+ * { id: "banana", label: "Banana" },
7701
+ * { id: "apricot", label: "Apricot" },
7702
+ * ];
7703
+ *
7704
+ * <UiCombobox options={options}>
7705
+ * <UiComboboxInput placeholder="Select a fruit..." />
7706
+ * <UiComboboxPopup>
7707
+ * <UiComboboxList />
7708
+ * </UiComboboxPopup>
7709
+ * </UiCombobox>
7710
+ * ```
7711
+ */
7712
+ export declare function UiCombobox({ children, ...props }: UiComboboxProps): JSX.Element;
7713
+
7714
+ /** @internal */
7715
+ export declare const UiComboboxInput: ForwardRefExoticComponent<UiComboboxInputProps & RefAttributes<HTMLInputElement>>;
7716
+
7717
+ /** @internal */
7718
+ export declare type UiComboboxInputProps = InputHTMLAttributes<HTMLInputElement>;
7719
+
7720
+ /** @internal */
7721
+ export declare function UiComboboxList({ children, className, ...htmlProps }: UiComboboxListProps): JSX.Element;
7722
+
7723
+ /** @internal */
7724
+ export declare function UiComboboxListItem(props: UiComboboxListItemProps): JSX.Element;
7725
+
7726
+ /**
7727
+ * Renders the "creatable" label suffix within a combobox list item.
7728
+ * Use this component for composable customization of list item content.
7729
+ *
7730
+ * @internal
7731
+ */
7732
+ export declare function UiComboboxListItemCreatableLabel(props: UiComboboxListItemCreatableLabelProps): JSX.Element;
7733
+
7734
+ /** @internal */
7735
+ export declare type UiComboboxListItemCreatableLabelProps = HTMLAttributes<HTMLSpanElement>;
7736
+
7737
+ /**
7738
+ * Renders the primary label content within a combobox list item.
7739
+ * Use this component for composable customization of list item content.
7740
+ *
7741
+ * @internal
7742
+ */
7743
+ export declare function UiComboboxListItemLabel(props: UiComboboxListItemLabelProps): JSX.Element;
7744
+
7745
+ /** @internal */
7746
+ export declare type UiComboboxListItemLabelProps = HTMLAttributes<HTMLSpanElement>;
7747
+
7748
+ /** @internal */
7749
+ export declare interface UiComboboxListItemProps extends HTMLAttributes<HTMLLIElement> {
7750
+ option: IUiComboboxOption;
7751
+ index: number;
7752
+ }
7753
+
7754
+ /** @internal */
7755
+ export declare interface UiComboboxListProps extends Omit<HTMLAttributes<HTMLUListElement>, "children"> {
7756
+ /**
7757
+ * The children to render for each option. Renders a `UiComboboxListItem` when not provided.
7758
+ */
7759
+ children?: (option: IUiComboboxOption, index: number) => ReactNode;
7760
+ }
7761
+
7762
+ /** @internal */
7763
+ export declare function UiComboboxPopup({ style, className, children, ...htmlProps }: UiComboboxPopupProps): JSX.Element | null;
7764
+
7765
+ /** @internal */
7766
+ export declare type UiComboboxPopupProps = HTMLAttributes<HTMLDivElement>;
7767
+
7768
+ /** @internal */
7769
+ export declare interface UiComboboxProps extends IUiComboboxParams {
7770
+ children?: ReactNode;
7771
+ }
7772
+
7642
7773
  /**
7643
7774
  * @internal
7644
7775
  */
@@ -8226,13 +8357,14 @@ export declare type UiTagProps = {
8226
8357
  /**
8227
8358
  * @internal
8228
8359
  */
8229
- export declare function UiTags({ tags, addLabel, nameLabel, cancelLabel, closeLabel, saveLabel, noTagsLabel, moreLabel, removeLabel, mode, canDeleteTags, canCreateTag, readOnly, onTagClick, onTagAdd, onTagRemove, accessibilityConfig, }: UiTagsProps): JSX.Element;
8360
+ export declare function UiTags({ tags, tagOptions, addLabel, nameLabel, cancelLabel, closeLabel, saveLabel, noTagsLabel, moreLabel, removeLabel, creatableLabel, mode, canDeleteTags, canCreateTag, readOnly, onTagClick, onTagAdd, onTagRemove, accessibilityConfig, }: UiTagsProps): JSX.Element;
8230
8361
 
8231
8362
  /**
8232
8363
  * @internal
8233
8364
  */
8234
8365
  export declare interface UiTagsProps {
8235
8366
  tags: Array<UiTagDef>;
8367
+ tagOptions?: Array<UiTagDef>;
8236
8368
  addLabel?: string;
8237
8369
  nameLabel?: string;
8238
8370
  cancelLabel?: string;
@@ -8241,6 +8373,7 @@ export declare interface UiTagsProps {
8241
8373
  moreLabel?: string;
8242
8374
  noTagsLabel?: string;
8243
8375
  removeLabel?: string;
8376
+ creatableLabel?: string;
8244
8377
  readOnly?: boolean;
8245
8378
  canCreateTag?: boolean;
8246
8379
  canDeleteTags?: boolean;
@@ -8401,6 +8534,9 @@ export declare function useAsyncTableResponsiveColumns<T>(columns: Array<UiAsync
8401
8534
  columns: UiAsyncTableColumnDefinitionResponsive<T>[];
8402
8535
  };
8403
8536
 
8537
+ /** @internal */
8538
+ export declare function useComboboxState(): IUiComboboxState;
8539
+
8404
8540
  /**
8405
8541
  * @internal
8406
8542
  *
@@ -8542,20 +8678,9 @@ export declare const useMediaQuery: (mediaQueryName: keyof IMediaQueries) => boo
8542
8678
  * });
8543
8679
  * ```
8544
8680
  *
8545
- * @example
8546
- * ```tsx
8547
- * // With custom message ID prefixes (e.g., for Analytical Designer)
8548
- * const { presets, templates } = useMetricTypePresets({
8549
- * metricType: undefined,
8550
- * formatMessage: (d) => intl.formatMessage(d),
8551
- * presetMessageIdPrefix: "measure_number_format.preset",
8552
- * templateMessageIdPrefix: "measure_number_format.template",
8553
- * });
8554
- * ```
8555
- *
8556
8681
  * @internal
8557
8682
  */
8558
- export declare function useMetricTypePresets({ metricType, currencyFormatOverride, formatMessage, presetMessageIdPrefix, templateMessageIdPrefix, }: UseMetricTypePresetsConfig): UseMetricTypePresetsResult;
8683
+ export declare function useMetricTypePresets({ metricType, currencyFormatOverride, formatMessage, }: UseMetricTypePresetsConfig): UseMetricTypePresetsResult;
8559
8684
 
8560
8685
  /**
8561
8686
  * Configuration for the useMetricTypePresets hook.
@@ -8578,22 +8703,6 @@ export declare interface UseMetricTypePresetsConfig {
8578
8703
  formatMessage: (descriptor: {
8579
8704
  id: string;
8580
8705
  }) => string;
8581
- /**
8582
- * Optional prefix for preset message IDs.
8583
- * Default: "metricComponent.numberFormat.preset"
8584
- *
8585
- * Use this to customize the translation keys for presets.
8586
- * For example, set to "measure_number_format.preset" for Analytical Designer compatibility.
8587
- */
8588
- presetMessageIdPrefix?: string;
8589
- /**
8590
- * Optional prefix for template message IDs.
8591
- * Default: "metricComponent.numberFormat.template"
8592
- *
8593
- * Use this to customize the translation keys for templates.
8594
- * For example, set to "measure_number_format.template" for Analytical Designer compatibility.
8595
- */
8596
- templateMessageIdPrefix?: string;
8597
8706
  }
8598
8707
 
8599
8708
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-kit",
3
- "version": "11.13.0-alpha.6",
3
+ "version": "11.13.0",
4
4
  "description": "GoodData SDK - UI Building Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -76,11 +76,11 @@
76
76
  "tslib": "2.8.1",
77
77
  "unified": "^11.0.5",
78
78
  "uuid": "^11.1.0",
79
- "@gooddata/sdk-backend-spi": "11.13.0-alpha.6",
80
- "@gooddata/sdk-model": "11.13.0-alpha.6",
81
- "@gooddata/sdk-ui": "11.13.0-alpha.6",
82
- "@gooddata/sdk-ui-theme-provider": "11.13.0-alpha.6",
83
- "@gooddata/util": "11.13.0-alpha.6"
79
+ "@gooddata/sdk-backend-spi": "11.13.0",
80
+ "@gooddata/sdk-model": "11.13.0",
81
+ "@gooddata/sdk-ui-theme-provider": "11.13.0",
82
+ "@gooddata/sdk-ui": "11.13.0",
83
+ "@gooddata/util": "11.13.0"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@gooddata/stylelint-config": "^5.0.0",
@@ -130,9 +130,9 @@
130
130
  "typescript": "5.8.3",
131
131
  "vitest": "3.2.4",
132
132
  "vitest-dom": "0.1.1",
133
- "@gooddata/eslint-config": "11.13.0-alpha.6",
134
- "@gooddata/sdk-backend-mockingbird": "11.13.0-alpha.6",
135
- "@gooddata/reference-workspace": "11.13.0-alpha.6"
133
+ "@gooddata/eslint-config": "11.13.0",
134
+ "@gooddata/reference-workspace": "11.13.0",
135
+ "@gooddata/sdk-backend-mockingbird": "11.13.0"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "react": "^18.0.0 || ^19.0.0",