@gooddata/sdk-ui-vis-commons 11.69.0-alpha.1 → 11.69.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.
- package/NOTICE +17 -17
- package/esm/customTooltip/markdownToHtml.js +6 -6
- package/esm/customTooltip/referenceResolver.js +1 -1
- package/package.json +13 -12
package/NOTICE
CHANGED
|
@@ -3,11 +3,11 @@ 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-vis-commons (11.69.0-alpha.
|
|
6
|
+
Attribution Notice for @gooddata/sdk-ui-vis-commons (11.69.0-alpha.2)
|
|
7
7
|
Package License: MIT
|
|
8
8
|
Own License File: LICENSE
|
|
9
|
-
Date generated: 2026-11-
|
|
10
|
-
Revision ID:
|
|
9
|
+
Date generated: 2026-11-13
|
|
10
|
+
Revision ID: f07dd3a7251c3c343762a6fda0c9b1cb88df1ed1
|
|
11
11
|
|
|
12
12
|
This notice lists the components that @gooddata/sdk-ui-vis-commons depends on, directly or through other
|
|
13
13
|
packages, with the license and copyright information reported for each of them.
|
|
@@ -19,13 +19,13 @@ change those terms.
|
|
|
19
19
|
Dependencies
|
|
20
20
|
|
|
21
21
|
Local GoodData SDK components
|
|
22
|
-
- @gooddata/sdk-backend-spi (11.69.0-alpha.
|
|
23
|
-
- @gooddata/sdk-code-schemas (11.69.0-alpha.
|
|
24
|
-
- @gooddata/sdk-model (11.69.0-alpha.
|
|
25
|
-
- @gooddata/sdk-ui (11.69.0-alpha.
|
|
26
|
-
- @gooddata/sdk-ui-kit (11.69.0-alpha.
|
|
27
|
-
- @gooddata/sdk-ui-theme-provider (11.69.0-alpha.
|
|
28
|
-
- @gooddata/util (11.69.0-alpha.
|
|
22
|
+
- @gooddata/sdk-backend-spi (11.69.0-alpha.2) [MIT] — Direct
|
|
23
|
+
- @gooddata/sdk-code-schemas (11.69.0-alpha.2) [MIT] — Transitive
|
|
24
|
+
- @gooddata/sdk-model (11.69.0-alpha.2) [MIT] — Direct
|
|
25
|
+
- @gooddata/sdk-ui (11.69.0-alpha.2) [MIT] — Direct
|
|
26
|
+
- @gooddata/sdk-ui-kit (11.69.0-alpha.2) [MIT] — Direct
|
|
27
|
+
- @gooddata/sdk-ui-theme-provider (11.69.0-alpha.2) [MIT] — Direct
|
|
28
|
+
- @gooddata/util (11.69.0-alpha.2) [MIT] — Direct
|
|
29
29
|
|
|
30
30
|
External components
|
|
31
31
|
- @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Transitive
|
|
@@ -298,7 +298,7 @@ Local GoodData SDK components
|
|
|
298
298
|
================================================================================
|
|
299
299
|
|
|
300
300
|
--------------------------------------------------------------------------------
|
|
301
|
-
Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.
|
|
301
|
+
Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.2)
|
|
302
302
|
Package Source: Local workspace
|
|
303
303
|
Package Depth: Direct
|
|
304
304
|
--------------------------------------------------------------------------------
|
|
@@ -316,7 +316,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
316
316
|
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.
|
|
317
317
|
|
|
318
318
|
--------------------------------------------------------------------------------
|
|
319
|
-
Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.
|
|
319
|
+
Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.2)
|
|
320
320
|
Package Source: Local workspace
|
|
321
321
|
Package Depth: Transitive
|
|
322
322
|
--------------------------------------------------------------------------------
|
|
@@ -346,7 +346,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
346
346
|
SOFTWARE.
|
|
347
347
|
|
|
348
348
|
--------------------------------------------------------------------------------
|
|
349
|
-
Package Title: @gooddata/sdk-model (11.69.0-alpha.
|
|
349
|
+
Package Title: @gooddata/sdk-model (11.69.0-alpha.2)
|
|
350
350
|
Package Source: Local workspace
|
|
351
351
|
Package Depth: Direct
|
|
352
352
|
--------------------------------------------------------------------------------
|
|
@@ -364,7 +364,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
364
364
|
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.
|
|
365
365
|
|
|
366
366
|
--------------------------------------------------------------------------------
|
|
367
|
-
Package Title: @gooddata/sdk-ui (11.69.0-alpha.
|
|
367
|
+
Package Title: @gooddata/sdk-ui (11.69.0-alpha.2)
|
|
368
368
|
Package Source: Local workspace
|
|
369
369
|
Package Depth: Direct
|
|
370
370
|
--------------------------------------------------------------------------------
|
|
@@ -382,7 +382,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
382
382
|
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.
|
|
383
383
|
|
|
384
384
|
--------------------------------------------------------------------------------
|
|
385
|
-
Package Title: @gooddata/sdk-ui-kit (11.69.0-alpha.
|
|
385
|
+
Package Title: @gooddata/sdk-ui-kit (11.69.0-alpha.2)
|
|
386
386
|
Package Source: Local workspace
|
|
387
387
|
Package Depth: Direct
|
|
388
388
|
--------------------------------------------------------------------------------
|
|
@@ -400,7 +400,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
400
400
|
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.
|
|
401
401
|
|
|
402
402
|
--------------------------------------------------------------------------------
|
|
403
|
-
Package Title: @gooddata/sdk-ui-theme-provider (11.69.0-alpha.
|
|
403
|
+
Package Title: @gooddata/sdk-ui-theme-provider (11.69.0-alpha.2)
|
|
404
404
|
Package Source: Local workspace
|
|
405
405
|
Package Depth: Direct
|
|
406
406
|
--------------------------------------------------------------------------------
|
|
@@ -418,7 +418,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
418
418
|
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.
|
|
419
419
|
|
|
420
420
|
--------------------------------------------------------------------------------
|
|
421
|
-
Package Title: @gooddata/util (11.69.0-alpha.
|
|
421
|
+
Package Title: @gooddata/util (11.69.0-alpha.2)
|
|
422
422
|
Package Source: Local workspace
|
|
423
423
|
Package Depth: Direct
|
|
424
424
|
--------------------------------------------------------------------------------
|
|
@@ -47,7 +47,7 @@ const LINK_REGEX = new RegExp(`\\[([^\\]]+)\\]\\((${URL_PATTERN})?\\)`, "g");
|
|
|
47
47
|
// Italic content must have non-whitespace at both inner boundaries. This keeps
|
|
48
48
|
// arithmetic-style text (e.g. `5 * 3 * 2`) from being misread as italics.
|
|
49
49
|
const ITALIC_ASTERISK_REGEX = /\*([^\s*][^*]*[^\s*]|[^\s*])\*/g;
|
|
50
|
-
const ITALIC_UNDERSCORE_REGEX =
|
|
50
|
+
const ITALIC_UNDERSCORE_REGEX = /\b_([^\s_][^_]*[^\s_]|[^\s_])_\b/g;
|
|
51
51
|
function processInlineMarkdown(text) {
|
|
52
52
|
let result = escapeHtml(text);
|
|
53
53
|
// Inline style as fallback since the tooltip renders outside the normal DOM tree.
|
|
@@ -82,7 +82,7 @@ function processInlineMarkdown(text) {
|
|
|
82
82
|
// char at the end. The generated prefix is chosen so it does not already appear
|
|
83
83
|
// in the input, which prevents user-supplied sentinel-shaped text from being
|
|
84
84
|
// restored into raw HTML after escaping.
|
|
85
|
-
const ESCAPABLE_METACHARS = /\\([\\*_
|
|
85
|
+
const ESCAPABLE_METACHARS = /\\([\\*_`[\]()!#~+\-])/g;
|
|
86
86
|
const SENTINEL_PREFIX = "\u0001E";
|
|
87
87
|
function escapeRegExp(value) {
|
|
88
88
|
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -160,13 +160,13 @@ function parseMarkdown(markdown) {
|
|
|
160
160
|
continue;
|
|
161
161
|
}
|
|
162
162
|
// Horizontal rule: --- or *** or ___
|
|
163
|
-
if (/^(
|
|
163
|
+
if (/^(?:-{3,}|\*{3,}|_{3,})$/.test(trimmed)) {
|
|
164
164
|
closeList();
|
|
165
165
|
htmlParts.push("<hr/>");
|
|
166
166
|
continue;
|
|
167
167
|
}
|
|
168
168
|
// Headings: # through ####
|
|
169
|
-
const headingMatch = trimmed.match(/^(#{1,4})\s+(
|
|
169
|
+
const headingMatch = trimmed.match(/^(#{1,4})\s+(\S.*)$/);
|
|
170
170
|
if (headingMatch) {
|
|
171
171
|
closeList();
|
|
172
172
|
const level = headingMatch[1].length;
|
|
@@ -175,7 +175,7 @@ function parseMarkdown(markdown) {
|
|
|
175
175
|
continue;
|
|
176
176
|
}
|
|
177
177
|
// Unordered list: - item or * item
|
|
178
|
-
const ulMatch = trimmed.match(/^[-*]\s+(
|
|
178
|
+
const ulMatch = trimmed.match(/^[-*]\s+(\S.*)$/);
|
|
179
179
|
if (ulMatch) {
|
|
180
180
|
if (inOrderedList) {
|
|
181
181
|
closeList();
|
|
@@ -188,7 +188,7 @@ function parseMarkdown(markdown) {
|
|
|
188
188
|
continue;
|
|
189
189
|
}
|
|
190
190
|
// Ordered list: 1. item
|
|
191
|
-
const olMatch = trimmed.match(/^\d+\.\s+(
|
|
191
|
+
const olMatch = trimmed.match(/^\d+\.\s+(\S.*)$/);
|
|
192
192
|
if (olMatch) {
|
|
193
193
|
if (inUnorderedList) {
|
|
194
194
|
closeList();
|
|
@@ -7,7 +7,7 @@ import { computedAttributeKey, labelKey, metricKey, } from "./types.js";
|
|
|
7
7
|
// parser treats them as literal text. The set covers every char that can start
|
|
8
8
|
// or end a markdown construct supported by our parser: emphasis, link/image
|
|
9
9
|
// brackets, parens, headings, lists, and horizontal rules.
|
|
10
|
-
const MARKDOWN_METACHARS = /[\\*_
|
|
10
|
+
const MARKDOWN_METACHARS = /[\\*_`[\]()!#~+\-]/g;
|
|
11
11
|
function escapeMarkdownMetachars(value) {
|
|
12
12
|
return value.replace(MARKDOWN_METACHARS, "\\$&");
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-vis-commons",
|
|
3
|
-
"version": "11.69.0-alpha.
|
|
3
|
+
"version": "11.69.0-alpha.2",
|
|
4
4
|
"description": "GoodData.UI SDK - common functionality for different types of visualizations",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"react-intl": "10.1.25",
|
|
38
38
|
"react-measure": "^2.5.2",
|
|
39
39
|
"tslib": "2.8.1",
|
|
40
|
-
"@gooddata/sdk-backend-spi": "11.69.0-alpha.
|
|
41
|
-
"@gooddata/sdk-
|
|
42
|
-
"@gooddata/sdk-
|
|
43
|
-
"@gooddata/sdk-ui": "11.69.0-alpha.
|
|
44
|
-
"@gooddata/sdk-ui-theme-provider": "11.69.0-alpha.
|
|
45
|
-
"@gooddata/util": "11.69.0-alpha.
|
|
40
|
+
"@gooddata/sdk-backend-spi": "11.69.0-alpha.2",
|
|
41
|
+
"@gooddata/sdk-ui": "11.69.0-alpha.2",
|
|
42
|
+
"@gooddata/sdk-model": "11.69.0-alpha.2",
|
|
43
|
+
"@gooddata/sdk-ui-kit": "11.69.0-alpha.2",
|
|
44
|
+
"@gooddata/sdk-ui-theme-provider": "11.69.0-alpha.2",
|
|
45
|
+
"@gooddata/util": "11.69.0-alpha.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"eslint-plugin-jsdoc": "65.4.2",
|
|
65
65
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
66
66
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
67
|
+
"eslint-plugin-regexp": "3.3.3",
|
|
67
68
|
"eslint-plugin-sonarjs": "4.2.2",
|
|
68
69
|
"eslint-plugin-tsdoc": "0.5.4",
|
|
69
70
|
"happy-dom": "21.0.4",
|
|
@@ -79,11 +80,11 @@
|
|
|
79
80
|
"stylelint": "16.26.1",
|
|
80
81
|
"typescript": "7.0.2",
|
|
81
82
|
"vitest": "5.0.4",
|
|
82
|
-
"@gooddata/
|
|
83
|
-
"@gooddata/
|
|
84
|
-
"@gooddata/reference-workspace": "11.69.0-alpha.
|
|
85
|
-
"@gooddata/sdk-backend-mockingbird": "11.69.0-alpha.
|
|
86
|
-
"@gooddata/stylelint-config": "11.69.0-alpha.
|
|
83
|
+
"@gooddata/oxlint-config": "11.69.0-alpha.2",
|
|
84
|
+
"@gooddata/eslint-config": "11.69.0-alpha.2",
|
|
85
|
+
"@gooddata/reference-workspace": "11.69.0-alpha.2",
|
|
86
|
+
"@gooddata/sdk-backend-mockingbird": "11.69.0-alpha.2",
|
|
87
|
+
"@gooddata/stylelint-config": "11.69.0-alpha.2"
|
|
87
88
|
},
|
|
88
89
|
"peerDependencies": {
|
|
89
90
|
"react": "^18.0.0 || ^19.0.0",
|