@gooddata/sdk-ui-theme-provider 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 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-theme-provider (11.69.0-alpha.1)
6
+ Attribution Notice for @gooddata/sdk-ui-theme-provider (11.69.0-alpha.2)
7
7
  Package License: MIT
8
8
  Own License File: LICENSE
9
- Date generated: 2026-11-12
10
- Revision ID: c56f4e258b22c698a7b4595c97b12a469452f25a
9
+ Date generated: 2026-11-13
10
+ Revision ID: f07dd3a7251c3c343762a6fda0c9b1cb88df1ed1
11
11
 
12
12
  This notice lists the components that @gooddata/sdk-ui-theme-provider depends on, directly or through other
13
13
  packages, with the license and copyright information reported for each of them.
@@ -19,11 +19,11 @@ change those terms.
19
19
  Dependencies
20
20
 
21
21
  Local GoodData SDK components
22
- - @gooddata/sdk-backend-spi (11.69.0-alpha.1) [MIT] — Direct
23
- - @gooddata/sdk-code-schemas (11.69.0-alpha.1) [MIT] — Transitive
24
- - @gooddata/sdk-model (11.69.0-alpha.1) [MIT] — Direct
25
- - @gooddata/sdk-ui (11.69.0-alpha.1) [MIT] — Direct
26
- - @gooddata/util (11.69.0-alpha.1) [MIT] — Direct
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/util (11.69.0-alpha.2) [MIT] — Direct
27
27
 
28
28
  External components
29
29
  - @babel/runtime (7.29.10) [MIT] — Transitive
@@ -97,7 +97,7 @@ Local GoodData SDK components
97
97
  ================================================================================
98
98
 
99
99
  --------------------------------------------------------------------------------
100
- Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.1)
100
+ Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.2)
101
101
  Package Source: Local workspace
102
102
  Package Depth: Direct
103
103
  --------------------------------------------------------------------------------
@@ -115,7 +115,7 @@ The above copyright notice and this permission notice shall be included in all c
115
115
  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.
116
116
 
117
117
  --------------------------------------------------------------------------------
118
- Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.1)
118
+ Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.2)
119
119
  Package Source: Local workspace
120
120
  Package Depth: Transitive
121
121
  --------------------------------------------------------------------------------
@@ -145,7 +145,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
145
145
  SOFTWARE.
146
146
 
147
147
  --------------------------------------------------------------------------------
148
- Package Title: @gooddata/sdk-model (11.69.0-alpha.1)
148
+ Package Title: @gooddata/sdk-model (11.69.0-alpha.2)
149
149
  Package Source: Local workspace
150
150
  Package Depth: Direct
151
151
  --------------------------------------------------------------------------------
@@ -163,7 +163,7 @@ The above copyright notice and this permission notice shall be included in all c
163
163
  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.
164
164
 
165
165
  --------------------------------------------------------------------------------
166
- Package Title: @gooddata/sdk-ui (11.69.0-alpha.1)
166
+ Package Title: @gooddata/sdk-ui (11.69.0-alpha.2)
167
167
  Package Source: Local workspace
168
168
  Package Depth: Direct
169
169
  --------------------------------------------------------------------------------
@@ -181,7 +181,7 @@ The above copyright notice and this permission notice shall be included in all c
181
181
  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.
182
182
 
183
183
  --------------------------------------------------------------------------------
184
- Package Title: @gooddata/util (11.69.0-alpha.1)
184
+ Package Title: @gooddata/util (11.69.0-alpha.2)
185
185
  Package Source: Local workspace
186
186
  Package Depth: Direct
187
187
  --------------------------------------------------------------------------------
