@gooddata/sdk-ui-kit 11.68.0-alpha.6 → 11.68.0-alpha.7
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/LICENSE +1 -1
- package/NOTICE +18 -18
- package/esm/Bubble/Bubble.d.ts.map +1 -1
- package/esm/Bubble/Bubble.js +3 -2
- package/package.json +11 -11
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2020-
|
|
1
|
+
Copyright (c) 2020-2026 GoodData Corporation
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
4
|
|
package/NOTICE
CHANGED
|
@@ -3,7 +3,7 @@ Copyright (c) 2017-2026 GoodData Corporation
|
|
|
3
3
|
This product includes a number of subcomponents with separate copyright notices and license terms below. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license. This GoodData project does not necessarily use all the open source software referred to below and may also only use portions of a given package. With respect to the open source software listed in this document, if you (i) have any questions, (ii) wish to receive source code for packages under licenses that require their source code to be made available (such as the GNU Lesser Public License), or (iii) discover any errors or omissions in the licensing information provided, please contact us at legal@gooddata.com. Please identify in source code requests: (i) the packages for which you are requesting corresponding source, (ii) the GoodData product (including any available version) with which the package was provided; and (iii) an email address (if available) or postal address at which GoodData may contact you.
|
|
4
4
|
|
|
5
5
|
--------------------------------------------------------------------------------
|
|
6
|
-
Attribution Notice for @gooddata/sdk-ui-kit (11.68.0-alpha.
|
|
6
|
+
Attribution Notice for @gooddata/sdk-ui-kit (11.68.0-alpha.7)
|
|
7
7
|
Package License: MIT
|
|
8
8
|
Own License File: LICENSE
|
|
9
9
|
|
|
@@ -17,12 +17,12 @@ change those terms.
|
|
|
17
17
|
Dependencies
|
|
18
18
|
|
|
19
19
|
Local GoodData SDK components
|
|
20
|
-
- @gooddata/sdk-backend-spi (11.68.0-alpha.
|
|
21
|
-
- @gooddata/sdk-code-schemas (11.68.0-alpha.
|
|
22
|
-
- @gooddata/sdk-model (11.68.0-alpha.
|
|
23
|
-
- @gooddata/sdk-ui (11.68.0-alpha.
|
|
24
|
-
- @gooddata/sdk-ui-theme-provider (11.68.0-alpha.
|
|
25
|
-
- @gooddata/util (11.68.0-alpha.
|
|
20
|
+
- @gooddata/sdk-backend-spi (11.68.0-alpha.7) [MIT] — Direct
|
|
21
|
+
- @gooddata/sdk-code-schemas (11.68.0-alpha.7) [MIT] — Transitive
|
|
22
|
+
- @gooddata/sdk-model (11.68.0-alpha.7) [MIT] — Direct
|
|
23
|
+
- @gooddata/sdk-ui (11.68.0-alpha.7) [MIT] — Direct
|
|
24
|
+
- @gooddata/sdk-ui-theme-provider (11.68.0-alpha.7) [MIT] — Direct
|
|
25
|
+
- @gooddata/util (11.68.0-alpha.7) [MIT] — Direct
|
|
26
26
|
|
|
27
27
|
External components
|
|
28
28
|
- @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Direct
|
|
@@ -295,7 +295,7 @@ Local GoodData SDK components
|
|
|
295
295
|
================================================================================
|
|
296
296
|
|
|
297
297
|
--------------------------------------------------------------------------------
|
|
298
|
-
Package Title: @gooddata/sdk-backend-spi (11.68.0-alpha.
|
|
298
|
+
Package Title: @gooddata/sdk-backend-spi (11.68.0-alpha.7)
|
|
299
299
|
Package Source: Local workspace
|
|
300
300
|
Package Depth: Direct
|
|
301
301
|
--------------------------------------------------------------------------------
|
|
@@ -304,7 +304,7 @@ Package Depth: Direct
|
|
|
304
304
|
MIT
|
|
305
305
|
|
|
306
306
|
* License Text *
|
|
307
|
-
Copyright (c) 2020-
|
|
307
|
+
Copyright (c) 2020-2026 GoodData Corporation
|
|
308
308
|
|
|
309
309
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
310
310
|
|
|
@@ -313,7 +313,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
313
313
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
314
314
|
|
|
315
315
|
--------------------------------------------------------------------------------
|
|
316
|
-
Package Title: @gooddata/sdk-code-schemas (11.68.0-alpha.
|
|
316
|
+
Package Title: @gooddata/sdk-code-schemas (11.68.0-alpha.7)
|
|
317
317
|
Package Source: Local workspace
|
|
318
318
|
Package Depth: Transitive
|
|
319
319
|
--------------------------------------------------------------------------------
|
|
@@ -343,7 +343,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
343
343
|
SOFTWARE.
|
|
344
344
|
|
|
345
345
|
--------------------------------------------------------------------------------
|
|
346
|
-
Package Title: @gooddata/sdk-model (11.68.0-alpha.
|
|
346
|
+
Package Title: @gooddata/sdk-model (11.68.0-alpha.7)
|
|
347
347
|
Package Source: Local workspace
|
|
348
348
|
Package Depth: Direct
|
|
349
349
|
--------------------------------------------------------------------------------
|
|
@@ -352,7 +352,7 @@ Package Depth: Direct
|
|
|
352
352
|
MIT
|
|
353
353
|
|
|
354
354
|
* License Text *
|
|
355
|
-
Copyright (c) 2020-
|
|
355
|
+
Copyright (c) 2020-2026 GoodData Corporation
|
|
356
356
|
|
|
357
357
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
358
358
|
|
|
@@ -361,7 +361,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
361
361
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
362
362
|
|
|
363
363
|
--------------------------------------------------------------------------------
|
|
364
|
-
Package Title: @gooddata/sdk-ui (11.68.0-alpha.
|
|
364
|
+
Package Title: @gooddata/sdk-ui (11.68.0-alpha.7)
|
|
365
365
|
Package Source: Local workspace
|
|
366
366
|
Package Depth: Direct
|
|
367
367
|
--------------------------------------------------------------------------------
|
|
@@ -370,7 +370,7 @@ Package Depth: Direct
|
|
|
370
370
|
MIT
|
|
371
371
|
|
|
372
372
|
* License Text *
|
|
373
|
-
Copyright (c) 2020-
|
|
373
|
+
Copyright (c) 2020-2026 GoodData Corporation
|
|
374
374
|
|
|
375
375
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
376
376
|
|
|
@@ -379,7 +379,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
379
379
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
380
380
|
|
|
381
381
|
--------------------------------------------------------------------------------
|
|
382
|
-
Package Title: @gooddata/sdk-ui-theme-provider (11.68.0-alpha.
|
|
382
|
+
Package Title: @gooddata/sdk-ui-theme-provider (11.68.0-alpha.7)
|
|
383
383
|
Package Source: Local workspace
|
|
384
384
|
Package Depth: Direct
|
|
385
385
|
--------------------------------------------------------------------------------
|
|
@@ -388,7 +388,7 @@ Package Depth: Direct
|
|
|
388
388
|
MIT
|
|
389
389
|
|
|
390
390
|
* License Text *
|
|
391
|
-
Copyright (c) 2020-
|
|
391
|
+
Copyright (c) 2020-2026 GoodData Corporation
|
|
392
392
|
|
|
393
393
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
394
394
|
|
|
@@ -397,7 +397,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
397
397
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
398
398
|
|
|
399
399
|
--------------------------------------------------------------------------------
|
|
400
|
-
Package Title: @gooddata/util (11.68.0-alpha.
|
|
400
|
+
Package Title: @gooddata/util (11.68.0-alpha.7)
|
|
401
401
|
Package Source: Local workspace
|
|
402
402
|
Package Depth: Direct
|
|
403
403
|
--------------------------------------------------------------------------------
|
|
@@ -406,7 +406,7 @@ Package Depth: Direct
|
|
|
406
406
|
MIT
|
|
407
407
|
|
|
408
408
|
* License Text *
|
|
409
|
-
Copyright (c) 2020-
|
|
409
|
+
Copyright (c) 2020-2026 GoodData Corporation
|
|
410
410
|
|
|
411
411
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
412
412
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../src/Bubble/Bubble.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EAKjB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../src/Bubble/Bubble.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EAKjB,MAAM,OAAO,CAAC;AASf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CA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AC,EAAE,0BAA0B,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAsBD;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,oBAAoB,CAAC,YAAY,CA8JrD,CAAC"}
|
package/esm/Bubble/Bubble.js
CHANGED
|
@@ -2,8 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2020-2026 GoodData Corporation
|
|
3
3
|
import { memo, useCallback, useMemo, useState, } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
import {
|
|
5
|
+
import { result } from "lodash-es";
|
|
6
6
|
import isReactEqual from "react-fast-compare";
|
|
7
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
7
8
|
import { ZoomAwareOverlay } from "../Overlay/ZoomAwareOverlay.js";
|
|
8
9
|
const ARROW_DIRECTIONS = {
|
|
9
10
|
".. cc": "none",
|
|
@@ -84,7 +85,7 @@ export const Bubble = memo(function Bubble(props) {
|
|
|
84
85
|
};
|
|
85
86
|
});
|
|
86
87
|
}, [arrowOffsets]);
|
|
87
|
-
const initialAlignPoints = useMemo(() => addOffsetToAlignPoints(
|
|
88
|
+
const initialAlignPoints = useMemo(() => addOffsetToAlignPoints(_cloneDeep(alignPointsProp)), [addOffsetToAlignPoints, alignPointsProp]);
|
|
88
89
|
const [alignPoints] = useState(initialAlignPoints);
|
|
89
90
|
const [optimalAlignPoints, setOptimalAlignPoints] = useState(alignPointsProp[0].align);
|
|
90
91
|
const onAlign = useCallback((alignment) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.68.0-alpha.
|
|
3
|
+
"version": "11.68.0-alpha.7",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"unified": "^11.0.5",
|
|
81
81
|
"uuid": "11.1.1",
|
|
82
82
|
"yaml": "2.9.1",
|
|
83
|
-
"@gooddata/sdk-backend-spi": "11.68.0-alpha.
|
|
84
|
-
"@gooddata/sdk-model": "11.68.0-alpha.
|
|
85
|
-
"@gooddata/sdk-ui": "11.68.0-alpha.
|
|
86
|
-
"@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.
|
|
87
|
-
"@gooddata/util": "11.68.0-alpha.
|
|
83
|
+
"@gooddata/sdk-backend-spi": "11.68.0-alpha.7",
|
|
84
|
+
"@gooddata/sdk-model": "11.68.0-alpha.7",
|
|
85
|
+
"@gooddata/sdk-ui": "11.68.0-alpha.7",
|
|
86
|
+
"@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.7",
|
|
87
|
+
"@gooddata/util": "11.68.0-alpha.7"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
"svgo": "2.8.4",
|
|
130
130
|
"typescript": "7.0.2",
|
|
131
131
|
"vitest": "5.0.4",
|
|
132
|
-
"@gooddata/eslint-config": "11.68.0-alpha.
|
|
133
|
-
"@gooddata/oxlint-config": "11.68.0-alpha.
|
|
134
|
-
"@gooddata/reference-workspace": "11.68.0-alpha.
|
|
135
|
-
"@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.
|
|
136
|
-
"@gooddata/stylelint-config": "11.68.0-alpha.
|
|
132
|
+
"@gooddata/eslint-config": "11.68.0-alpha.7",
|
|
133
|
+
"@gooddata/oxlint-config": "11.68.0-alpha.7",
|
|
134
|
+
"@gooddata/reference-workspace": "11.68.0-alpha.7",
|
|
135
|
+
"@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.7",
|
|
136
|
+
"@gooddata/stylelint-config": "11.68.0-alpha.7"
|
|
137
137
|
},
|
|
138
138
|
"peerDependencies": {
|
|
139
139
|
"react": "^18.0.0 || ^19.0.0",
|