@gooddata/sdk-ui-semantic-search 10.44.0-alpha.2 → 10.44.0-alpha.4

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 (84) hide show
  1. package/esm/FooterButtonAiAssistant.d.ts +3 -3
  2. package/esm/FooterButtonAiAssistant.d.ts.map +1 -1
  3. package/esm/FooterButtonAiAssistant.js +3 -5
  4. package/esm/FooterButtonAiAssistant.js.map +1 -1
  5. package/esm/SearchItem.d.ts +10 -10
  6. package/esm/SearchItem.d.ts.map +1 -1
  7. package/esm/SearchItem.js +2 -9
  8. package/esm/SearchItem.js.map +1 -1
  9. package/esm/SemanticSearch.d.ts +3 -3
  10. package/esm/SemanticSearch.d.ts.map +1 -1
  11. package/esm/SemanticSearch.js +43 -48
  12. package/esm/SemanticSearch.js.map +1 -1
  13. package/esm/SemanticSearchItem.d.ts +1 -2
  14. package/esm/SemanticSearchItem.d.ts.map +1 -1
  15. package/esm/SemanticSearchItem.js +3 -6
  16. package/esm/SemanticSearchItem.js.map +1 -1
  17. package/esm/SemanticSearchTreeView.d.ts +1 -2
  18. package/esm/SemanticSearchTreeView.d.ts.map +1 -1
  19. package/esm/SemanticSearchTreeView.js +2 -2
  20. package/esm/SemanticSearchTreeView.js.map +1 -1
  21. package/esm/hooks/usSearchKeyboard.d.ts +2 -2
  22. package/esm/hooks/usSearchKeyboard.d.ts.map +1 -1
  23. package/esm/hooks/usSearchKeyboard.js.map +1 -1
  24. package/esm/hooks/useElementWidth.d.ts +2 -2
  25. package/esm/hooks/useElementWidth.d.ts.map +1 -1
  26. package/esm/hooks/useElementWidth.js +5 -5
  27. package/esm/hooks/useElementWidth.js.map +1 -1
  28. package/esm/hooks/useSearchMetrics.d.ts.map +1 -1
  29. package/esm/hooks/useSearchMetrics.js +5 -5
  30. package/esm/hooks/useSearchMetrics.js.map +1 -1
  31. package/esm/internal/GroupResultCounter.d.ts +1 -2
  32. package/esm/internal/GroupResultCounter.d.ts.map +1 -1
  33. package/esm/internal/GroupResultCounter.js +2 -5
  34. package/esm/internal/GroupResultCounter.js.map +1 -1
  35. package/esm/internal/HistorySearchTreeView.d.ts +1 -2
  36. package/esm/internal/HistorySearchTreeView.d.ts.map +1 -1
  37. package/esm/internal/HistorySearchTreeView.js +3 -2
  38. package/esm/internal/HistorySearchTreeView.js.map +1 -1
  39. package/esm/internal/HistorySearchTreeViewItem.d.ts +1 -2
  40. package/esm/internal/HistorySearchTreeViewItem.d.ts.map +1 -1
  41. package/esm/internal/HistorySearchTreeViewItem.js +3 -5
  42. package/esm/internal/HistorySearchTreeViewItem.js.map +1 -1
  43. package/esm/internal/LeveledSearchTreeView.d.ts +1 -2
  44. package/esm/internal/LeveledSearchTreeView.d.ts.map +1 -1
  45. package/esm/internal/LeveledSearchTreeView.js +2 -2
  46. package/esm/internal/LeveledSearchTreeView.js.map +1 -1
  47. package/esm/internal/LeveledSearchTreeViewItem.d.ts +1 -2
  48. package/esm/internal/LeveledSearchTreeViewItem.d.ts.map +1 -1
  49. package/esm/internal/LeveledSearchTreeViewItem.js +5 -8
  50. package/esm/internal/LeveledSearchTreeViewItem.js.map +1 -1
  51. package/esm/internal/SearchItemDetails.d.ts +1 -2
  52. package/esm/internal/SearchItemDetails.d.ts.map +1 -1
  53. package/esm/internal/SearchItemDetails.js +6 -19
  54. package/esm/internal/SearchItemDetails.js.map +1 -1
  55. package/esm/internal/SearchItemIcon.d.ts +1 -2
  56. package/esm/internal/SearchItemIcon.d.ts.map +1 -1
  57. package/esm/internal/SearchItemIcon.js +24 -24
  58. package/esm/internal/SearchItemIcon.js.map +1 -1
  59. package/esm/internal/SearchNoResults.d.ts +1 -2
  60. package/esm/internal/SearchNoResults.d.ts.map +1 -1
  61. package/esm/internal/SearchNoResults.js +3 -4
  62. package/esm/internal/SearchNoResults.js.map +1 -1
  63. package/esm/internal/SearchOverlay.d.ts +3 -3
  64. package/esm/internal/SearchOverlay.d.ts.map +1 -1
  65. package/esm/internal/SearchOverlay.js +29 -42
  66. package/esm/internal/SearchOverlay.js.map +1 -1
  67. package/esm/internal/UpdateDate.d.ts +1 -2
  68. package/esm/internal/UpdateDate.d.ts.map +1 -1
  69. package/esm/internal/UpdateDate.js +6 -12
  70. package/esm/internal/UpdateDate.js.map +1 -1
  71. package/esm/internal/metadataTimezoneContext.d.ts +1 -2
  72. package/esm/internal/metadataTimezoneContext.d.ts.map +1 -1
  73. package/esm/internal/metadataTimezoneContext.js +4 -4
  74. package/esm/internal/metadataTimezoneContext.js.map +1 -1
  75. package/esm/localization/IntlWrapper.d.ts +3 -3
  76. package/esm/localization/IntlWrapper.d.ts.map +1 -1
  77. package/esm/localization/IntlWrapper.js +4 -3
  78. package/esm/localization/IntlWrapper.js.map +1 -1
  79. package/esm/permissions/PermissionsContext.d.ts +4 -4
  80. package/esm/permissions/PermissionsContext.d.ts.map +1 -1
  81. package/esm/permissions/PermissionsContext.js +3 -2
  82. package/esm/permissions/PermissionsContext.js.map +1 -1
  83. package/esm/sdk-ui-semantic-search.d.ts +7 -5
  84. package/package.json +15 -15