@@ -63,7 +63,7 @@ export function handleUnits(value) {
63
63
  // cqw. The units are the ones that follow it — `cqh` and `cqb` are left out although they parse,
64
64
  // because a page contains its inline axis only and a block unit silently resolves against the
65
65
  // viewport instead; `px` and `rem` are left out because they hold their size while the page changes.
66
- const REPORT_LENGTH = /^\d+(\.\d+)?(cqw|cqi|em|%)$/;
66
+ const REPORT_LENGTH = /^\d+(?:\.\d+)?(?:cqw|cqi|em|%)$/;
67
67
  function reportLength(value, bare) {
68
68
  if (typeof value === "number") {
69
69
  return Number.isFinite(value) && value >= 0 ? bare(value) : "";
@@ -1 +1 @@
1
- {"version":3,"file":"documentsTheme.d.ts","sourceRoot":"","sources":["../src/documentsTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,MAAM,EAGd,MAAM,qBAAqB,CAAC;AAsJ7B;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,GAAG,EAAE,CA6BvE;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAcrG;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAmBhF"}
1
+ {"version":3,"file":"documentsTheme.d.ts","sourceRoot":"","sources":["../src/documentsTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,MAAM,EAGd,MAAM,qBAAqB,CAAC;AAuJ7B;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,GAAG,EAAE,CA6BvE;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAcrG;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAmBhF"}
@@ -6,15 +6,16 @@ import { paletteCssVariable } from "./paletteColors.js";
6
6
  const NUMBER = /^[+-]?(\d+(\.\d+)?|\.\d+)$/;
7
7
  const NUMBER_START = /^[+-]?\.?\d/;
8
8
  // Keys and color ids become parts of variable names; the grammar is the v2 validator's theme name.
9
- const NAME = /^[A-Za-z0-9_-]+$/;
9
+ const NAME = /^[A-Z0-9_-]+$/i;
10
10
  // Only values of these shapes are emitted: anything else could end the declaration, or the rule holding
11
11
  // every theme variable. Theme references and font families are checked on their own.
12
- const HEX_COLOR = /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/;
12
+ const HEX_COLOR = /^#(?:[0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
13
13
  const RGB_COLOR = /^rgb\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*(?:,\s*(?:\d+(?:\.\d+)?|\.\d+)\s*)?\)$/;
14
- const KEYWORD = /^[a-zA-Z][a-zA-Z0-9-]*$/;
14
+ const KEYWORD = /^[a-z][a-z0-9-]*$/i;
15
15
  const PLAIN_VALUES = [NUMBER, HEX_COLOR, RGB_COLOR, KEYWORD];
16
- // A quoted name holds no backslash or line break, so each quote closes where it appears to.
17
- const FONT_FAMILY_NAME = String.raw `(?:"[^"\\\n\r\f]*"|'[^'\\\n\r\f]*'|[\p{L}\p{N}_ -]+)`;
16
+ // A quoted name holds no backslash or line break, so each quote closes where it appears to. An unquoted
17
+ // name starts and ends with a non-space, so the spaces around a comma belong to the separator alone.
18
+ const FONT_FAMILY_NAME = String.raw `(?:"[^"\\\n\r\f]*"|'[^'\\\n\r\f]*'|[\p{L}\p{N}_-]+(?: +[\p{L}\p{N}_-]+)*)`;
18
19
  const FONT_FAMILY = new RegExp(String.raw `^${FONT_FAMILY_NAME}(?:\s*,\s*${FONT_FAMILY_NAME})*$`, "u");
19
20
  const COLOR_LISTS = ["backgrounds", "texts", "lines"];
20
21
  // The renderer resolves these even when the theme leaves them out.
@@ -175,7 +175,7 @@ function normalizeColorsInValue(value) {
175
175
  result = result.replace(pattern, `$1${rgba}$2`);
176
176
  }
177
177
  // Convert 8-digit hex colors to rgba
178
- result = result.replace(/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})\b/g, (_match, r, g, b, a) => {
178
+ result = result.replace(/#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/gi, (_match, r, g, b, a) => {
179
179
  const red = parseInt(r, 16);
180
180
  const green = parseInt(g, 16);
181
181
  const blue = parseInt(b, 16);
@@ -210,7 +210,7 @@ function normalizeColorsInValue(value) {
210
210
  return `rgba(${red},${green},${blue},${alphaRounded})`;
211
211
  });
212
212
  // Convert 6-digit hex to rgba (fully opaque)
213
- result = result.replace(/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})\b/g, (_match, r, g, b) => {
213
+ result = result.replace(/#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/gi, (_match, r, g, b) => {
214
214
  const red = parseInt(r, 16);
215
215
  const green = parseInt(g, 16);
216
216
  const blue = parseInt(b, 16);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-theme-provider",
3
- "version": "11.69.0-alpha.1",
3
+ "version": "11.69.0-alpha.2",
4
4
  "description": "GoodData SDK - Theme provider",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -33,10 +33,10 @@
33
33
  "postcss-value-parser": "4.2.0",
34
34
  "ts-invariant": "0.10.3",
35
35
  "tslib": "2.8.1",
36
- "@gooddata/sdk-backend-spi": "11.69.0-alpha.1",
37
- "@gooddata/sdk-ui": "11.69.0-alpha.1",
38
- "@gooddata/sdk-model": "11.69.0-alpha.1",
39
- "@gooddata/util": "11.69.0-alpha.1"
36
+ "@gooddata/sdk-backend-spi": "11.69.0-alpha.2",
37
+ "@gooddata/sdk-ui": "11.69.0-alpha.2",
38
+ "@gooddata/sdk-model": "11.69.0-alpha.2",
39
+ "@gooddata/util": "11.69.0-alpha.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@microsoft/api-documenter": "7.30.20",
@@ -57,6 +57,7 @@
57
57
  "eslint-plugin-jsdoc": "65.4.2",
58
58
  "eslint-plugin-no-barrel-files": "1.2.2",
59
59
  "eslint-plugin-no-only-tests": "3.3.0",
60
+ "eslint-plugin-regexp": "3.3.3",
60
61
  "eslint-plugin-sonarjs": "4.2.2",
61
62
  "eslint-plugin-tsdoc": "0.5.4",
62
63
  "happy-dom": "21.0.4",
@@ -70,10 +71,10 @@
70
71
  "react-dom": "19.1.1",
71
72
  "typescript": "7.0.2",
72
73
  "vitest": "5.0.4",
73
- "@gooddata/oxlint-config": "11.69.0-alpha.1",
74
- "@gooddata/eslint-config": "11.69.0-alpha.1",
75
- "@gooddata/reference-workspace": "11.69.0-alpha.1",
76
- "@gooddata/sdk-backend-mockingbird": "11.69.0-alpha.1"
74
+ "@gooddata/eslint-config": "11.69.0-alpha.2",
75
+ "@gooddata/oxlint-config": "11.69.0-alpha.2",
76
+ "@gooddata/reference-workspace": "11.69.0-alpha.2",
77
+ "@gooddata/sdk-backend-mockingbird": "11.69.0-alpha.2"
77
78
  },
78
79
  "peerDependencies": {
79
80
  "react": "^18.0.0 || ^19.0.0",