@gooddata/sdk-ui-kit 10.23.0-alpha.9 → 10.23.0

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.
Files changed (96) hide show
  1. package/esm/Bubble/Bubble.d.ts +1 -0
  2. package/esm/Bubble/Bubble.d.ts.map +1 -1
  3. package/esm/Bubble/Bubble.js +3 -3
  4. package/esm/Bubble/Bubble.js.map +1 -1
  5. package/esm/Button/Button.d.ts.map +1 -1
  6. package/esm/Button/Button.js +2 -1
  7. package/esm/Button/Button.js.map +1 -1
  8. package/esm/DescriptionPanel/DescriptionPanel.d.ts +4 -0
  9. package/esm/DescriptionPanel/DescriptionPanel.d.ts.map +1 -1
  10. package/esm/DescriptionPanel/DescriptionPanel.js +10 -5
  11. package/esm/DescriptionPanel/DescriptionPanel.js.map +1 -1
  12. package/esm/Dropdown/Dropdown.d.ts.map +1 -1
  13. package/esm/Dropdown/Dropdown.js +1 -1
  14. package/esm/Dropdown/Dropdown.js.map +1 -1
  15. package/esm/Form/InputPure.d.ts.map +1 -1
  16. package/esm/Form/InputPure.js +1 -1
  17. package/esm/Form/InputPure.js.map +1 -1
  18. package/esm/Header/HeaderHelp.d.ts.map +1 -1
  19. package/esm/Header/HeaderHelp.js +3 -3
  20. package/esm/Header/HeaderHelp.js.map +1 -1
  21. package/esm/Header/HeaderSearchButton.d.ts.map +1 -1
  22. package/esm/Header/HeaderSearchButton.js +1 -1
  23. package/esm/Header/HeaderSearchButton.js.map +1 -1
  24. package/esm/List/InsightListItem.d.ts +5 -0
  25. package/esm/List/InsightListItem.d.ts.map +1 -1
  26. package/esm/List/InsightListItem.js +3 -3
  27. package/esm/List/InsightListItem.js.map +1 -1
  28. package/esm/Overlay/Overlay.d.ts +3 -0
  29. package/esm/Overlay/Overlay.d.ts.map +1 -1
  30. package/esm/Overlay/Overlay.js +95 -11
  31. package/esm/Overlay/Overlay.js.map +1 -1
  32. package/esm/Overlay/ZoomAwareOverlay.d.ts +10 -0
  33. package/esm/Overlay/ZoomAwareOverlay.d.ts.map +1 -0
  34. package/esm/Overlay/ZoomAwareOverlay.js +15 -0
  35. package/esm/Overlay/ZoomAwareOverlay.js.map +1 -0
  36. package/esm/Overlay/index.d.ts +1 -0
  37. package/esm/Overlay/index.d.ts.map +1 -1
  38. package/esm/Overlay/index.js +2 -1
  39. package/esm/Overlay/index.js.map +1 -1
  40. package/esm/Overlay/typings.d.ts +4 -2
  41. package/esm/Overlay/typings.d.ts.map +1 -1
  42. package/esm/RichText/RichText.d.ts +16 -0
  43. package/esm/RichText/RichText.d.ts.map +1 -1
  44. package/esm/RichText/RichText.js +27 -8
  45. package/esm/RichText/RichText.js.map +1 -1
  46. package/esm/RichText/RichTextWithTooltip.d.ts.map +1 -1
  47. package/esm/RichText/RichTextWithTooltip.js +18 -3
  48. package/esm/RichText/RichTextWithTooltip.js.map +1 -1
  49. package/esm/RichText/helpers/references.d.ts +11 -0
  50. package/esm/RichText/helpers/references.d.ts.map +1 -0
  51. package/esm/RichText/helpers/references.js +45 -0
  52. package/esm/RichText/helpers/references.js.map +1 -0
  53. package/esm/RichText/hooks/useEvaluatedMetrics.d.ts +15 -0
  54. package/esm/RichText/hooks/useEvaluatedMetrics.d.ts.map +1 -0
  55. package/esm/RichText/hooks/useEvaluatedMetrics.js +54 -0
  56. package/esm/RichText/hooks/useEvaluatedMetrics.js.map +1 -0
  57. package/esm/RichText/hooks/useEvaluatedReferences.d.ts +8 -0
  58. package/esm/RichText/hooks/useEvaluatedReferences.d.ts.map +1 -0
  59. package/esm/RichText/hooks/useEvaluatedReferences.js +16 -0
  60. package/esm/RichText/hooks/useEvaluatedReferences.js.map +1 -0
  61. package/esm/RichText/plugins/rehype-references.d.ts +5 -0
  62. package/esm/RichText/plugins/rehype-references.d.ts.map +1 -0
  63. package/esm/RichText/plugins/rehype-references.js +137 -0
  64. package/esm/RichText/plugins/rehype-references.js.map +1 -0
  65. package/esm/RichText/plugins/remark-references.d.ts +3 -0
  66. package/esm/RichText/plugins/remark-references.d.ts.map +1 -0
  67. package/esm/RichText/plugins/remark-references.js +48 -0
  68. package/esm/RichText/plugins/remark-references.js.map +1 -0
  69. package/esm/RichText/plugins/types.d.ts +14 -0
  70. package/esm/RichText/plugins/types.d.ts.map +1 -0
  71. package/esm/RichText/plugins/types.js +4 -0
  72. package/esm/RichText/plugins/types.js.map +1 -0
  73. package/esm/ZoomContext/ZoomContext.d.ts +58 -0
  74. package/esm/ZoomContext/ZoomContext.d.ts.map +1 -0
  75. package/esm/ZoomContext/ZoomContext.js +97 -0
  76. package/esm/ZoomContext/ZoomContext.js.map +1 -0
  77. package/esm/ZoomContext/index.d.ts +2 -0
  78. package/esm/ZoomContext/index.d.ts.map +1 -0
  79. package/esm/ZoomContext/index.js +3 -0
  80. package/esm/ZoomContext/index.js.map +1 -0
  81. package/esm/index.d.ts +1 -0
  82. package/esm/index.d.ts.map +1 -1
  83. package/esm/index.js +1 -0
  84. package/esm/index.js.map +1 -1
  85. package/esm/sdk-ui-kit.d.ts +105 -2
  86. package/esm/typings/overlay.d.ts +2 -0
  87. package/esm/typings/overlay.d.ts.map +1 -1
  88. package/package.json +11 -8
  89. package/styles/css/descriptionPanel.css +8 -0
  90. package/styles/css/descriptionPanel.css.map +1 -1
  91. package/styles/css/main.css +27 -2
  92. package/styles/css/main.css.map +1 -1
  93. package/styles/css/richText.css +19 -2
  94. package/styles/css/richText.css.map +1 -1
  95. package/styles/scss/descriptionPanel.scss +11 -1
  96. package/styles/scss/richText.scss +17 -2
