@krak-stack/registry 0.1.31 → 0.1.33

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 (49) hide show
  1. package/README.md +21 -0
  2. package/dist/components/ui/code-block.d.ts +8 -6
  3. package/dist/components/ui/code-block.js +40 -19
  4. package/dist/components/ui/copy-button.d.ts +9 -6
  5. package/dist/components/ui/copy-button.js +15 -8
  6. package/dist/components/ui/data-table.d.ts +9 -5
  7. package/dist/components/ui/data-table.js +74 -479
  8. package/dist/components/ui/editing-locale-switcher.d.ts +8 -4
  9. package/dist/components/ui/editing-locale-switcher.js +20 -448
  10. package/dist/components/ui/effect-form.d.ts +39 -10
  11. package/dist/components/ui/effect-form.js +141 -527
  12. package/dist/components/ui/error-component.d.ts +4 -2
  13. package/dist/components/ui/error-component.js +24 -450
  14. package/dist/components/ui/file-picker.d.ts +4 -2
  15. package/dist/components/ui/file-picker.js +25 -452
  16. package/dist/components/ui/form.d.ts +123 -71
  17. package/dist/components/ui/form.js +81 -474
  18. package/dist/components/ui/google-map.d.ts +2 -1
  19. package/dist/components/ui/google-map.js +4 -439
  20. package/dist/components/ui/icon-input.d.ts +50 -1
  21. package/dist/components/ui/icon-input.js +30 -446
  22. package/dist/components/ui/loading.d.ts +7 -1
  23. package/dist/components/ui/loading.js +4 -438
  24. package/dist/components/ui/locale-switcher.d.ts +8 -4
  25. package/dist/components/ui/locale-switcher.js +29 -453
  26. package/dist/components/ui/pagination.d.ts +5 -3
  27. package/dist/components/ui/pagination.js +5 -439
  28. package/dist/components/ui/search-menu.d.ts +4 -2
  29. package/dist/components/ui/search-menu.js +6 -440
  30. package/dist/components/ui/theme-switcher.d.ts +5 -3
  31. package/dist/components/ui/theme-switcher.js +6 -440
  32. package/dist/components/ui/virtualized-combobox.d.ts +4 -2
  33. package/dist/components/ui/virtualized-combobox.js +11 -443
  34. package/dist/lib/docs.d.ts +2 -0
  35. package/dist/lib/docs.js +86 -481
  36. package/dist/lib/docs.server.js +0 -21
  37. package/dist/lib/documentation-toolkit.js +0 -21
  38. package/dist/lib/markdown/content.d.ts +4 -5
  39. package/dist/services/agent/client/index.js +75 -463
  40. package/dist/services/agent/client/widget.d.ts +6 -3
  41. package/dist/services/notification/client/index.js +8 -440
  42. package/dist/services/notification/client/notification-menu.d.ts +6 -3
  43. package/dist/services/notification/public.js +8 -440
  44. package/dist/services/opentelemetry/api.d.ts +5 -0
  45. package/dist/services/opentelemetry/api.js +44 -0
  46. package/dist/services/opentelemetry/browser.d.ts +10 -0
  47. package/dist/services/opentelemetry/browser.js +59 -0
  48. package/package.json +9 -1
  49. package/dist/paraglide/runtime.d.ts +0 -978
@@ -23,6 +23,7 @@ export type GoogleMapMessages = {
23
23
  zoomIn: string;
24
24
  zoomOut: string;
25
25
  };
