@gooddata/sdk-ui-kit 11.59.0-alpha.1 → 11.59.0-alpha.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylingSettingList.d.ts","sourceRoot":"","sources":["../../../src/SettingWidget/StylingSettingWidget/StylingSettingList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"StylingSettingList.d.ts","sourceRoot":"","sources":["../../../src/SettingWidget/StylingSettingWidget/StylingSettingList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,MAAM,EAAoC,MAAM,qBAAqB,CAAC;AAGpF,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAChC,MAAM,yDAAyD,CAAC;AAIjE,UAAU,wBAAwB,CAAC,CAAC,SAAS,wBAAwB;IACjE,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,kBAAkB,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,MAAM,EAAE,CAAC;IACjD,mBAAmB,EAAE,YAAY,CAAC;IAClC,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACnD,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,wBAAwB,EAAE,EACnE,KAAK,EACL,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,wBAAwB,EACxB,eAAe,EACf,gBAAgB,GACnB,EAAE,wBAAwB,CAAC,CAAC,CAAC,GAAG,YAAY,CAwB5C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { areObjRefsEqual,
|
|
2
|
+
import { areObjRefsEqual, serializeObjRef } from "@gooddata/sdk-model";
|
|
3
3
|
import { DialogListEmpty } from "../../Dialog/DialogList/DialogListEmpty.js";
|
|
4
4
|
import { StylingSettingListItem } from "./StylingSettingListItem.js";
|
|
5
5
|
export function StylingSettingList({ items, itemToColorPreview, emptyMessageElement, onItemClick, onItemEdit, onItemDelete, initiallySelectedItemRef, selectedItemRef, onItemMenuToggle, }) {
|
|
6
6
|
if (items.length === 0) {
|
|
7
7
|
return _jsx(DialogListEmpty, { message: emptyMessageElement, className: "gd-styling-picker-list-empty" });
|
|
8
8
|
}
|
|
9
|
-
return (_jsx("div", { className: "gd-styling-picker-list s-styling-picker-list", children: items.map((item) => (_jsx(StylingSettingListItem, { item: item, itemToColorPreview: itemToColorPreview, isSelected: areObjRefsEqual(item.ref, selectedItemRef), isDeletable: !initiallySelectedItemRef || !areObjRefsEqual(item.ref, initiallySelectedItemRef), onClick: onItemClick, onDelete: onItemDelete, onEdit: onItemEdit, onMenuToggle: onItemMenuToggle }, item.ref ?
|
|
9
|
+
return (_jsx("div", { className: "gd-styling-picker-list s-styling-picker-list", children: items.map((item) => (_jsx(StylingSettingListItem, { item: item, itemToColorPreview: itemToColorPreview, isSelected: areObjRefsEqual(item.ref, selectedItemRef), isDeletable: !initiallySelectedItemRef || !areObjRefsEqual(item.ref, initiallySelectedItemRef), onClick: onItemClick, onDelete: onItemDelete, onEdit: onItemEdit, onMenuToggle: onItemMenuToggle }, item.ref ? serializeObjRef(item.ref) : "default"))) }));
|
|
10
10
|
}
|
package/esm/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.59.0-alpha.
|
|
3
|
+
"version": "11.59.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
"unified": "^11.0.5",
|
|
80
80
|
"uuid": "11.1.1",
|
|
81
81
|
"yaml": "2.8.3",
|
|
82
|
-
"@gooddata/sdk-
|
|
83
|
-
"@gooddata/sdk-model": "11.59.0-alpha.
|
|
84
|
-
"@gooddata/sdk-ui": "11.59.0-alpha.
|
|
85
|
-
"@gooddata/
|
|
86
|
-
"@gooddata/
|
|
82
|
+
"@gooddata/sdk-ui": "11.59.0-alpha.2",
|
|
83
|
+
"@gooddata/sdk-model": "11.59.0-alpha.2",
|
|
84
|
+
"@gooddata/sdk-ui-theme-provider": "11.59.0-alpha.2",
|
|
85
|
+
"@gooddata/util": "11.59.0-alpha.2",
|
|
86
|
+
"@gooddata/sdk-backend-spi": "11.59.0-alpha.2"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@microsoft/api-documenter": "7.30.
|
|
90
|
-
"@microsoft/api-extractor": "7.
|
|
91
|
-
"@testing-library/dom": "10.4.
|
|
89
|
+
"@microsoft/api-documenter": "7.30.16",
|
|
90
|
+
"@microsoft/api-extractor": "7.59.2",
|
|
91
|
+
"@testing-library/dom": "10.4.2",
|
|
92
92
|
"@testing-library/react": "16.3.0",
|
|
93
|
-
"@testing-library/user-event": "14.6.
|
|
93
|
+
"@testing-library/user-event": "14.6.7",
|
|
94
94
|
"@types/debounce-promise": "3.1.9",
|
|
95
95
|
"@types/kefir": "3.8.11",
|
|
96
96
|
"@types/lodash-es": "4.17.12",
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
"typescript": "7.0.2",
|
|
129
129
|
"vitest": "4.1.11",
|
|
130
130
|
"vitest-dom": "0.1.1",
|
|
131
|
-
"@gooddata/eslint-config": "11.59.0-alpha.
|
|
132
|
-
"@gooddata/oxlint-config": "11.59.0-alpha.
|
|
133
|
-
"@gooddata/reference-workspace": "11.59.0-alpha.
|
|
134
|
-
"@gooddata/sdk-backend-mockingbird": "11.59.0-alpha.
|
|
135
|
-
"@gooddata/stylelint-config": "11.59.0-alpha.
|
|
131
|
+
"@gooddata/eslint-config": "11.59.0-alpha.2",
|
|
132
|
+
"@gooddata/oxlint-config": "11.59.0-alpha.2",
|
|
133
|
+
"@gooddata/reference-workspace": "11.59.0-alpha.2",
|
|
134
|
+
"@gooddata/sdk-backend-mockingbird": "11.59.0-alpha.2",
|
|
135
|
+
"@gooddata/stylelint-config": "11.59.0-alpha.2"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
138
|
"react": "^18.0.0 || ^19.0.0",
|