@@ -26,20 +26,37 @@
26
26
  .gd-rich-text-content textarea::placeholder {
27
27
  color: var(--gd-palette-complementary-6, #94a1ad);
28
28
  }
29
+ .gd-rich-text-content .gd-rich-text-metric-value {
30
+ font-weight: bold;
31
+ }
32
+ .gd-rich-text-content .gd-rich-text-metric-empty {
33
+ color: var(--gd-palette-complementary-8, #464e56);
34
+ }
35
+ .gd-rich-text-content .gd-rich-text-metric-error {
36
+ color: var(--gd-palette-error-base, #e54d42);
37
+ }
29
38
 
30
39
  .gd-rich-text-content-view * {
31
40
  margin-top: 0;
32
41
  color: var(--gd-palette-complementary-7, #6d7680);
33
42
  }
34
- .gd-rich-text-content-view a {
43
+ .gd-rich-text-content-view a,
44
+ .gd-rich-text-content-view a * {
35
45
  cursor: pointer;
36
46
  color: var(--gd-palette-primary-base, #14b2e2);
37
47
  text-decoration: underline;
38
48
  }
39
- .gd-rich-text-content-view a:hover, .gd-rich-text-content-view a:focus, .gd-rich-text-content-view a:active {
49
+ .gd-rich-text-content-view a:hover, .gd-rich-text-content-view a:focus, .gd-rich-text-content-view a:active,
50
+ .gd-rich-text-content-view a *:hover,
51
+ .gd-rich-text-content-view a *:focus,
52
+ .gd-rich-text-content-view a *:active {
40
53
  color: var(--gd-palette-complementary-8, #464e56);
41
54
  text-decoration: underline;
42
55
  }
56
+ .gd-rich-text-content-view a:hover,
57
+ .gd-rich-text-content-view a:hover * {
58
+ color: var(--gd-palette-complementary-8, #464e56);
59
+ }
43
60
  .gd-rich-text-content-view h1,
44
61
  .gd-rich-text-content-view h2,
45
62
  .gd-rich-text-content-view h3,
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../scss/Dialog/_variables.scss","../scss/mixins.scss","../scss/richText.scss","../scss/variables.scss"],"names":[],"mappings":"AAIA;AAAA;AAAA;ACsHA;AA4DA;AChLA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA,kBCES;EDDT;EACA;EACA;EACA,aC2KuB;ED1KvB;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAOR;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AD4HJ;ECzHQ,OCfI;EDgBJ;;AAIR;AAAA;AAAA;AAAA;AAAA;AAAA;EAMI,OC1BQ;ED2BR;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;AAAA;AAAA;AAAA;EAII;EACA;EACA;;AAGJ;AAAA;AAAA;EAGI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;;;AAMJ;EACI,OClEkB;EDmElB;EACA;;AAEA;EACI,OClFI;;ADsFZ;EACI;EACA","file":"richText.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../scss/Dialog/_variables.scss","../scss/mixins.scss","../scss/richText.scss","../scss/variables.scss"],"names":[],"mappings":"AAIA;AAAA;AAAA;ACsHA;AA4DA;AChLA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA,kBCES;EDDT;EACA;EACA;EACA,aC2KuB;ED1KvB;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAIR;EACI;;AAEJ;EACI,OCLQ;;ADOZ;EACI,OCoBgB;;;ADdpB;EACI;EACA;;AAGJ;AAAA;EAEI;EACA,OCXkB;EDYlB;;ADiHJ;AAAA;AAAA;AAAA;EC9GQ,OC1BI;ED2BJ;;AAGR;AAAA;EAEI,OChCQ;;ADmCZ;AAAA;AAAA;AAAA;AAAA;AAAA;EAMI,OCzCQ;ED0CR;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;AAAA;AAAA;AAAA;EAII;EACA;EACA;;AAGJ;AAAA;AAAA;EAGI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;;;AAMJ;EACI,OCjFkB;EDkFlB;EACA;;AAEA;EACI,OCjGI;;ADqGZ;EACI;EACA","file":"richText.css"}
@@ -1,4 +1,4 @@
1
- // (C) 2020 GoodData Corporation
1
+ // (C) 2020-2025 GoodData Corporation
2
2
  @use "variables";
3
3
 
4
4
  .gd-description-panel-bubble {
@@ -64,6 +64,16 @@
64
64
  }
65
65
  }
66
66
 
67
+ .truncated {
68
+ .gd-description-panel-bubble,
69
+ .bubble-content,
70
+ .content,
71
+ .gd-description-panel.zoomed {
72
+ height: 100%;
73
+ max-height: 100%;
74
+ }
75
+ }
76
+
67
77
  .gd-ellipsis-text {
68
78
  display: flex;
69
79
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- // (C) 2024 GoodData Corporation
1
+ // (C) 2024-2025 GoodData Corporation
2
2
 
3
3
  @use "Dialog/variables" as dialog-variables;
4
4
  @use "mixins" as mx;
@@ -28,6 +28,16 @@
28
28
  color: var(--gd-palette-complementary-6, #94a1ad);
29
29
  }
30
30
  }
31
+
32
+ .gd-rich-text-metric-value {
33
+ font-weight: bold;
34
+ }
35
+ .gd-rich-text-metric-empty {
36
+ color: variables.$gd-color-text;
37
+ }
38
+ .gd-rich-text-metric-error {
39
+ color: variables.$gd-palette-error-base;
40
+ }
31
41
  }
32
42
 
33
43
  .gd-rich-text-content-view {
@@ -37,7 +47,8 @@
37
47
  color: var(--gd-palette-complementary-7, #6d7680);
38
48
  }
39
49
 
40
- a {
50
+ a,
51
+ a * {
41
52
  cursor: pointer;
42
53
  color: variables.$gd-palette-primary-base;
43
54
  text-decoration: underline;
@@ -47,6 +58,10 @@
47
58
  text-decoration: underline;
48
59
  }
49
60
  }
61
+ a:hover,
62
+ a:hover * {
63
+ color: variables.$gd-color-text;
64
+ }
50
65
 
51
66
  h1,
52
67
  h2,