@gooddata/sdk-ui-dashboard 10.25.0-alpha.47 → 10.25.0-alpha.49

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,2 +1,2 @@
1
- export declare const LIB_VERSION = "10.25.0-alpha.47";
1
+ export declare const LIB_VERSION = "10.25.0-alpha.49";
2
2
  //# sourceMappingURL=__version.d.ts.map
package/esm/__version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "10.25.0-alpha.47";
3
+ export const LIB_VERSION = "10.25.0-alpha.49";
4
4
  //# sourceMappingURL=__version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDashboardMainContent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAK9C;;GAEG;AACH,eAAO,MAAM,2BAA2B,MAAO,eAAe,sBA4C7D,CAAC"}
1
+ {"version":3,"file":"DefaultDashboardMainContent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAczC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAM9C;;GAEG;AACH,eAAO,MAAM,2BAA2B,MAAO,eAAe,sBAsD7D,CAAC"}
@@ -1,12 +1,13 @@
1
1
  // (C) 2023-2025 GoodData Corporation
2
2
  import React, { useEffect } from "react";
3
3
  import cx from "classnames";
4
- import { useDispatchDashboardCommand, changeFilterContextSelection, useWidgetSelection, useDashboardSelector, selectEnableFlexibleLayout, selectEnableDashboardDescriptionDynamicHeight, } from "../../../model/index.js";
4
+ import { useDispatchDashboardCommand, changeFilterContextSelection, useWidgetSelection, useDashboardSelector, selectEnableFlexibleLayout, selectEnableDashboardDescriptionDynamicHeight, selectRenderMode, } from "../../../model/index.js";
5
5
  import { useDashboardDrop } from "../../dragAndDrop/index.js";
6
6
  import { DashboardLayout } from "../../layout/index.js";
7
7
  import { DateFilterConfigWarnings } from "../components/DateFilterConfigWarnings.js";
8
8
  import { useWidgetDragHoverHandlers as useFlexibleWidgetDragHoverHandlers } from "../../flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js";
9
9
  import { useWidgetDragHoverHandlers as useFluidWidgetDragHoverHandlers } from "../../layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js";
