@gooddata/sdk-ui-semantic-search 11.54.0-alpha.4 → 11.54.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-semantic-search",
|
|
3
|
-
"version": "11.54.0-alpha.
|
|
3
|
+
"version": "11.54.0-alpha.6",
|
|
4
4
|
"description": "GoodData SDK TypeScript & React skeleton",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"lodash-es": "^4.17.23",
|
|
36
36
|
"react-intl": "7.1.11",
|
|
37
37
|
"tslib": "2.8.1",
|
|
38
|
-
"@gooddata/sdk-backend-spi": "11.54.0-alpha.
|
|
39
|
-
"@gooddata/sdk-model": "11.54.0-alpha.
|
|
40
|
-
"@gooddata/sdk-ui": "11.54.0-alpha.
|
|
41
|
-
"@gooddata/sdk-ui-kit": "11.54.0-alpha.
|
|
42
|
-
"@gooddata/sdk-ui-theme-provider": "11.54.0-alpha.
|
|
43
|
-
"@gooddata/util": "11.54.0-alpha.
|
|
38
|
+
"@gooddata/sdk-backend-spi": "11.54.0-alpha.6",
|
|
39
|
+
"@gooddata/sdk-model": "11.54.0-alpha.6",
|
|
40
|
+
"@gooddata/sdk-ui": "11.54.0-alpha.6",
|
|
41
|
+
"@gooddata/sdk-ui-kit": "11.54.0-alpha.6",
|
|
42
|
+
"@gooddata/sdk-ui-theme-provider": "11.54.0-alpha.6",
|
|
43
|
+
"@gooddata/util": "11.54.0-alpha.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"typescript": "5.9.3",
|
|
81
81
|
"vitest": "4.1.8",
|
|
82
82
|
"vitest-dom": "0.1.1",
|
|
83
|
-
"@gooddata/eslint-config": "11.54.0-alpha.
|
|
84
|
-
"@gooddata/i18n-toolkit": "11.54.0-alpha.
|
|
85
|
-
"@gooddata/oxlint-config": "11.54.0-alpha.
|
|
86
|
-
"@gooddata/sdk-backend-mockingbird": "11.54.0-alpha.
|
|
87
|
-
"@gooddata/stylelint-config": "11.54.0-alpha.
|
|
83
|
+
"@gooddata/eslint-config": "11.54.0-alpha.6",
|
|
84
|
+
"@gooddata/i18n-toolkit": "11.54.0-alpha.6",
|
|
85
|
+
"@gooddata/oxlint-config": "11.54.0-alpha.6",
|
|
86
|
+
"@gooddata/sdk-backend-mockingbird": "11.54.0-alpha.6",
|
|
87
|
+
"@gooddata/stylelint-config": "11.54.0-alpha.6"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type ISemanticSearchResultItem } from "@gooddata/sdk-model";
|
|
2
|
-
import type { IUiTreeviewItemProps } from "@gooddata/sdk-ui-kit";
|
|
3
|
-
type Props = IUiTreeviewItemProps<ISemanticSearchResultItem>;
|
|
4
|
-
/**
|
|
5
|
-
* A single result item in the search results.
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare function SemanticSearchItem({ item, level, isFocused, onSelect, onHover, ariaAttributes }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=SemanticSearchItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SemanticSearchItem.d.ts","sourceRoot":"","sources":["../src/SemanticSearchItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAOjE,KAAK,KAAK,GAAG,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAE7D;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,KAAK,2CAmBtG"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { SearchItemDetails } from "./internal/SearchItemDetails.js";
|
|
3
|
-
import { SearchItemIcon } from "./internal/SearchItemIcon.js";
|
|
4
|
-
import { SearchItem } from "./SearchItem.js";
|
|
5
|
-
import { getAriaLabel } from "./utils/getAriaLabel.js";
|
|
6
|
-
/**
|
|
7
|
-
* A single result item in the search results.
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
export function SemanticSearchItem({ item, level, isFocused, onSelect, onHover, ariaAttributes }) {
|
|
11
|
-
return (_jsx(SearchItem, { ariaAttributes: {
|
|
12
|
-
...ariaAttributes,
|
|
13
|
-
"aria-label": getAriaLabel(item.data),
|
|
14
|
-
}, level: level, onClick: onSelect, onHover: onHover, isFocused: isFocused, icon: _jsx(SearchItemIcon, { item: item.data }), details: _jsx(SearchItemDetails, { item: item.data }), children: _jsx("span", { className: "gd-semantic-search__results-item__text__row", children: _jsx("span", { className: "gd-semantic-search__results-item__text__ellipsis", children: item.stringTitle }) }) }));
|
|
15
|
-
}
|