@@ -1,5 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  // (C) 2024-2025 GoodData Corporation
2
- import * as React from "react";
3
+ import { memo } from "react";
3
4
  import { FormattedDate, FormattedMessage, FormattedTime, defineMessages } from "react-intl";
4
5
  import { getDateTimeConfig } from "@gooddata/sdk-ui-kit";
5
6
  import { useMetadataTimezone } from "./metadataTimezoneContext.js";
@@ -16,7 +17,7 @@ const messages = defineMessages({
16
17
  * the date formatting was one of the bottlenecks.
17
18
  * @internal
18
19
  */
19
- export const UpdatedDate = React.memo(function UpdatedDate({ createdAt, modifiedAt }) {
20
+ export const UpdatedDate = memo(function UpdatedDate({ createdAt, modifiedAt }) {
20
21
  const timezone = useMetadataTimezone() ?? DEFAULT_MD_TIMEZONE;
21
22
  const timestamp = modifiedAt ?? createdAt;
22
23
  if (!timestamp)
@@ -24,18 +25,11 @@ export const UpdatedDate = React.memo(function UpdatedDate({ createdAt, modified
24
25
  const config = getDateTimeConfig(timestamp, { dateTimezone: timezone });
25
26
  const relativeDate = config.isToday ? messages.today.id : messages.yesterday.id;
26
27
  if (config.isToday || config.isYesterday) {
27
- return (React.createElement("span", null,
28
- React.createElement(FormattedMessage, { id: relativeDate }),
29
- "\u00A0",
30
- React.createElement(FormattedMessage, { id: messages.at.id }),
31
- "\u00A0",
32
- React.createElement(FormattedTime, { value: config.date, hour: "numeric", minute: "2-digit" })));
28
+ return (_jsxs("span", { children: [_jsx(FormattedMessage, { id: relativeDate }), "\u00A0", _jsx(FormattedMessage, { id: messages.at.id }), "\u00A0", _jsx(FormattedTime, { value: config.date, hour: "numeric", minute: "2-digit" })] }));
33
29
  }
34
30
  else if (config.isCurrentYear) {
35
- return (React.createElement("span", null,
36
- React.createElement(FormattedDate, { value: config.date, day: "numeric", month: "short" })));
31
+ return (_jsx("span", { children: _jsx(FormattedDate, { value: config.date, day: "numeric", month: "short" }) }));
37
32
  }
38
- return (React.createElement("span", null,
39
- React.createElement(FormattedDate, { value: config.date, day: "numeric", month: "short", year: "numeric" })));
33
+ return (_jsx("span", { children: _jsx(FormattedDate, { value: config.date, day: "numeric", month: "short", year: "numeric" }) }));
40
34
  });
41
35
  //# sourceMappingURL=UpdateDate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateDate.js","sourceRoot":"","sources":["../../src/internal/UpdateDate.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,4BAA4B;AAC5B,MAAM,mBAAmB,GAAG,KAAK,CAAC;AAWlC,MAA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CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;IAEhF,IAAI,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;QACvC,OAAO,CACH,2BACI,KAAC,gBAAgB,IAAC,EAAE,EAAE,YAAY,GAAI,YAEtC,KAAC,gBAAgB,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,GAAI,YAExC,KAAC,aAAa,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,SAAS,GAAG,IAClE,CACV,CAAC;IACN,CAAC;SAAM,IAAI,MAAM,CAAC,aAAa,EAAE,CAAC;QAC9B,OAAO,CACH,yBACI,KAAC,aAAa,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,GAAG,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,GAAG,GAC9D,CACV,CAAC;IACN,CAAC;IACD,OAAO,CACH,yBACI,KAAC,aAAa,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,GAAG,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,SAAS,GAAG,GAC7E,CACV,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
- import * as React from "react";
2
1
  /**
3
2
  * Provider for the timezone context.
4
3
  * @internal
5
4
  */
6
- export declare const MetadataTimezoneProvider: React.Provider<string | undefined>;
5
+ export declare const MetadataTimezoneProvider: import("react").Provider<string | undefined>;
7
6
  /**
8
7
  * Hook for accessing the timezone from the context.
9
8
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"metadataTimezoneContext.d.ts","sourceRoot":"","sources":["../../src/internal/metadataTimezoneContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;GAGG;AACH,eAAO,MAAM,wBAAwB,oCAAmC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,0BAAkD,CAAC"}
1
+ {"version":3,"file":"metadataTimezoneContext.d.ts","sourceRoot":"","sources":["../../src/internal/metadataTimezoneContext.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,8CAAmC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,0BAA4C,CAAC"}
@@ -1,6 +1,6 @@
1
- // (C) 2024 GoodData Corporation
2
- import * as React from "react";
3
- const metadataTimezoneContext = React.createContext(undefined);
1
+ // (C) 2024-2025 GoodData Corporation
2
+ import { createContext, useContext } from "react";
3
+ const metadataTimezoneContext = createContext(undefined);
4
4
  /**
5
5
  * Provider for the timezone context.
6
6
  * @internal
@@ -10,5 +10,5 @@ export const MetadataTimezoneProvider = metadataTimezoneContext.Provider;
10
10
  * Hook for accessing the timezone from the context.
11
11
  * @internal
12
12
  */
13
- export const useMetadataTimezone = () => React.useContext(metadataTimezoneContext);
13
+ export const useMetadataTimezone = () => useContext(metadataTimezoneContext);
14
14
  //# sourceMappingURL=metadataTimezoneContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"metadataTimezoneContext.js","sourceRoot":"","sources":["../../src/internal/metadataTimezoneContext.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,uBAAuB,GAAG,KAAK,CAAC,aAAa,CAAqB,SAAS,CAAC,CAAC;AAEnF;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,uBAAuB,CAAC,QAAQ,CAAC;AAEzE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"metadataTimezoneContext.js","sourceRoot":"","sources":["../../src/internal/metadataTimezoneContext.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,uBAAuB,GAAG,aAAa,CAAqB,SAAS,CAAC,CAAC;AAE7E;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,uBAAuB,CAAC,QAAQ,CAAC;AAEzE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC"}
@@ -1,13 +1,13 @@
1
- import React from "react";
1
+ import { ReactNode } from "react";
2
2
  /**
3
3
  * @internal
4
4
  */
5
5
  export interface IIntlWrapperProps {
6
6
  locale?: string;
7
- children?: React.ReactNode;
7
+ children?: ReactNode;
8
8
  }
9
9
  /**
10
10
  * @internal
11
11
  */
12
- export declare function IntlWrapper({ children, locale }: IIntlWrapperProps): React.JSX.Element;
12
+ export declare function IntlWrapper({ children, locale }: IIntlWrapperProps): import("react/jsx-runtime").JSX.Element;
13
13
  //# sourceMappingURL=IntlWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntlWrapper.d.ts","sourceRoot":"","sources":["../../src/localization/IntlWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAa3C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAsB,EAAE,EAAE,iBAAiB,qBAelF"}
1
+ {"version":3,"file":"IntlWrapper.d.ts","sourceRoot":"","sources":["../../src/localization/IntlWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAa/C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAsB,EAAE,EAAE,iBAAiB,2CAelF"}
@@ -1,5 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  // (C) 2024-2025 GoodData Corporation
2
- import React, { useCallback } from "react";
3
+ import { useCallback } from "react";
3
4
  import { IntlProvider } from "react-intl";
4
5
  import { DefaultLocale, TranslationsCustomizationProvider, resolveLocaleDefaultMessages, } from "@gooddata/sdk-ui";
5
6
  import { translations } from "./translations.js";
@@ -7,7 +8,7 @@ import { translations } from "./translations.js";
7
8
  * @internal
8
9
  */
9
10
  export function IntlWrapper({ children, locale = DefaultLocale }) {
10
- const render = useCallback((modifiedTranslations) => (React.createElement(IntlProvider, { locale: locale, messages: modifiedTranslations }, children)), [locale, children]);
11
- return (React.createElement(TranslationsCustomizationProvider, { translations: resolveLocaleDefaultMessages(locale, translations), render: render }));
11
+ const render = useCallback((modifiedTranslations) => (_jsx(IntlProvider, { locale: locale, messages: modifiedTranslations, children: children })), [locale, children]);
12
+ return (_jsx(TranslationsCustomizationProvider, { translations: resolveLocaleDefaultMessages(locale, translations), render: render }));
12
13
  }
13
14
  //# sourceMappingURL=IntlWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntlWrapper.js","sourceRoot":"","sources":["../../src/localization/IntlWrapper.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EACH,aAAa,EAEb,iCAAiC,EACjC,4BAA4B,GAC/B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAUjD;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,aAAa,EAAqB;IAC/E,MAAM,MAAM,GAAG,WAAW,CACtB,CAAC,oBAAoB,EAAE,EAAE,CAAC,CACtB,oBAAC,YAAY,IAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,IACvD,QAAQ,CACE,CAClB,EACD,CAAC,MAAM,EAAE,QAAQ,CAAC,CACrB,CAAC;IACF,OAAO,CACH,oBAAC,iCAAiC,IAC9B,YAAY,EAAE,4BAA4B,CAAC,MAAM,EAAE,YAAY,CAAC,EAChE,MAAM,EAAE,MAAM,GAChB,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"IntlWrapper.js","sourceRoot":"","sources":["../../src/localization/IntlWrapper.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAa,WAAW,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EACH,aAAa,EAEb,iCAAiC,EACjC,4BAA4B,GAC/B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAUjD;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,aAAa,EAAqB;IAC/E,MAAM,MAAM,GAAG,WAAW,CACtB,CAAC,oBAAoB,EAAE,EAAE,CAAC,CACtB,KAAC,YAAY,IAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,YACvD,QAAQ,GACE,CAClB,EACD,CAAC,MAAM,EAAE,QAAQ,CAAC,CACrB,CAAC;IACF,OAAO,CACH,KAAC,iCAAiC,IAC9B,YAAY,EAAE,4BAA4B,CAAC,MAAM,EAAE,YAAY,CAAC,EAChE,MAAM,EAAE,MAAM,GAChB,CACL,CAAC;AACN,CAAC"}
@@ -1,13 +1,13 @@
1
- import React from "react";
1
+ import { PropsWithChildren } from "react";
2
2
  import { AnalyticalBackendError, IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
3
3
  import { IWorkspacePermissions } from "@gooddata/sdk-model";
4
- export declare const PermissionsContext: React.Context<{
4
+ export declare const PermissionsContext: import("react").Context<{
5
5
  loading: boolean;
6
6
  permissions: Partial<IWorkspacePermissions>;
7
7
  error?: AnalyticalBackendError;
8
8
  }>;
9
- export declare function PermissionsProvider({ children, workspace, backend, }: React.PropsWithChildren<{
9
+ export declare function PermissionsProvider({ children, workspace, backend, }: PropsWithChildren<{
10
10
  workspace?: string;
11
11
  backend?: IAnalyticalBackend;
12
- }>): React.JSX.Element;
12
+ }>): import("react/jsx-runtime").JSX.Element;
13
13
  //# sourceMappingURL=PermissionsContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionsContext.d.ts","sourceRoot":"","sources":["../../src/permissions/PermissionsContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAK5D,eAAO,MAAM,kBAAkB;aAClB,OAAO;iBACH,OAAO,CAAC,qBAAqB,CAAC;YACnC,sBAAsB;EAKhC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,OAAO,GACV,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAC,qBAK/E"}
1
+ {"version":3,"file":"PermissionsContext.d.ts","sourceRoot":"","sources":["../../src/permissions/PermissionsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA0B,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAK5D,eAAO,MAAM,kBAAkB;aAClB,OAAO;iBACH,OAAO,CAAC,qBAAqB,CAAC;YACnC,sBAAsB;EAKhC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,OAAO,GACV,EAAE,iBAAiB,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAC,2CAKzE"}
@@ -1,5 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  // (C) 2022-2025 GoodData Corporation
2
- import React, { createContext, useMemo } from "react";
3
+ import { createContext, useMemo } from "react";
3
4
  import { useWorkspacePermissions } from "./useWorkspacePermissions.js";
4
5
  import { emptyWorkspacePermissions } from "./utils.js";
5
6
  export const PermissionsContext = createContext({
@@ -10,6 +11,6 @@ export const PermissionsContext = createContext({
10
11
  export function PermissionsProvider({ children, workspace, backend, }) {
11
12
  const { result, loading, error } = useWorkspacePermissions(backend, workspace);
12
13
  const value = useMemo(() => ({ permissions: result, loading, error }), [error, loading, result]);
13
- return React.createElement(PermissionsContext.Provider, { value: value }, children);
14
+ return _jsx(PermissionsContext.Provider, { value: value, children: children });
14
15
  }
15
16
  //# sourceMappingURL=PermissionsContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionsContext.js","sourceRoot":"","sources":["../../src/permissions/PermissionsContext.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAEvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAI5C;IACC,OAAO,EAAE,IAAI;IACb,WAAW,EAAE,yBAAyB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EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjG,OAAO,KAAC,kBAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAA+B,CAAC;AAC/F,CAAC"}
@@ -8,25 +8,27 @@ import { GenAIObjectType } from '@gooddata/sdk-model';
8
8
  import { IAnalyticalBackend } from '@gooddata/sdk-backend-spi';
9
9
  import { ISemanticSearchRelationship } from '@gooddata/sdk-model';
10
10
  import { ISemanticSearchResultItem } from '@gooddata/sdk-model';
11
- import { default as React_2 } from 'react';
11
+ import { JSX } from 'react/jsx-runtime';
12
+ import { MouseEvent as MouseEvent_2 } from 'react';
13
+ import { ReactNode } from 'react';
12
14
 
13
15
  /**
14
16
  * @public
15
17
  */
16
- export declare function FooterButtonAiAssistant({ onClick }: FooterButtonAiAssistantProps): React_2.JSX.Element;
18
+ export declare function FooterButtonAiAssistant({ onClick }: FooterButtonAiAssistantProps): JSX.Element;
17
19
 
18
20
  /**
19
21
  * @public
20
22
  */
21
23
  export declare interface FooterButtonAiAssistantProps {
22
- onClick?: (e: React_2.MouseEvent) => void;
24
+ onClick?: (e: MouseEvent_2) => void;
23
25
  }
24
26
 
25
27
  /**
26
28
  * Semantic search filed with dropdown for selecting items.
27
29
  * @beta
28
30
  */
29
- export declare function SemanticSearch({ locale, ...coreProps }: SemanticSearchProps): React_2.JSX.Element;
31
+ export declare function SemanticSearch({ locale, ...coreProps }: SemanticSearchProps): JSX.Element;
30
32
 
31
33
  /**
32
34
  * Input parameters for the semantic search hook.
@@ -147,7 +149,7 @@ export declare type SemanticSearchProps = {
147
149
  value: string;
148
150
  }, handlers: {
149
151
  closeSearch: () => void;
150
- }) => React_2.ReactNode;
152
+ }) => ReactNode;
151
153
  };
152
154
 
153
155
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-semantic-search",
3
- "version": "10.44.0-alpha.2",
3
+ "version": "10.44.0-alpha.4",
4
4
  "description": "GoodData SDK TypeScript & React skeleton",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,12 +38,12 @@
38
38
  "lodash": "^4.17.21",
39
39
  "react-intl": "7.1.11",
40
40
  "tslib": "2.8.1",
41
- "@gooddata/sdk-backend-spi": "10.44.0-alpha.2",
42
- "@gooddata/sdk-ui": "10.44.0-alpha.2",
43
- "@gooddata/sdk-ui-kit": "10.44.0-alpha.2",
44
- "@gooddata/sdk-model": "10.44.0-alpha.2",
45
- "@gooddata/sdk-ui-theme-provider": "10.44.0-alpha.2",
46
- "@gooddata/util": "10.44.0-alpha.2"
41
+ "@gooddata/sdk-backend-spi": "10.44.0-alpha.4",
42
+ "@gooddata/sdk-model": "10.44.0-alpha.4",
43
+ "@gooddata/sdk-ui-theme-provider": "10.44.0-alpha.4",
44
+ "@gooddata/sdk-ui-kit": "10.44.0-alpha.4",
45
+ "@gooddata/sdk-ui": "10.44.0-alpha.4",
46
+ "@gooddata/util": "10.44.0-alpha.4"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@gooddata/eslint-config": "^4.1.1",
@@ -53,8 +53,8 @@
53
53
  "@testing-library/react": "16.3.0",
54
54
  "@types/lodash": "^4.14.202",
55
55
  "@types/raf": "^3.4.0",
56
- "@types/react": "18.3.23",
57
- "@types/react-dom": "18.3.7",
56
+ "@types/react": "19.1.11",
57
+ "@types/react-dom": "19.1.7",
58
58
  "@typescript-eslint/eslint-plugin": "^8.38.0",
59
59
  "@typescript-eslint/parser": "^8.38.0",
60
60
  "concurrently": "^6.0.2",
@@ -76,8 +76,8 @@
76
76
  "happy-dom": "18.0.1",
77
77
  "prettier": "^3.6.2",
78
78
  "raf": "^3.4.1",
79
- "react": "18.3.1",
80
- "react-dom": "18.3.1",
79
+ "react": "19.1.1",
80
+ "react-dom": "19.1.1",
81
81
  "sass": "1.66.1",
82
82
  "stylelint": "^13.8.0",
83
83
  "stylelint-checkstyle-formatter": "^0.1.2",
@@ -85,12 +85,12 @@
85
85
  "typescript": "5.8.3",
86
86
  "vitest": "3.2.4",
87
87
  "vitest-dom": "0.1.1",
88
- "@gooddata/sdk-backend-mockingbird": "10.44.0-alpha.2",
89
- "@gooddata/i18n-toolkit": "10.44.0-alpha.2"
88
+ "@gooddata/i18n-toolkit": "10.44.0-alpha.4",
89
+ "@gooddata/sdk-backend-mockingbird": "10.44.0-alpha.4"
90
90
  },
91
91
  "peerDependencies": {
92
- "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
93
- "react-dom": "^16.10.0 || ^17.0.0 || ^18.0.0"
92
+ "react": "^18.0.0 || ^19.0.0",
93
+ "react-dom": "^18.0.0 || ^19.0.0"
94
94
  },
95
95
  "scripts": {
96
96
  "_phase:build": "npm run build",