10
+ import { ExportThemeProvider } from "../../export/index.js";
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -18,6 +19,7 @@ export const DefaultDashboardMainContent = (_) => {
18
19
  const useWidgetDragHoverHandlers = isFlexibleLayoutEnabled
19
20
  ? useFlexibleWidgetDragHoverHandlers
20
21
  : useFluidWidgetDragHoverHandlers;
22
+ const renderMode = useDashboardSelector(selectRenderMode);
21
23
  const { handleDragHoverEnd } = useWidgetDragHoverHandlers();
22
24
  const [{ isOver }, dropRef] = useDashboardDrop([
23
25
  "insight",
@@ -41,8 +43,14 @@ export const DefaultDashboardMainContent = (_) => {
41
43
  "gd-grid-layout": isFlexibleLayoutEnabled,
42
44
  "gd-auto-resized-dashboard-descriptions": isFlexibleLayoutEnabled || isDescriptionDynamicHeight,
43
45
  });
44
- return (React.createElement("div", { className: classNames, ref: dropRef, onClick: deselectWidgets },
45
- React.createElement(DateFilterConfigWarnings, null),
46
- React.createElement(DashboardLayout, { onFiltersChange: onFiltersChange })));
46
+ const renderContent = () => {
47
+ return (React.createElement("div", { className: classNames, ref: dropRef, onClick: deselectWidgets },
48
+ React.createElement(DateFilterConfigWarnings, null),
49
+ React.createElement(DashboardLayout, { onFiltersChange: onFiltersChange })));
50
+ };
51
+ if (renderMode === "export") {
52
+ return React.createElement(ExportThemeProvider, null, renderContent());
53
+ }
54
+ return renderContent();
47
55
  };
48
56
  //# sourceMappingURL=DefaultDashboardMainContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDashboardMainContent.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EACH,2BAA2B,EAC3B,4BAA4B,EAC5B,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,6CAA6C,GAChD,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,0BAA0B,IAAI,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AAClK,OAAO,EAAE,0BAA0B,IAAI,+BAA+B,EAAE,MAAM,wEAAwE,CAAC;AAEvJ;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAkB,EAAE,EAAE;IAC9D,MAAM,eAAe,GAAG,2BAA2B,CAAC,4BAA4B,CAAC,CAAC;IAClF,MAAM,EAAE,eAAe,EAAE,GAAG,kBAAkB,EAAE,CAAC;IACjD,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,0BAA0B,CAAC,CAAC;IACjF,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,6CAA6C,CAAC,CAAC;IACvG,MAAM,0BAA0B,GAAG,uBAAuB;QACtD,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,+BAA+B,CAAC;IAEtC,MAAM,EAAE,kBAAkB,EAAE,GAAG,0BAA0B,EAAE,CAAC;IAC5D,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,GAAG,gBAAgB,CAC1C;QACI,SAAS;QACT,qBAAqB;QACrB,iBAAiB;QACjB,KAAK;QACL,iBAAiB;QACjB,UAAU;QACV,kBAAkB;QAClB,uBAAuB;QACvB,+BAA+B;QAC/B,iBAAiB;QACjB,yBAAyB;KAC5B,EACD,EAAE,CACL,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,kBAAkB,EAAE,CAAC;QACzB,CAAC;IACL,CAAC,EAAE,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjC,MAAM,UAAU,GAAG,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,EAAE;QAChE,gBAAgB,EAAE,uBAAuB;QACzC,wCAAwC,EAAE,uBAAuB,IAAI,0BAA0B;KAClG,CAAC,CAAC;IAEH,OAAO,CACH,6BAAK,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe;QAC9D,oBAAC,wBAAwB,OAAG;QAC5B,oBAAC,eAAe,IAAC,eAAe,EAAE,eAAe,GAAI,CACnD,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"DefaultDashboardMainContent.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EACH,2BAA2B,EAC3B,4BAA4B,EAC5B,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,6CAA6C,EAC7C,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,0BAA0B,IAAI,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AAClK,OAAO,EAAE,0BAA0B,IAAI,+BAA+B,EAAE,MAAM,wEAAwE,CAAC;AACvJ,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAkB,EAAE,EAAE;IAC9D,MAAM,eAAe,GAAG,2BAA2B,CAAC,4BAA4B,CAAC,CAAC;IAClF,MAAM,EAAE,eAAe,EAAE,GAAG,kBAAkB,EAAE,CAAC;IACjD,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,0BAA0B,CAAC,CAAC;IACjF,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,6CAA6C,CAAC,CAAC;IACvG,MAAM,0BAA0B,GAAG,uBAAuB;QACtD,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,+BAA+B,CAAC;IAEtC,MAAM,UAAU,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IAE1D,MAAM,EAAE,kBAAkB,EAAE,GAAG,0BAA0B,EAAE,CAAC;IAC5D,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,GAAG,gBAAgB,CAC1C;QACI,SAAS;QACT,qBAAqB;QACrB,iBAAiB;QACjB,KAAK;QACL,iBAAiB;QACjB,UAAU;QACV,kBAAkB;QAClB,uBAAuB;QACvB,+BAA+B;QAC/B,iBAAiB;QACjB,yBAAyB;KAC5B,EACD,EAAE,CACL,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,kBAAkB,EAAE,CAAC;QACzB,CAAC;IACL,CAAC,EAAE,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjC,MAAM,UAAU,GAAG,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,EAAE;QAChE,gBAAgB,EAAE,uBAAuB;QACzC,wCAAwC,EAAE,uBAAuB,IAAI,0BAA0B;KAClG,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,OAAO,CACH,6BAAK,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe;YAC9D,oBAAC,wBAAwB,OAAG;YAC5B,oBAAC,eAAe,IAAC,eAAe,EAAE,eAAe,GAAI,CACnD,CACT,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,UAAU,KAAK,QAAQ,EAAE,CAAC;QAC1B,OAAO,oBAAC,mBAAmB,QAAE,aAAa,EAAE,CAAuB,CAAC;IACxE,CAAC;IAED,OAAO,aAAa,EAAE,CAAC;AAC3B,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React, { ReactNode } from "react";
2
+ /**
3
+ * @alpha
4
+ */
5
+ export interface ExportThemeProviderProps {
6
+ children: ReactNode;
7
+ }
8
+ /**
9
+ * @alpha
10
+ */
11
+ export declare function ExportThemeProvider({ children }: ExportThemeProviderProps): React.JSX.Element;
12
+ //# sourceMappingURL=ExportThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/ExportThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,qBAQzE"}
@@ -0,0 +1,132 @@
1
+ // (C) 2025 GoodData Corporation
2
+ import React from "react";
3
+ import { ScopedThemeProvider, useTheme } from "@gooddata/sdk-ui-theme-provider";
4
+ /**
5
+ * @alpha
6
+ */
7
+ export function ExportThemeProvider({ children }) {
8
+ const theme = useTheme();
9
+ return (React.createElement(ScopedThemeProvider, { theme: getTheme(theme) },
10
+ React.createElement("div", { style: getWrapperStyles() }, children)));
11
+ }
12
+ const fonts = [
13
+ {
14
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevttHOmHS91ixg0.woff2)",
15
+ unicodeRange: "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
16
+ },
17
+ {
18
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevtvXOmHS91ixg0.woff2)",
19
+ unicodeRange: "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
20
+ },
21
+ {
22
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevtuHOmHS91ixg0.woff2)",
23
+ unicodeRange: "U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09",
24
+ },
25
+ {
26
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevttXOmHS91ixg0.woff2)",
27
+ unicodeRange: "U+1F00-1FFF",
28
+ },
29
+ {
30
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevtunOmHS91ixg0.woff2)",
31
+ unicodeRange: "U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF",
32
+ },
33
+ {
34
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevttnOmHS91ixg0.woff2)",
35
+ unicodeRange: "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
36
+ },
37
+ {
38
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevtt3OmHS91ixg0.woff2)",
39
+ unicodeRange: "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
40
+ },
41
+ {
42
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0ZIpQlx3QUlC5A4PNr4C5OaxRsfNNlKbCePevtuXOmHS91iw.woff2)",
43
+ unicodeRange: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
44
+ },
45
+ {
46
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5aPdu3mhPy1Fig.woff2)",
47
+ unicodeRange: "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
48
+ },
49
+ {
50
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5ardu3mhPy1Fig.woff2)",
51
+ unicodeRange: "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
52
+ },
53
+ {
54
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5a_du3mhPy1Fig.woff2)",
55
+ unicodeRange: "U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09",
56
+ },
57
+ {
58
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5aLdu3mhPy1Fig.woff2)",
59
+ unicodeRange: "U+1F00-1FFF",
60
+ },
61
+ {
62
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5a3du3mhPy1Fig.woff2)",
63
+ unicodeRange: "U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF",
64
+ },
65
+ {
66
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5aHdu3mhPy1Fig.woff2)",
67
+ unicodeRange: "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
68
+ },
69
+ {
70
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5aDdu3mhPy1Fig.woff2)",
71
+ unicodeRange: "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
72
+ },
73
+ {
74
+ font: "url(https://fonts.gstatic.com/s/notosans/v39/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5a7du3mhPy0.woff2)",
75
+ unicodeRange: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
76
+ },
77
+ {
78
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0OMImSLYBIv1o4X1M8cce4OdVisMz5nZRqy6cmmmU3t3NeCAAFOvV9SNjBw3uBdlEl2qOL.woff2)",
79
+ unicodeRange: "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
80
+ },
81
+ {
82
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0OMImSLYBIv1o4X1M8cce4OdVisMz5nZRqy6cmmmU3t3NeCAAFOvV9SNjBynuBdlEl2qOL.woff2)",
83
+ unicodeRange: "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
84
+ },
85
+ {
86
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0OMImSLYBIv1o4X1M8cce4OdVisMz5nZRqy6cmmmU3t3NeCAAFOvV9SNjBwXuBdlEl2qOL.woff2)",
87
+ unicodeRange: "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
88
+ },
89
+ {
90
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0OMImSLYBIv1o4X1M8cce4OdVisMz5nZRqy6cmmmU3t3NeCAAFOvV9SNjBwHuBdlEl2qOL.woff2)",
91
+ unicodeRange: "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
92
+ },
93
+ {
94
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0OMImSLYBIv1o4X1M8cce4OdVisMz5nZRqy6cmmmU3t3NeCAAFOvV9SNjBznuBdlEl2g.woff2)",
95
+ unicodeRange: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
96
+ },
97
+ {
98
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0AMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfUVwoNnq4CLz0_kJDxzHGGVFMV2w.woff2)",
99
+ unicodeRange: "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
100
+ },
101
+ {
102
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0AMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfUVwoNnq4CLz0_kJnxzHGGVFMV2w.woff2)",
103
+ unicodeRange: "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
104
+ },
105
+ {
106
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0AMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfUVwoNnq4CLz0_kJLxzHGGVFMV2w.woff2)",
107
+ unicodeRange: "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
108
+ },
109
+ {
110
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0AMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfUVwoNnq4CLz0_kJPxzHGGVFMV2w.woff2)",
111
+ unicodeRange: "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
112
+ },
113
+ {
114
+ font: "url(https://fonts.gstatic.com/s/nunitosans/v15/pe0AMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfUVwoNnq4CLz0_kJ3xzHGGVFM.woff2)",
115
+ unicodeRange: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
116
+ },
117
+ ];
118
+ function getWrapperStyles() {
119
+ return {
120
+ fontFamily: "var(--gd-font-family)",
121
+ };
122
+ }
123
+ function getTheme(theme) {
124
+ return {
125
+ ...theme,
126
+ typography: {
127
+ font: fonts,
128
+ fontBold: fonts,
129
+ },
130
+ };
131
+ }
132
+ //# sourceMappingURL=ExportThemeProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportThemeProvider.js","sourceRoot":"","sources":["../../../src/presentation/export/ExportThemeProvider.tsx"],"names":[],"mappings":"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"}
@@ -2,6 +2,7 @@ export * from "./types.js";
2
2
  export * from "./const.js";