26
+ export type GoogleMapMessageTranslations = Partial<Record<string, Partial<GoogleMapMessages>>>;
26
27
  export type GoogleMapProps = {
27
28
  apiKey: string;
28
29
  center: GoogleMapPoint;
@@ -34,7 +35,7 @@ export type GoogleMapProps = {
34
35
  minZoom?: number | undefined;
35
36
  maxZoom?: number | undefined;
36
37
  className?: string | undefined;
37
- messages?: Partial<GoogleMapMessages> | undefined;
38
+ messages?: GoogleMapMessageTranslations | undefined;
38
39
  locale?: string | undefined;
39
40
  };
40
41
  type GoogleMapOptions = {
@@ -6,442 +6,6 @@ import { Schema } from "effect";
6
6
  // ../../src/lib/utils.ts
7
7
  import { cn } from "cn";
8
8
 
9
- // ../../src/paraglide/runtime.js
10
- import"@inlang/paraglide-js/urlpattern-polyfill";
11
- var baseLocale = "en";
12
- var locales = ["en", "fr"];
13
- var cookieName = "locale";
14
- var cookieMaxAge = 34560000;
15
- var cookieDomain = "";
16
- var localStorageKey = "PARAGLIDE_LOCALE";
17
- var strategy = [
18
- "url",
19
- "cookie",
20
- "preferredLanguage",
21
- "baseLocale"
22
- ];
23
- var routeStrategies = [
24
- {
25
- match: "/api/:path(.*)?",
26
- exclude: true
27
- },
28
- {
29
- match: "/sitemap.xml",
30
- exclude: true
31
- },
32
- {
33
- match: "/llms.txt",
34
- exclude: true
35
- }
36
- ];
37
- var urlPatterns = [
38
- {
39
- pattern: "/:path(.*)?",
40
- localized: [
41
- [
42
- "en",
43
- "/en/:path(.*)?"
44
- ],
45
- [
46
- "fr",
47
- "/fr/:path(.*)?"
48
- ]
49
- ]
50
- }
51
- ];
52
- var cachedRouteStrategyUrl;
53
- var cachedRouteStrategy;
54
- function findMatchingRouteStrategy(url) {
55
- if (routeStrategies.length === 0) {
56
- return;
57
- }
58
- const urlString = typeof url === "string" ? url : url.href;
59
- if (cachedRouteStrategyUrl === urlString) {
60
- return cachedRouteStrategy;
61
- }
62
- const urlObject = new URL(urlString, "http://dummy.com");
63
- let match;
64
- for (const routeStrategy of routeStrategies) {
65
- const pattern = new URLPattern(routeStrategy.match, urlObject.href);
66
- if (pattern.exec(urlObject.href)) {
67
- match = routeStrategy;
68
- break;
69
- }
70
- }
71
- cachedRouteStrategyUrl = urlString;
72
- cachedRouteStrategy = match;
73
- return match;
74
- }
75
- function getStrategyForUrl(url) {
76
- const routeStrategy = findMatchingRouteStrategy(url);
77
- if (routeStrategy && routeStrategy.exclude !== true && Array.isArray(routeStrategy.strategy)) {
78
- return routeStrategy.strategy;
79
- }
80
- return strategy;
81
- }
82
- var serverAsyncLocalStorage = undefined;
83
- var isServer = import.meta.env?.SSR ?? typeof window === "undefined";
84
- var experimentalStaticLocale = undefined;
85
- var TREE_SHAKE_COOKIE_STRATEGY_USED = true;
86
- var TREE_SHAKE_URL_STRATEGY_USED = true;
87
- var TREE_SHAKE_GLOBAL_VARIABLE_STRATEGY_USED = false;
88
- var TREE_SHAKE_PREFERRED_LANGUAGE_STRATEGY_USED = true;
89
- var TREE_SHAKE_DEFAULT_URL_PATTERN_USED = false;
90
- var TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED = false;
91
- globalThis.__paraglide = globalThis.__paraglide ?? {};
92
- globalThis.__paraglide.ssr = globalThis.__paraglide.ssr ?? {};
93
- var _locale;
94
- var localeInitiallySet = false;
95
- var getLocale = () => {
96
- if (experimentalStaticLocale !== undefined) {
97
- return experimentalStaticLocale;
98
- }
99
- if (serverAsyncLocalStorage) {
100
- const locale = serverAsyncLocalStorage?.getStore()?.locale;
101
- if (locale) {
102
- return locale;
103
- }
104
- }
105
- let strategyToUse = strategy;
106
- if (!isServer && typeof window !== "undefined" && window.location?.href) {
107
- strategyToUse = getStrategyForUrl(window.location.href);
108
- }
109
- const resolved = resolveLocaleWithStrategies(strategyToUse, typeof window !== "undefined" ? window.location?.href : undefined);
110
- if (resolved) {
111
- if (!localeInitiallySet) {
112
- _locale = resolved;
113
- localeInitiallySet = true;
114
- setLocale(resolved, { reload: false });
115
- }
116
- return resolved;
117
- }
118
- throw new Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found");
119
- };
120
- function resolveLocaleWithStrategies(strategyToUse, urlForUrlStrategy) {
121
- let locale;
122
- for (const strat of strategyToUse) {
123
- if (TREE_SHAKE_COOKIE_STRATEGY_USED && strat === "cookie") {
124
- locale = extractLocaleFromCookie();
125
- } else if (strat === "baseLocale") {
126
- locale = baseLocale;
127
- } else if (TREE_SHAKE_URL_STRATEGY_USED && strat === "url" && !isServer && typeof urlForUrlStrategy === "string") {
128
- locale = extractLocaleFromUrl(urlForUrlStrategy);
129
- } else if (TREE_SHAKE_GLOBAL_VARIABLE_STRATEGY_USED && strat === "globalVariable" && _locale !== undefined) {
130
- locale = _locale;
131
- } else if (TREE_SHAKE_PREFERRED_LANGUAGE_STRATEGY_USED && strat === "preferredLanguage" && !isServer) {
132
- locale = extractLocaleFromNavigator();
133
- } else if (TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED && strat === "localStorage" && !isServer) {
134
- locale = localStorage.getItem(localStorageKey) ?? undefined;
135
- } else if (isCustomStrategy(strat) && customClientStrategies.has(strat)) {
136
- const handler = customClientStrategies.get(strat);
137
- if (handler) {
138
- const result = handler.getLocale();
139
- if (result instanceof Promise) {
140
- continue;
141
- }
142
- if (result !== undefined) {
143
- return assertIsLocale(result);
144
- }
145
- }
146
- }
147
- const matchedLocale = toLocale(locale);
148
- if (matchedLocale) {
149
- return matchedLocale;
150
- }
151
- }
152
- return;
153
- }
154
- var rtlLanguages = new Set([
155
- "ar",
156
- "dv",
157
- "fa",
158
- "he",
159
- "ks",
160
- "ku",
161
- "ps",
162
- "sd",
163
- "ug",
164
- "ur",
165
- "yi"
166
- ]);
167
- var navigateOrReload = (newLocation) => {
168
- if (newLocation) {
169
- window.location.href = newLocation;
170
- } else {
171
- window.location.reload();
172
- }
173
- };
174
- var setLocale = (newLocale, options) => {
175
- const optionsWithDefaults = {
176
- reload: true,
177
- ...options
178
- };
179
- let currentLocale;
180
- try {
181
- currentLocale = getLocale();
182
- } catch {}
183
- const customSetLocalePromises = [];
184
- let newLocation = undefined;
185
- let strategyToUse = strategy;
186
- if (!isServer && typeof window !== "undefined" && window.location?.href) {
187
- strategyToUse = getStrategyForUrl(window.location.href);
188
- }
189
- for (const strat of strategyToUse) {
190
- if (TREE_SHAKE_GLOBAL_VARIABLE_STRATEGY_USED && strat === "globalVariable") {
191
- _locale = newLocale;
192
- } else if (TREE_SHAKE_COOKIE_STRATEGY_USED && strat === "cookie") {
193
- if (isServer || typeof document === "undefined" || typeof window === "undefined") {
194
- continue;
195
- }
196
- const cookieString = `${cookieName}=${newLocale}; path=/; max-age=${cookieMaxAge}`;
197
- document.cookie = cookieDomain ? `${cookieString}; domain=${cookieDomain}` : cookieString;
198
- } else if (strat === "baseLocale") {
199
- continue;
200
- } else if (TREE_SHAKE_URL_STRATEGY_USED && strat === "url" && typeof window !== "undefined") {
201
- newLocation = localizeUrl(window.location.href, {
202
- locale: newLocale
203
- }).href;
204
- } else if (TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED && strat === "localStorage" && typeof window !== "undefined") {
205
- localStorage.setItem(localStorageKey, newLocale);
206
- } else if (isCustomStrategy(strat) && customClientStrategies.has(strat)) {
207
- const handler = customClientStrategies.get(strat);
208
- if (handler) {
209
- let result = handler.setLocale(newLocale);
210
- if (result instanceof Promise) {
211
- result = result.catch((error) => {
212
- throw new Error(`Custom strategy "${strat}" setLocale failed.`, {
213
- cause: error
214
- });
215
- });
216
- customSetLocalePromises.push(result);
217
- }
218
- }
219
- }
220
- }
221
- const runReload = () => {
222
- if (!isServer && optionsWithDefaults.reload && window.location && newLocale !== currentLocale) {
223
- navigateOrReload(newLocation);
224
- }
225
- };
226
- if (customSetLocalePromises.length) {
227
- return Promise.all(customSetLocalePromises).then(() => {
228
- runReload();
229
- });
230
- }
231
- runReload();
232
- return;
233
- };
234
- var getUrlOrigin = () => {
235
- if (serverAsyncLocalStorage) {
236
- return serverAsyncLocalStorage.getStore()?.origin ?? "http://fallback.com";
237
- } else if (typeof window !== "undefined") {
238
- return window.location.origin;
239
- }
240
- return "http://fallback.com";
241
- };
242
- function toLocale(value) {
243
- if (typeof value !== "string") {
244
- return;
245
- }
246
- const lowerValue = value.toLowerCase();
247
- for (const locale of locales) {
248
- if (locale.toLowerCase() === lowerValue) {
249
- return locale;
250
- }
251
- }
252
- return;
253
- }
254
- function assertIsLocale(input) {
255
- const locale = toLocale(input);
256
- if (locale)
257
- return locale;
258
- throw new Error(`Invalid locale: ${input}. Expected one of: ${locales.join(", ")}`);
259
- }
260
- function extractLocaleFromCookie() {
261
- if (typeof document === "undefined" || !document.cookie) {
262
- return;
263
- }
264
- const match = document.cookie.match(new RegExp(`(^| )${cookieName}=([^;]+)`));
265
- const locale = match?.[2];
266
- return toLocale(locale);
267
- }
268
- function extractLocaleFromNavigator() {
269
- if (!navigator?.languages?.length) {
270
- return;
271
- }
272
- const languages = navigator.languages.map((lang) => ({
273
- fullTag: lang,
274
- baseTag: lang.split("-")[0]
275
- }));
276
- for (const lang of languages) {
277
- const fullLocale = toLocale(lang.fullTag);
278
- if (fullLocale) {
279
- return fullLocale;
280
- }
281
- const baseLocale2 = toLocale(lang.baseTag);
282
- if (baseLocale2) {
283
- return baseLocale2;
284
- }
285
- }
286
- return;
287
- }
288
- var cachedUrl;
289
- var cachedLocale;
290
- function extractLocaleFromUrl(url) {
291
- const urlString = typeof url === "string" ? url : url.href;
292
- if (cachedUrl === urlString) {
293
- return cachedLocale;
294
- }
295
- let result;
296
- if (TREE_SHAKE_DEFAULT_URL_PATTERN_USED) {
297
- result = defaultUrlPatternExtractLocale(url);
298
- } else {
299
- const urlObj = typeof url === "string" ? new URL(url) : url;
300
- for (const element of urlPatterns) {
301
- for (const [locale, localizedPattern] of element.localized) {
302
- const match = new URLPattern(localizedPattern, urlObj.href).exec(urlObj.href);
303
- if (match) {
304
- result = locale;
305
- break;
306
- }
307
- }
308
- if (result)
309
- break;
310
- }
311
- }
312
- cachedUrl = urlString;
313
- cachedLocale = result;
314
- return result;
315
- }
316
- function defaultUrlPatternExtractLocale(url) {
317
- const urlObj = new URL(url, "http://dummy.com");
318
- const pathSegments = urlObj.pathname.split("/").filter(Boolean);
319
- return toLocale(pathSegments[0]) || baseLocale;
320
- }
321
- function localizeUrl(url, options) {
322
- const targetLocale = options?.locale ? assertIsLocale(options?.locale) : getLocale();
323
- if (TREE_SHAKE_DEFAULT_URL_PATTERN_USED) {
324
- return localizeUrlDefaultPattern(url, targetLocale);
325
- }
326
- const urlObj = typeof url === "string" ? new URL(url) : url;
327
- for (const element of urlPatterns) {
328
- for (const [, localizedPattern] of element.localized) {
329
- const match = new URLPattern(localizedPattern, urlObj.href).exec(urlObj.href);
330
- if (!match) {
331
- continue;
332
- }
333
- const targetPattern = element.localized.find(([locale]) => locale === targetLocale)?.[1];
334
- if (!targetPattern) {
335
- continue;
336
- }
337
- const localizedUrl = fillPattern(targetPattern, aggregateGroups(match), urlObj.origin);
338
- return fillMissingUrlParts(localizedUrl, match);
339
- }
340
- const unlocalizedMatch = new URLPattern(element.pattern, urlObj.href).exec(urlObj.href);
341
- if (unlocalizedMatch) {
342
- const targetPattern = element.localized.find(([locale]) => locale === targetLocale)?.[1];
343
- if (targetPattern) {
344
- const localizedUrl = fillPattern(targetPattern, aggregateGroups(unlocalizedMatch), urlObj.origin);
345
- return fillMissingUrlParts(localizedUrl, unlocalizedMatch);
346
- }
347
- }
348
- }
349
- return urlObj;
350
- }
351
- function localizeUrlDefaultPattern(url, locale) {
352
- const urlObj = typeof url === "string" ? new URL(url, getUrlOrigin()) : new URL(url);
353
- const currentLocale = extractLocaleFromUrl(urlObj);
354
- if (currentLocale === locale) {
355
- return urlObj;
356
- }
357
- const pathSegments = urlObj.pathname.split("/").filter(Boolean);
358
- if (pathSegments.length > 0 && toLocale(pathSegments[0])) {
359
- pathSegments.shift();
360
- }
361
- if (locale === baseLocale) {
362
- urlObj.pathname = "/" + pathSegments.join("/");
363
- } else {
364
- urlObj.pathname = "/" + locale + "/" + pathSegments.join("/");
365
- }
366
- return urlObj;
367
- }
368
- function fillMissingUrlParts(url, match) {
369
- if (match.protocol.groups["0"]) {
370
- url.protocol = match.protocol.groups["0"] ?? "";
371
- }
372
- if (match.hostname.groups["0"]) {
373
- url.hostname = match.hostname.groups["0"] ?? "";
374
- }
375
- if (match.username.groups["0"]) {
376
- url.username = match.username.groups["0"] ?? "";
377
- }
378
- if (match.password.groups["0"]) {
379
- url.password = match.password.groups["0"] ?? "";
380
- }
381
- if (match.port.groups["0"]) {
382
- url.port = match.port.groups["0"] ?? "";
383
- }
384
- if (match.pathname.groups["0"]) {
385
- url.pathname = match.pathname.groups["0"] ?? "";
386
- }
387
- if (match.search.groups["0"]) {
388
- url.search = match.search.groups["0"] ?? "";
389
- }
390
- if (match.hash.groups["0"]) {
391
- url.hash = match.hash.groups["0"] ?? "";
392
- }
393
- return url;
394
- }
395
- function fillPattern(pattern, values, origin) {
396
- let processedPattern = pattern.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g, (_, protocol, port, slash) => {
397
- return `${protocol}#PORT-${port}#${slash}`;
398
- });
399
- let processedGroupDelimiters = processedPattern.replace(/\{([^{}]*)\}([?+*]?)/g, (_, content, modifier) => {
400
- if (modifier === "?") {
401
- return content;
402
- }
403
- return content;
404
- });
405
- let filled = processedGroupDelimiters.replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g, (_, slash, name, __, modifier) => {
406
- const value = values[name];
407
- if (value === null) {
408
- return "";
409
- }
410
- if (modifier === "?") {
411
- return value !== undefined ? `${slash}${value}` : "";
412
- }
413
- if (modifier === "+" || modifier === "*") {
414
- if (value === undefined && modifier === "+") {
415
- throw new Error(`Missing value for "${name}" (one or more required)`);
416
- }
417
- return value ? `${slash}${value}` : "";
418
- }
419
- if (value === undefined) {
420
- throw new Error(`Missing value for "${name}"`);
421
- }
422
- return `${slash}${value}`;
423
- });
424
- filled = filled.replace(/#PORT-(\d+)#/g, ":$1");
425
- return new URL(filled, origin);
426
- }
427
- function aggregateGroups(match) {
428
- return {
429
- ...match.hash.groups,
430
- ...match.hostname.groups,
431
- ...match.password.groups,
432
- ...match.pathname.groups,
433
- ...match.port.groups,
434
- ...match.protocol.groups,
435
- ...match.search.groups,
436
- ...match.username.groups
437
- };
438
- }
439
- var customServerStrategies = new Map;
440
- var customClientStrategies = new Map;
441
- function isCustomStrategy(strategy2) {
442
- return typeof strategy2 === "string" && /^custom-[A-Za-z0-9_-]+$/.test(strategy2);
443
- }
444
-
445
9
  // ../../src/components/ui/google-map.tsx
446
10
  import { jsx, jsxs } from "react/jsx-runtime";
447
11
  var googleMapsScriptId = "krak-stack-google-maps-script";
@@ -469,9 +33,10 @@ var defaultMessages = {
469
33
  zoomOut: "Zoom arrière"
470
34
  }
471
35
  };