3
3
  export * from "./useExportData.js";
4
4
  export * from "./DefaultDashboardExportVariables.js";
5
+ export * from "./ExportThemeProvider.js";
5
6
  export { useMinimalSizeValidation } from "./hooks/useMinimalSizeValidation.js";
6
7
  export type { DashboardRelatedFilter } from "./hooks/useDashboardRelatedFilters.js";
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,YAAY,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,YAAY,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -3,5 +3,6 @@ export * from "./types.js";
3
3
  export * from "./const.js";
4
4
  export * from "./useExportData.js";
5
5
  export * from "./DefaultDashboardExportVariables.js";
6
+ export * from "./ExportThemeProvider.js";
6
7
  export { useMinimalSizeValidation } from "./hooks/useMinimalSizeValidation.js";
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/export/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/export/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC"}
@@ -8172,6 +8172,18 @@ export declare interface ExportSlidesInsightWidgetPayload {
8172
8172
  readonly exportType: "pdf" | "pptx";
8173
8173
  }
8174
8174
 
8175
+ /**
8176
+ * @alpha
8177
+ */
8178
+ export declare function ExportThemeProvider({ children }: ExportThemeProviderProps): React_2.JSX.Element;
8179
+
8180
+ /**
8181
+ * @alpha
8182
+ */
8183
+ export declare interface ExportThemeProviderProps {
8184
+ children: ReactNode;
8185
+ }
8186
+
8175
8187
  /**
8176
8188
  * Specialization of the IDashboardLayoutItem which also includes the extended dashboard widgets - KPI and
8177
8189
  * Insight placeholders.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.25.0-alpha.47",
3
+ "version": "10.25.0-alpha.49",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,17 +57,17 @@
57
57
  "ts-invariant": "^0.7.5",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2",
60
- "@gooddata/sdk-backend-base": "10.25.0-alpha.47",
61
- "@gooddata/sdk-backend-spi": "10.25.0-alpha.47",
62
- "@gooddata/sdk-model": "10.25.0-alpha.47",
63
- "@gooddata/sdk-ui-ext": "10.25.0-alpha.47",
64
- "@gooddata/sdk-ui": "10.25.0-alpha.47",
65
- "@gooddata/sdk-ui-filters": "10.25.0-alpha.47",
66
- "@gooddata/sdk-ui-geo": "10.25.0-alpha.47",
67
- "@gooddata/sdk-ui-kit": "10.25.0-alpha.47",
68
- "@gooddata/sdk-ui-theme-provider": "10.25.0-alpha.47",
69
- "@gooddata/sdk-ui-vis-commons": "10.25.0-alpha.47",
70
- "@gooddata/util": "10.25.0-alpha.47"
60
+ "@gooddata/sdk-backend-base": "10.25.0-alpha.49",
61
+ "@gooddata/sdk-backend-spi": "10.25.0-alpha.49",
62
+ "@gooddata/sdk-ui": "10.25.0-alpha.49",
63
+ "@gooddata/sdk-ui-ext": "10.25.0-alpha.49",
64
+ "@gooddata/sdk-model": "10.25.0-alpha.49",
65
+ "@gooddata/sdk-ui-filters": "10.25.0-alpha.49",
66
+ "@gooddata/sdk-ui-geo": "10.25.0-alpha.49",
67
+ "@gooddata/sdk-ui-kit": "10.25.0-alpha.49",
68
+ "@gooddata/sdk-ui-theme-provider": "10.25.0-alpha.49",
69
+ "@gooddata/sdk-ui-vis-commons": "10.25.0-alpha.49",
70
+ "@gooddata/util": "10.25.0-alpha.49"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -120,9 +120,9 @@
120
120
  "typescript": "5.3.3",
121
121
  "vitest": "3.0.8",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/i18n-toolkit": "10.25.0-alpha.47",
124
- "@gooddata/sdk-backend-mockingbird": "10.25.0-alpha.47",
125
- "@gooddata/reference-workspace": "10.25.0-alpha.47"
123
+ "@gooddata/i18n-toolkit": "10.25.0-alpha.49",
124
+ "@gooddata/sdk-backend-mockingbird": "10.25.0-alpha.49",
125
+ "@gooddata/reference-workspace": "10.25.0-alpha.49"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
@@ -5,7 +5,7 @@
5
5
  ========================================================================== */
6
6
  .gd-heading-1 {
7
7
  color: var(--gd-palette-complementary-8, #464e56);
8
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
8
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
9
9
  font-weight: 400;
10
10
  font-weight: 700;
11
11
  line-height: 30px;
@@ -14,7 +14,7 @@
14
14
 
15
15
  .gd-heading-2 {
16
16
  color: var(--gd-palette-complementary-8, #464e56);
17
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
17
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
18
18
  font-weight: 400;
19
19
  font-weight: 700;
20
20
  line-height: 26px;
@@ -23,7 +23,7 @@
23
23
 
24
24
  .gd-heading-3 {
25
25
  color: var(--gd-palette-complementary-8, #464e56);
26
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
26
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
27
27
  font-weight: 400;
28
28
  font-weight: 700;
29
29
  line-height: 23px;
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  .gd-paragraph {
34
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
34
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
35
35
  font-weight: 400;
36
36
  line-height: 1.4rem;
37
37
  color: var(--gd-palette-complementary-8, #464e56);
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  .gd-label-top {
42
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
42
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
43
43
  font-weight: 400;
44
44
  line-height: 1.8rem;
45
45
  color: var(--gd-palette-complementary-7, #6d7680);
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  .gd-label {
51
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
51
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
52
52
  font-weight: 400;
53
53
  line-height: 1.8rem;
54
54
  color: var(--gd-palette-complementary-7, #6d7680);
@@ -56,7 +56,7 @@
56
56
  }
57
57
 
58
58
  .gd-label-small {
59
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
59
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
60
60
  font-weight: 400;
61
61
  line-height: 1.8rem;
62
62
  color: var(--gd-palette-complementary-7, #6d7680);
@@ -68,7 +68,7 @@
68
68
  }
69
69
  .gd-typography--h1 {
70
70
  color: var(--gd-palette-complementary-8, #464e56);
71
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
71
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
72
72
  font-weight: 400;
73
73
  font-weight: 700;
74
74
  line-height: 30px;
@@ -76,7 +76,7 @@
76
76
  }
77
77
  .gd-typography--h2 {
78
78
  color: var(--gd-palette-complementary-8, #464e56);
79
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
79
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
80
80
  font-weight: 400;
81
81
  font-weight: 700;
82
82
  line-height: 26px;
@@ -84,14 +84,14 @@
84
84
  }
85
85
  .gd-typography--h3 {
86
86
  color: var(--gd-palette-complementary-8, #464e56);
87
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
87
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
88
88
  font-weight: 400;
89
89
  font-weight: 700;
90
90
  line-height: 23px;
91
91
  font-size: 17px;
92
92
  }
93
93
  .gd-typography--p {
94
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
94
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
95
95
  font-weight: 400;
96
96
  line-height: 1.4rem;
97
97
  color: var(--gd-palette-complementary-8, #464e56);
@@ -245,7 +245,7 @@
245
245
  }
246
246
  .gd-fluid-layout-row-header .title {
247
247
  color: var(--gd-palette-complementary-8, #464e56);
248
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
248
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
249
249
  font-weight: 400;
250
250
  font-weight: 700;
251
251
  line-height: 26px;
@@ -443,7 +443,7 @@
443
443
  }
444
444
  .gd-grid-layout .gd-fluid-layout-row-header .gd-row-header-edit--nested .title {
445
445
  color: var(--gd-palette-complementary-8, #464e56);
446
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
446
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
447
447
  font-weight: 400;
448
448
  font-weight: 700;
449
449
  line-height: 23px;
@@ -674,7 +674,7 @@
674
674
  .kpi-value {
675
675
  position: relative;
676
676
  font-weight: 700;
677
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
677
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
678
678
  height: 60px;
679
679
  font-size: 50px;
680
680
  line-height: 60px;
@@ -1838,7 +1838,7 @@
1838
1838
  border: 1px solid var(--gd-palette-complementary-4, #ccd8e2);
1839
1839
  box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
1840
1840
  font-size: 14px;
1841
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
1841
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
1842
1842
  font-weight: 200;
1843
1843
  line-height: normal;
1844
1844
  vertical-align: middle;
@@ -1890,7 +1890,7 @@
1890
1890
  }
1891
1891
  .gd-recipients-field .gd-recipient-input .gd-recipients__input input {
1892
1892
  width: 100% !important;
1893
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
1893
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
1894
1894
  }
1895
1895
  @media only screen and (max-width: 320px) {
1896
1896
  .gd-recipients-field .gd-recipients__value-container {
@@ -1918,7 +1918,7 @@
1918
1918
  text-overflow: ellipsis;
1919
1919
  vertical-align: middle;
1920
1920
  color: var(--gd-palette-complementary-8, #464e56);
1921
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
1921
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
1922
1922
  font-size: 14px;
1923
1923
  flex-grow: 0;
1924
1924
  flex-shrink: 1;
@@ -2182,7 +2182,7 @@
2182
2182
  .gd-dashboards-root {
2183
2183
  flex-wrap: nowrap;
2184
2184
  background: var(--gd-dashboards-content-backgroundColor, var(--gd-palette-complementary-0, #fff));
2185
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
2185
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
2186
2186
  line-height: 1.5;
2187
2187
  }
2188
2188
  .gd-dashboards-root *,
@@ -19,7 +19,7 @@
19
19
  margin-top: -15px;
20
20
  font-size: 12px;
21
21
  line-height: 17px;
22
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
22
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
23
23
  color: var(--gd-palette-complementary-7, #6d7680);
24
24
  }
25
25
  .gd-dashboard-settings-dialog .configuration-category-item {
@@ -7,7 +7,7 @@
7
7
  Variables
8
8
  ========================================================================== */
9
9
  .drag-layer {
10
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
10
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
11
11
  line-height: 1.5;
12
12
  box-sizing: border-box;
13
13
  flex-wrap: nowrap;
@@ -51,7 +51,7 @@
51
51
  padding: 4px 10px;
52
52
  }
53
53
  .gd-drill-modal-picker-dropdown .gd-drill-modal-picker-list-item p {
54
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
54
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
55
55
  font-size: 12px;
56
56
  text-overflow: ellipsis;
57
57
  overflow: hidden;
@@ -90,7 +90,7 @@
90
90
  .kpi-value {
91
91
  position: relative;
92
92
  font-weight: 700;
93
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
93
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
94
94
  height: 60px;
95
95
  font-size: 50px;
96
96
  line-height: 60px;
@@ -1,6 +1,6 @@
1
1
  .gd-heading-1 {
2
2
  color: var(--gd-palette-complementary-8, #464e56);
3
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
3
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
4
4
  font-weight: 400;
5
5
  font-weight: 700;
6
6
  line-height: 30px;
@@ -9,7 +9,7 @@
9
9
 
10
10
  .gd-heading-2 {
11
11
  color: var(--gd-palette-complementary-8, #464e56);
12
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
12
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
13
13
  font-weight: 400;
14
14
  font-weight: 700;
15
15
  line-height: 26px;
@@ -18,7 +18,7 @@
18
18
 
19
19
  .gd-heading-3 {
20
20
  color: var(--gd-palette-complementary-8, #464e56);
21
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
21
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
22
22
  font-weight: 400;
23
23
  font-weight: 700;
24
24
  line-height: 23px;
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .gd-paragraph {
29
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
29
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
30
30
  font-weight: 400;
31
31
  line-height: 1.4rem;
32
32
  color: var(--gd-palette-complementary-8, #464e56);
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
  .gd-label-top {
37
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
37
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
38
38
  font-weight: 400;
39
39
  line-height: 1.8rem;
40
40
  color: var(--gd-palette-complementary-7, #6d7680);
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .gd-label {
46
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
46
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
47
47
  font-weight: 400;
48
48
  line-height: 1.8rem;
49
49
  color: var(--gd-palette-complementary-7, #6d7680);
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .gd-label-small {
54
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
54
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
55
55
  font-weight: 400;
56
56
  line-height: 1.8rem;
57
57
  color: var(--gd-palette-complementary-7, #6d7680);
@@ -63,7 +63,7 @@
63
63
  }
64
64
  .gd-typography--h1 {
65
65
  color: var(--gd-palette-complementary-8, #464e56);
66
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
66
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
67
67
  font-weight: 400;
68
68
  font-weight: 700;
69
69
  line-height: 30px;
@@ -71,7 +71,7 @@
71
71
  }
72
72
  .gd-typography--h2 {
73
73
  color: var(--gd-palette-complementary-8, #464e56);
74
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
74
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
75
75
  font-weight: 400;
76
76
  font-weight: 700;
77
77
  line-height: 26px;
@@ -79,14 +79,14 @@
79
79
  }
80
80
  .gd-typography--h3 {
81
81
  color: var(--gd-palette-complementary-8, #464e56);
82
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
82
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
83
83
  font-weight: 400;
84
84
  font-weight: 700;
85
85
  line-height: 23px;
86
86
  font-size: 17px;
87
87
  }
88
88
  .gd-typography--p {
89
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
89
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
90
90
  font-weight: 400;
91
91
  line-height: 1.4rem;
92
92
  color: var(--gd-palette-complementary-8, #464e56);
@@ -245,7 +245,7 @@
245
245
  }
246
246
  .gd-fluid-layout-row-header .title {
247
247
  color: var(--gd-palette-complementary-8, #464e56);
248
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
248
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
249
249
  font-weight: 400;
250
250
  font-weight: 700;
251
251
  line-height: 26px;
@@ -443,7 +443,7 @@
443
443
  }
444
444
  .gd-grid-layout .gd-fluid-layout-row-header .gd-row-header-edit--nested .title {
445
445
  color: var(--gd-palette-complementary-8, #464e56);
446
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
446
+ font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
447
447
  font-weight: 400;
448
448
  font-weight: 700;
449
449
  line-height: 23px;