472
- var googleMapMessages = (locale, overrides) => ({
36
+ var googleMapMessages = (locale, translations) => ({
473
37
  ...locale.startsWith("fr") ? defaultMessages.fr : defaultMessages.en,
474
- ...overrides
38
+ ...translations?.[locale.split("-")[0] ?? locale],
39
+ ...translations?.[locale]
475
40
  });
476
41
  var isGoogleMapsReady = (api) => Boolean(api?.maps.Map && api.maps.Marker && api.maps.Circle && api.maps.event);
477
42
  var loadGoogleMaps = (apiKey) => {
@@ -542,7 +107,7 @@ function GoogleMap({
542
107
  maxZoom = 20,
543
108
  className,
544
109
  messages: messageOverrides,
545
- locale = getLocale()
110
+ locale = "en"
546
111
  }) {
547
112
  const mapElementRef = useRef(null);
548
113
  const apiRef = useRef(null);
@@ -1,9 +1,58 @@
1
+ import { type VirtualizedComboboxMessages } from "./virtualized-combobox.js";
2
+ declare const labels: {
3
+ readonly en: {
4
+ readonly clear: string;
5
+ readonly search: string;
6
+ readonly selected: (count: number) => string;
7
+ readonly selectMore: string;
8
+ readonly browse: "Browse Iconify";
9
+ readonly empty: "No icons found.";
10
+ readonly searchPlaceholder: "Search icons";
11
+ readonly searchPrompt: "Start typing to search icons.";
12
+ readonly select: "Select icon";
13
+ } | {
14
+ readonly clear: string;
15
+ readonly search: string;
16
+ readonly selected: (count: number) => string;
17
+ readonly selectMore: string;
18
+ readonly browse: "Browse Iconify";
19
+ readonly empty: "No icons found.";
20
+ readonly searchPlaceholder: "Search icons";
21
+ readonly searchPrompt: "Start typing to search icons.";
22
+ readonly select: "Select icon";
23
+ };
24
+ readonly fr: {
25
+ readonly clear: string;
26
+ readonly search: string;
27
+ readonly selected: (count: number) => string;
28
+ readonly selectMore: string;
29
+ readonly browse: "Parcourir Iconify";
30
+ readonly empty: "Aucune icône trouvée.";
31
+ readonly searchPlaceholder: "Rechercher des icônes";
32
+ readonly searchPrompt: "Commencez à taper pour rechercher des icônes.";
33
+ readonly select: "Sélectionner une icône";
34
+ } | {
35
+ readonly clear: string;
36
+ readonly search: string;
37
+ readonly selected: (count: number) => string;
38
+ readonly selectMore: string;
39
+ readonly browse: "Parcourir Iconify";
40
+ readonly empty: "Aucune icône trouvée.";
41
+ readonly searchPlaceholder: "Rechercher des icônes";
42
+ readonly searchPrompt: "Commencez à taper pour rechercher des icônes.";
43
+ readonly select: "Sélectionner une icône";
44
+ };
45
+ };
46
+ export type IconInputMessages = Omit<Record<keyof (typeof labels)["en"], string>, "selected"> & Pick<VirtualizedComboboxMessages, "selected">;
47
+ export type IconInputMessageTranslations = Partial<Record<string, Partial<IconInputMessages>>>;
1
48
  type IconInputProps = {
2
49
  collection?: string;
3
50
  disabled?: boolean;
4
51
  id?: string;
52
+ locale?: string;
53
+ messages?: IconInputMessageTranslations;
5
54
  onValueChange: (value: string) => void;
6
55
  value: string;
7
56
  };
8
- export declare function IconInput({ collection, disabled, id, onValueChange, value, }: IconInputProps): import("react").JSX.Element;
57
+ export declare function IconInput({ collection, disabled, id, locale, messages, onValueChange, value, }: IconInputProps): import("react").JSX.Element;
9
58
  export {};