@gooddata/sdk-ui-kit 11.68.0-alpha.1 → 11.68.0-alpha.11
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 +9899 -0
- package/esm/@ui/@types/icon.d.ts +1 -1
- package/esm/@ui/@types/icon.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js +2 -2
- package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts +1 -1
- package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts.map +1 -1
- package/esm/@ui/UiConfigEditor/UiConfigEditor.js +62 -25
- package/esm/@ui/UiConfigEditor/configEditorDiagnostics.d.ts +10 -0
- package/esm/@ui/UiConfigEditor/configEditorDiagnostics.d.ts.map +1 -0
- package/esm/@ui/UiConfigEditor/configEditorDiagnostics.js +65 -0
- package/esm/@ui/UiConfigEditor/configEditorYamlIndent.d.ts +8 -0
- package/esm/@ui/UiConfigEditor/configEditorYamlIndent.d.ts.map +1 -0
- package/esm/@ui/UiConfigEditor/configEditorYamlIndent.js +33 -0
- package/esm/@ui/UiConfigEditor/types.d.ts +9 -6
- package/esm/@ui/UiConfigEditor/types.d.ts.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.d.ts.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.js +14 -4
- package/esm/@ui/UiFloatingElement/UiFloatingElement.d.ts.map +1 -1
- package/esm/@ui/UiFloatingElement/UiFloatingElement.js +1 -1
- package/esm/@ui/UiFocusManager/UiAutofocus.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiAutofocus.js +22 -2
- package/esm/@ui/UiFocusManager/UiModalOwner.d.ts +11 -0
- package/esm/@ui/UiFocusManager/UiModalOwner.d.ts.map +1 -0
- package/esm/@ui/UiFocusManager/UiModalOwner.js +18 -0
- package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +15 -0
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.d.ts.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.js +5 -3
- package/esm/@ui/UiListbox/itemTitle.d.ts +5 -0
- package/esm/@ui/UiListbox/itemTitle.d.ts.map +1 -0
- package/esm/@ui/UiListbox/itemTitle.js +4 -0
- package/esm/@ui/UiListbox/types.d.ts +4 -0
- package/esm/@ui/UiListbox/types.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiDialogHeader.d.ts +1 -9
- package/esm/@ui/UiModalDialog/UiDialogHeader.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiDialogHeader.js +5 -4
- package/esm/@ui/UiModalDialog/UiModalDialog.d.ts +16 -2
- package/esm/@ui/UiModalDialog/UiModalDialog.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiModalDialog.js +13 -5
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts +1 -0
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +7 -3
- package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts +14 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts.map +1 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelect.js +80 -38
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.d.ts +14 -2
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.d.ts.map +1 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectFooter.d.ts +13 -0
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectFooter.d.ts.map +1 -0
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectFooter.js +17 -0
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.d.ts +6 -0
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.d.ts.map +1 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.js +2 -2
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.d.ts.map +1 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.js +9 -14
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.d.ts.map +1 -1
- package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.js +8 -12
- package/esm/@ui/UiToolbarIconButton/UiToolbarIconButton.d.ts +5 -1
- package/esm/@ui/UiToolbarIconButton/UiToolbarIconButton.d.ts.map +1 -1
- package/esm/@ui/UiToolbarIconButton/UiToolbarIconButton.js +2 -2
- package/esm/@ui/UiToolbarSelect/UiToolbarSelect.d.ts +9 -0
- package/esm/@ui/UiToolbarSelect/UiToolbarSelect.d.ts.map +1 -1
- package/esm/@ui/UiToolbarSelect/UiToolbarSelect.js +4 -2
- package/esm/Bubble/Bubble.d.ts.map +1 -1
- package/esm/Bubble/Bubble.js +3 -2
- package/esm/ChartSorting/ChartSorting.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSorting.js +2 -2
- package/esm/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/esm/ColorPicker/ColorPicker.js +2 -2
- package/esm/DateDatasets/dateDatasets.d.ts.map +1 -1
- package/esm/DateDatasets/dateDatasets.js +3 -2
- package/esm/Datepicker/Datepicker.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.js +2 -2
- package/esm/DescriptionPanel/DescriptionPanel.d.ts.map +1 -1
- package/esm/DescriptionPanel/DescriptionPanel.js +2 -2
- package/esm/DescriptionPanel/MetadataList.d.ts.map +1 -1
- package/esm/DescriptionPanel/MetadataList.js +2 -3
- package/esm/Dialog/DialogBase.d.ts.map +1 -1
- package/esm/Dialog/DialogBase.js +6 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/NumericInput.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/NumericInput.js +4 -4
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.js +2 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/types.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/types.js +10 -10
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.js +3 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.js +3 -3
- package/esm/DocumentHeader/DocumentHeader.js +3 -3
- package/esm/Dropdown/DropdownInvertableSelect.d.ts.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.js +2 -2
- package/esm/Dropdown/DropdownList.d.ts +2 -1
- package/esm/Dropdown/DropdownList.d.ts.map +1 -1
- package/esm/Dropdown/DropdownList.js +2 -2
- package/esm/Form/InputWithNumberFormat.js +2 -2
- package/esm/Header/Header.d.ts.map +1 -1
- package/esm/Header/Header.js +5 -3
- package/esm/Header/HeaderHelp.d.ts.map +1 -1
- package/esm/Header/HeaderHelp.js +2 -2
- package/esm/Hyperlink/Hyperlink.d.ts.map +1 -1
- package/esm/Hyperlink/Hyperlink.js +3 -3
- package/esm/LoadingDots/LoadingDots.d.ts.map +1 -1
- package/esm/LoadingDots/LoadingDots.js +3 -3
- package/esm/Overlay/FullScreenOverlay.js +3 -3
- package/esm/Overlay/Overlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.js +19 -12
- package/esm/RecurrenceForm/utils/utils.d.ts.map +1 -1
- package/esm/RecurrenceForm/utils/utils.js +4 -3
- package/esm/ResponsiveText/ResponsiveText.js +2 -2
- package/esm/RichText/plugins/rehype-references.js +1 -1
- package/esm/Timezone/TimezoneSelect.d.ts +7 -0
- package/esm/Timezone/TimezoneSelect.d.ts.map +1 -1
- package/esm/Timezone/TimezoneSelect.js +9 -3
- package/esm/Timezone/timezones.d.ts +4 -0
- package/esm/Timezone/timezones.d.ts.map +1 -1
- package/esm/Timezone/timezones.js +11 -5
- package/esm/index.d.ts +5 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -2
- package/esm/sdk-ui-kit.d.ts +102 -40
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts +2 -0
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.js +6 -3
- package/esm/syntaxHighlightingInput/syntaxErrorLinter.d.ts +2 -2
- package/esm/syntaxHighlightingInput/syntaxErrorLinter.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/syntaxErrorLinter.js +10 -5
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/overlay.js +5 -4
- package/package.json +13 -12
- package/src/@ui/UiListbox/UiListbox.scss +15 -2
- package/src/@ui/UiModalDialog/UiModalDialog.scss +49 -7
- package/src/@ui/UiResizableSidebar/UiResizableSidebarNavigation.scss +10 -0
- package/src/@ui/UiSearchableSelect/UiSearchableSelect.scss +44 -0
- package/src/@ui/UiToast/UiToast.scss +7 -0
- package/src/@ui/UiToolbarSelect/UiToolbarSelect.scss +5 -0
- package/styles/css/avenirFontPatch.css +111 -0
- package/styles/css/avenirFontPatch.css.map +1 -0
- package/styles/css/main.css +215 -6
- package/styles/css/main.css.map +1 -1
- package/styles/css/richText.css +2 -1
- package/styles/css/richText.css.map +1 -1
- package/styles/scss/avenirFontPatch.scss +63 -0
- package/styles/scss/main.scss +2 -1
- package/styles/scss/richText.scss +2 -1
- package/esm/@ui/UiConfigEditor/configEditorWarnings.d.ts +0 -10
- package/esm/@ui/UiConfigEditor/configEditorWarnings.d.ts.map +0 -1
- package/esm/@ui/UiConfigEditor/configEditorWarnings.js +0 -42
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
|
|
3
|
+
@use "sass:math";
|
|
4
|
+
|
|
3
5
|
@use "../../../styles/scss/variables";
|
|
4
6
|
@use "../../../styles/scss/mixins";
|
|
5
7
|
|
|
@@ -9,6 +11,7 @@ $item-padding: 12px;
|
|
|
9
11
|
$icon-size: 18px;
|
|
10
12
|
$item-gap: 10px;
|
|
11
13
|
$action-required-size: 8px;
|
|
14
|
+
$chevron-size: 14px;
|
|
12
15
|
$flyover-width: 230px;
|
|
13
16
|
|
|
14
17
|
.gd-ui-kit-resizable-sidebar-navigation {
|
|
@@ -174,6 +177,7 @@ $flyover-width: 230px;
|
|
|
174
177
|
flex: 0 0 auto;
|
|
175
178
|
width: $action-required-size;
|
|
176
179
|
height: $action-required-size;
|
|
180
|
+
margin-right: math.div($chevron-size - $action-required-size, 2);
|
|
177
181
|
border-radius: 50%;
|
|
178
182
|
background-color: variables.$gd-palette-primary-base;
|
|
179
183
|
|
|
@@ -182,6 +186,12 @@ $flyover-width: 230px;
|
|
|
182
186
|
position: absolute;
|
|
183
187
|
top: 8px;
|
|
184
188
|
right: 10px;
|
|
189
|
+
margin-right: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// A flyover item has no chevron above its dot, so the dot keeps its place.
|
|
193
|
+
#{$root}__item--flyover & {
|
|
194
|
+
margin-right: 0;
|
|
185
195
|
}
|
|
186
196
|
}
|
|
187
197
|
|
|
@@ -99,8 +99,52 @@
|
|
|
99
99
|
margin-left: auto;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
&__footer {
|
|
103
|
+
padding: var(--gd-spacing-10px);
|
|
104
|
+
border-top: 1px solid var(--gd-palette-complementary-3);
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
line-height: 16px;
|
|
107
|
+
color: var(--gd-palette-complementary-6);
|
|
108
|
+
}
|
|
109
|
+
|
|
102
110
|
&__body {
|
|
103
111
|
padding: 4px 0;
|
|
112
|
+
|
|
113
|
+
&--isFullscreen {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
flex: 1 1 auto;
|
|
117
|
+
min-height: 0;
|
|
118
|
+
padding: var(--gd-spacing-15px) var(--gd-spacing-15px) 0;
|
|
119
|
+
|
|
120
|
+
.gd-ui-kit-searchable-select__search {
|
|
121
|
+
padding: 0 0 12px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.gd-ui-kit-listbox {
|
|
125
|
+
box-sizing: border-box;
|
|
126
|
+
flex: 0 1 auto;
|
|
127
|
+
width: auto;
|
|
128
|
+
max-height: none;
|
|
129
|
+
margin: 0 calc(-1 * var(--gd-spacing-15px));
|
|
130
|
+
padding: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.gd-ui-kit-listbox__item {
|
|
134
|
+
padding-right: var(--gd-spacing-15px);
|
|
135
|
+
padding-left: var(--gd-spacing-15px);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.gd-ui-kit-searchable-select__no-items {
|
|
139
|
+
font-size: 14px;
|
|
140
|
+
padding: 8px 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.gd-ui-kit-searchable-select__footer {
|
|
144
|
+
margin: auto calc(-1 * var(--gd-spacing-15px)) 0;
|
|
145
|
+
padding: var(--gd-spacing-10px) var(--gd-spacing-15px);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
104
148
|
}
|
|
105
149
|
|
|
106
150
|
&__search {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
|
|
3
|
+
@use "../../../styles/scss/variables";
|
|
4
|
+
|
|
3
5
|
// `UiToast` reuses the existing `--gd-toastMessage-{variant}-*` theme variables
|
|
4
6
|
// (registered in sdk-ui-theme-provider, defaulted in defaultTheme.scss) so it
|
|
5
7
|
// matches the look of the legacy `<Message>` overlay and any theme overrides
|
|
@@ -30,6 +32,11 @@
|
|
|
30
32
|
max-width: 620px;
|
|
31
33
|
width: 90%;
|
|
32
34
|
|
|
35
|
+
@media #{variables.$small-only} {
|
|
36
|
+
width: calc(100% - 2 * var(--gd-spacing-15px));
|
|
37
|
+
align-items: stretch;
|
|
38
|
+
}
|
|
39
|
+
|
|
33
40
|
&__item {
|
|
34
41
|
pointer-events: auto;
|
|
35
42
|
display: inline-flex;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fixes the incorrect weight mappings of the (local) Avenir font that ships with macOS and normalizes them
|
|
3
|
+
* across browsers.
|
|
4
|
+
*
|
|
5
|
+
* The problem this patch resolves:
|
|
6
|
+
* On macOS, the local "Avenir" font labels its weights incorrectly. As a result, Chrome and Safari render
|
|
7
|
+
* `font-weight: 700` as "Avenir Black" and `font-weight: 900` as "Avenir Heavy", so `font-weight: 700`
|
|
8
|
+
* renders _bolder_ text than `font-weight: 900`.
|
|
9
|
+
*
|
|
10
|
+
* (The Chrome / Safari rendering then also doesn't match the rendering in Figma.)
|
|
11
|
+
*
|
|
12
|
+
* Firefox ships its own patch for these font weights, but Chrome and Safari don't. See the following links
|
|
13
|
+
* for more information:
|
|
14
|
+
* - https://github.com/mozilla-firefox/firefox/blob/cf103b9362d64aa14c7adc0c0e4b9469ccbf6caa/modules/libpref/init/all.js#L2482-L2486
|
|
15
|
+
* - https://bugzilla.mozilla.org/show_bug.cgi?id=931426#c55
|
|
16
|
+
* - https://bugzilla.mozilla.org/show_bug.cgi?id=931426#c66
|
|
17
|
+
*
|
|
18
|
+
* The patch below normalizes the font-weight behavior across all browsers as follows:
|
|
19
|
+
*
|
|
20
|
+
* | font-weight | Chrome / Safari | Firefox | With this fix (all browsers) |
|
|
21
|
+
* | ----------- | --------------- | ------- | ---------------------------- |
|
|
22
|
+
* | 100 | Light | Book * | Light |
|
|
23
|
+
* | 200 | Light | Book * | Light |
|
|
24
|
+
* | 300 | Light * | Book | Book |
|
|
25
|
+
* | 400 | Book * | Roman | Roman |
|
|
26
|
+
* | 500 | Medium | Medium | Medium |
|
|
27
|
+
* | 600 | Black * | Heavy | Heavy |
|
|
28
|
+
* | 700 | Black * | Heavy | Heavy |
|
|
29
|
+
* | 800 | Black * | Heavy | Heavy |
|
|
30
|
+
* | 900 | Heavy * | Black | Black |
|
|
31
|
+
*
|
|
32
|
+
* Only the installed font is used (the `local()` function), so this is not subject to copyright.
|
|
33
|
+
*
|
|
34
|
+
* Note that the problem described above affects only macOS. Windows doesn't ship Avenir
|
|
35
|
+
* (https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list), so there the faces don't
|
|
36
|
+
* load and the font stack moves on to the next family, as without them.
|
|
37
|
+
*/
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: "Avenir";
|
|
40
|
+
src: local("Avenir Light"), local("Avenir-Light");
|
|
41
|
+
font-weight: 200;
|
|
42
|
+
font-style: normal;
|
|
43
|
+
}
|
|
44
|
+
@font-face {
|
|
45
|
+
font-family: "Avenir";
|
|
46
|
+
src: local("Avenir Light Oblique"), local("Avenir-LightOblique");
|
|
47
|
+
font-weight: 200;
|
|
48
|
+
font-style: italic;
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: "Avenir";
|
|
52
|
+
src: local("Avenir Book"), local("Avenir-Book");
|
|
53
|
+
font-weight: 300;
|
|
54
|
+
font-style: normal;
|
|
55
|
+
}
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: "Avenir";
|
|
58
|
+
src: local("Avenir Book Oblique"), local("Avenir-BookOblique");
|
|
59
|
+
font-weight: 300;
|
|
60
|
+
font-style: italic;
|
|
61
|
+
}
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: "Avenir";
|
|
64
|
+
src: local("Avenir Roman"), local("Avenir-Roman");
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-style: normal;
|
|
67
|
+
}
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: "Avenir";
|
|
70
|
+
src: local("Avenir Oblique"), local("Avenir-Oblique");
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
font-style: italic;
|
|
73
|
+
}
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "Avenir";
|
|
76
|
+
src: local("Avenir Medium"), local("Avenir-Medium");
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
font-style: normal;
|
|
79
|
+
}
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: "Avenir";
|
|
82
|
+
src: local("Avenir Medium Oblique"), local("Avenir-MediumOblique");
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
font-style: italic;
|
|
85
|
+
}
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: "Avenir";
|
|
88
|
+
src: local("Avenir Heavy"), local("Avenir-Heavy");
|
|
89
|
+
font-weight: 800;
|
|
90
|
+
font-style: normal;
|
|
91
|
+
}
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "Avenir";
|
|
94
|
+
src: local("Avenir Heavy Oblique"), local("Avenir-HeavyOblique");
|
|
95
|
+
font-weight: 800;
|
|
96
|
+
font-style: italic;
|
|
97
|
+
}
|
|
98
|
+
@font-face {
|
|
99
|
+
font-family: "Avenir";
|
|
100
|
+
src: local("Avenir Black"), local("Avenir-Black");
|
|
101
|
+
font-weight: 900;
|
|
102
|
+
font-style: normal;
|
|
103
|
+
}
|
|
104
|
+
@font-face {
|
|
105
|
+
font-family: "Avenir";
|
|
106
|
+
src: local("Avenir Black Oblique"), local("Avenir-BlackOblique");
|
|
107
|
+
font-weight: 900;
|
|
108
|
+
font-style: italic;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/*# sourceMappingURL=avenirFontPatch.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/avenirFontPatch.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsDI;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA;;AAiBJ;EACI;EACA;EACA,aApBA;EAqBA,YArBA","file":"avenirFontPatch.css"}
|
package/styles/css/main.css
CHANGED
|
@@ -1958,7 +1958,9 @@
|
|
|
1958
1958
|
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
|
1959
1959
|
}
|
|
1960
1960
|
.gd-ui-kit-listbox__item {
|
|
1961
|
-
|
|
1961
|
+
box-sizing: border-box;
|
|
1962
|
+
min-height: 32px;
|
|
1963
|
+
padding: var(--gd-spacing-5px) var(--gd-spacing-10px);
|
|
1962
1964
|
cursor: pointer;
|
|
1963
1965
|
display: flex;
|
|
1964
1966
|
align-items: center;
|
|
@@ -1989,9 +1991,9 @@
|
|
|
1989
1991
|
cursor: not-allowed;
|
|
1990
1992
|
}
|
|
1991
1993
|
.gd-ui-kit-listbox__item--isCompact {
|
|
1994
|
+
min-height: 28px;
|
|
1992
1995
|
font-size: 12px;
|
|
1993
1996
|
line-height: 18px;
|
|
1994
|
-
padding: 5px 10px;
|
|
1995
1997
|
}
|
|
1996
1998
|
.gd-ui-kit-listbox__item-title {
|
|
1997
1999
|
display: block;
|
|
@@ -2001,6 +2003,14 @@
|
|
|
2001
2003
|
text-overflow: ellipsis;
|
|
2002
2004
|
white-space: nowrap;
|
|
2003
2005
|
}
|
|
2006
|
+
.gd-ui-kit-listbox__item-secondary {
|
|
2007
|
+
font-weight: normal;
|
|
2008
|
+
color: var(--gd-palette-complementary-6);
|
|
2009
|
+
}
|
|
2010
|
+
.gd-ui-kit-listbox__item--isSelected .gd-ui-kit-listbox__item-secondary, .gd-ui-kit-listbox__item--isFocused .gd-ui-kit-listbox__item-secondary {
|
|
2011
|
+
color: inherit;
|
|
2012
|
+
opacity: 0.7;
|
|
2013
|
+
}
|
|
2004
2014
|
.gd-ui-kit-listbox__item-explanation {
|
|
2005
2015
|
display: flex;
|
|
2006
2016
|
align-items: center;
|
|
@@ -3992,9 +4002,46 @@
|
|
|
3992
4002
|
flex-shrink: 0;
|
|
3993
4003
|
margin-left: auto;
|
|
3994
4004
|
}
|
|
4005
|
+
.gd-ui-kit-searchable-select__footer {
|
|
4006
|
+
padding: var(--gd-spacing-10px);
|
|
4007
|
+
border-top: 1px solid var(--gd-palette-complementary-3);
|
|
4008
|
+
font-size: 12px;
|
|
4009
|
+
line-height: 16px;
|
|
4010
|
+
color: var(--gd-palette-complementary-6);
|
|
4011
|
+
}
|
|
3995
4012
|
.gd-ui-kit-searchable-select__body {
|
|
3996
4013
|
padding: 4px 0;
|
|
3997
4014
|
}
|
|
4015
|
+
.gd-ui-kit-searchable-select__body--isFullscreen {
|
|
4016
|
+
display: flex;
|
|
4017
|
+
flex-direction: column;
|
|
4018
|
+
flex: 1 1 auto;
|
|
4019
|
+
min-height: 0;
|
|
4020
|
+
padding: var(--gd-spacing-15px) var(--gd-spacing-15px) 0;
|
|
4021
|
+
}
|
|
4022
|
+
.gd-ui-kit-searchable-select__body--isFullscreen .gd-ui-kit-searchable-select__search {
|
|
4023
|
+
padding: 0 0 12px;
|
|
4024
|
+
}
|
|
4025
|
+
.gd-ui-kit-searchable-select__body--isFullscreen .gd-ui-kit-listbox {
|
|
4026
|
+
box-sizing: border-box;
|
|
4027
|
+
flex: 0 1 auto;
|
|
4028
|
+
width: auto;
|
|
4029
|
+
max-height: none;
|
|
4030
|
+
margin: 0 calc(-1 * var(--gd-spacing-15px));
|
|
4031
|
+
padding: 0;
|
|
4032
|
+
}
|
|
4033
|
+
.gd-ui-kit-searchable-select__body--isFullscreen .gd-ui-kit-listbox__item {
|
|
4034
|
+
padding-right: var(--gd-spacing-15px);
|
|
4035
|
+
padding-left: var(--gd-spacing-15px);
|
|
4036
|
+
}
|
|
4037
|
+
.gd-ui-kit-searchable-select__body--isFullscreen .gd-ui-kit-searchable-select__no-items {
|
|
4038
|
+
font-size: 14px;
|
|
4039
|
+
padding: 8px 0;
|
|
4040
|
+
}
|
|
4041
|
+
.gd-ui-kit-searchable-select__body--isFullscreen .gd-ui-kit-searchable-select__footer {
|
|
4042
|
+
margin: auto calc(-1 * var(--gd-spacing-15px)) 0;
|
|
4043
|
+
padding: var(--gd-spacing-10px) var(--gd-spacing-15px);
|
|
4044
|
+
}
|
|
3998
4045
|
.gd-ui-kit-searchable-select__search {
|
|
3999
4046
|
padding: 10px;
|
|
4000
4047
|
}
|
|
@@ -4308,6 +4355,33 @@
|
|
|
4308
4355
|
box-shadow: 0 2px 8px var(--gd-shadow-color);
|
|
4309
4356
|
overflow-wrap: break-word;
|
|
4310
4357
|
}
|
|
4358
|
+
.gd-ui-kit-modal-dialog__card--isFullscreen {
|
|
4359
|
+
box-sizing: border-box;
|
|
4360
|
+
width: 100vw;
|
|
4361
|
+
height: 100vh;
|
|
4362
|
+
width: 100dvw;
|
|
4363
|
+
height: 100dvh;
|
|
4364
|
+
max-width: none;
|
|
4365
|
+
max-height: none;
|
|
4366
|
+
padding: 0;
|
|
4367
|
+
border-radius: 0;
|
|
4368
|
+
box-shadow: none;
|
|
4369
|
+
}
|
|
4370
|
+
.gd-ui-kit-modal-dialog__card--isFullscreen .gd-ui-kit-dialog-header {
|
|
4371
|
+
box-sizing: border-box;
|
|
4372
|
+
flex-shrink: 0;
|
|
4373
|
+
height: 56px;
|
|
4374
|
+
margin-bottom: 0;
|
|
4375
|
+
padding: 0 var(--gd-spacing-15px);
|
|
4376
|
+
border-bottom: 1px solid var(--gd-palette-complementary-3);
|
|
4377
|
+
}
|
|
4378
|
+
.gd-ui-kit-modal-dialog__card--isFullscreen .gd-ui-kit-dialog-body {
|
|
4379
|
+
padding: var(--gd-spacing-15px) var(--gd-spacing-15px) 0;
|
|
4380
|
+
}
|
|
4381
|
+
.gd-ui-kit-modal-dialog__card--isFullscreen .gd-ui-kit-dialog-footer {
|
|
4382
|
+
padding-right: var(--gd-spacing-15px);
|
|
4383
|
+
padding-left: var(--gd-spacing-15px);
|
|
4384
|
+
}
|
|
4311
4385
|
.gd-ui-kit-modal-dialog__card--variant-confirmation {
|
|
4312
4386
|
box-sizing: border-box;
|
|
4313
4387
|
border: 1px solid var(--gd-modal-borderColor);
|
|
@@ -4330,17 +4404,28 @@
|
|
|
4330
4404
|
align-items: center;
|
|
4331
4405
|
flex-shrink: 0;
|
|
4332
4406
|
}
|
|
4407
|
+
.gd-ui-kit-dialog-header--size-default {
|
|
4408
|
+
--dialog-header-line-height: 23px;
|
|
4409
|
+
--dialog-header-close-icon-size: 18px;
|
|
4410
|
+
--dialog-header-close-button-size: var(--gd-button-M);
|
|
4411
|
+
}
|
|
4412
|
+
.gd-ui-kit-dialog-header--size-large {
|
|
4413
|
+
--dialog-header-line-height: 26px;
|
|
4414
|
+
--dialog-header-close-icon-size: 20px;
|
|
4415
|
+
--dialog-header-close-button-size: var(--gd-button-L);
|
|
4416
|
+
}
|
|
4333
4417
|
.gd-ui-kit-dialog-header__close {
|
|
4334
4418
|
display: inline-flex;
|
|
4335
4419
|
align-items: center;
|
|
4336
4420
|
flex-shrink: 0;
|
|
4337
|
-
margin
|
|
4421
|
+
margin: calc((var(--dialog-header-line-height) - var(--dialog-header-close-button-size)) / 2) calc((var(--dialog-header-close-icon-size) - var(--dialog-header-close-button-size)) / 2) calc((var(--dialog-header-line-height) - var(--dialog-header-close-button-size)) / 2) 0;
|
|
4338
4422
|
}
|
|
4339
4423
|
.gd-ui-kit-dialog-header__title {
|
|
4340
4424
|
flex: 1 1 auto;
|
|
4341
4425
|
min-width: 0;
|
|
4342
4426
|
margin: 0;
|
|
4343
4427
|
font-weight: 700;
|
|
4428
|
+
line-height: var(--dialog-header-line-height);
|
|
4344
4429
|
color: var(--gd-palette-complementary-8);
|
|
4345
4430
|
overflow: hidden;
|
|
4346
4431
|
text-overflow: ellipsis;
|
|
@@ -4348,11 +4433,10 @@
|
|
|
4348
4433
|
}
|
|
4349
4434
|
.gd-ui-kit-dialog-header__title--size-default {
|
|
4350
4435
|
font-size: 17px;
|
|
4351
|
-
line-height: 23px;
|
|
4352
4436
|
}
|
|
4353
4437
|
.gd-ui-kit-dialog-header__title--size-large {
|
|
4354
4438
|
font-size: 20px;
|
|
4355
|
-
|
|
4439
|
+
transform: translateY(1px);
|
|
4356
4440
|
}
|
|
4357
4441
|
|
|
4358
4442
|
.gd-ui-kit-dialog-body {
|
|
@@ -4635,6 +4719,12 @@
|
|
|
4635
4719
|
max-width: 620px;
|
|
4636
4720
|
width: 90%;
|
|
4637
4721
|
}
|
|
4722
|
+
@media only screen and (max-width: 640px) {
|
|
4723
|
+
.gd-ui-kit-toast {
|
|
4724
|
+
width: calc(100% - 2 * var(--gd-spacing-15px));
|
|
4725
|
+
align-items: stretch;
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4638
4728
|
.gd-ui-kit-toast__item {
|
|
4639
4729
|
pointer-events: auto;
|
|
4640
4730
|
display: inline-flex;
|
|
@@ -5219,6 +5309,10 @@
|
|
|
5219
5309
|
.gd-ui-kit-toolbar-select--width-fixed {
|
|
5220
5310
|
width: 240px;
|
|
5221
5311
|
}
|
|
5312
|
+
.gd-ui-kit-toolbar-select__icon {
|
|
5313
|
+
display: flex;
|
|
5314
|
+
flex-shrink: 0;
|
|
5315
|
+
}
|
|
5222
5316
|
.gd-ui-kit-toolbar-select__label {
|
|
5223
5317
|
flex: 1 1 auto;
|
|
5224
5318
|
min-width: 0;
|
|
@@ -5708,6 +5802,7 @@
|
|
|
5708
5802
|
flex: 0 0 auto;
|
|
5709
5803
|
width: 8px;
|
|
5710
5804
|
height: 8px;
|
|
5805
|
+
margin-right: 3px;
|
|
5711
5806
|
border-radius: 50%;
|
|
5712
5807
|
background-color: var(--gd-palette-primary-base, #14b2e2);
|
|
5713
5808
|
}
|
|
@@ -5715,6 +5810,10 @@
|
|
|
5715
5810
|
position: absolute;
|
|
5716
5811
|
top: 8px;
|
|
5717
5812
|
right: 10px;
|
|
5813
|
+
margin-right: 0;
|
|
5814
|
+
}
|
|
5815
|
+
.gd-ui-kit-resizable-sidebar-navigation__item--flyover .gd-ui-kit-resizable-sidebar-navigation__action-required {
|
|
5816
|
+
margin-right: 0;
|
|
5718
5817
|
}
|
|
5719
5818
|
.gd-ui-kit-resizable-sidebar-navigation__chevron {
|
|
5720
5819
|
display: flex;
|
|
@@ -5844,6 +5943,115 @@
|
|
|
5844
5943
|
font-size: 14px;
|
|
5845
5944
|
}
|
|
5846
5945
|
|
|
5946
|
+
/**
|
|
5947
|
+
* Fixes the incorrect weight mappings of the (local) Avenir font that ships with macOS and normalizes them
|
|
5948
|
+
* across browsers.
|
|
5949
|
+
*
|
|
5950
|
+
* The problem this patch resolves:
|
|
5951
|
+
* On macOS, the local "Avenir" font labels its weights incorrectly. As a result, Chrome and Safari render
|
|
5952
|
+
* `font-weight: 700` as "Avenir Black" and `font-weight: 900` as "Avenir Heavy", so `font-weight: 700`
|
|
5953
|
+
* renders _bolder_ text than `font-weight: 900`.
|
|
5954
|
+
*
|
|
5955
|
+
* (The Chrome / Safari rendering then also doesn't match the rendering in Figma.)
|
|
5956
|
+
*
|
|
5957
|
+
* Firefox ships its own patch for these font weights, but Chrome and Safari don't. See the following links
|
|
5958
|
+
* for more information:
|
|
5959
|
+
* - https://github.com/mozilla-firefox/firefox/blob/cf103b9362d64aa14c7adc0c0e4b9469ccbf6caa/modules/libpref/init/all.js#L2482-L2486
|
|
5960
|
+
* - https://bugzilla.mozilla.org/show_bug.cgi?id=931426#c55
|
|
5961
|
+
* - https://bugzilla.mozilla.org/show_bug.cgi?id=931426#c66
|
|
5962
|
+
*
|
|
5963
|
+
* The patch below normalizes the font-weight behavior across all browsers as follows:
|
|
5964
|
+
*
|
|
5965
|
+
* | font-weight | Chrome / Safari | Firefox | With this fix (all browsers) |
|
|
5966
|
+
* | ----------- | --------------- | ------- | ---------------------------- |
|
|
5967
|
+
* | 100 | Light | Book * | Light |
|
|
5968
|
+
* | 200 | Light | Book * | Light |
|
|
5969
|
+
* | 300 | Light * | Book | Book |
|
|
5970
|
+
* | 400 | Book * | Roman | Roman |
|
|
5971
|
+
* | 500 | Medium | Medium | Medium |
|
|
5972
|
+
* | 600 | Black * | Heavy | Heavy |
|
|
5973
|
+
* | 700 | Black * | Heavy | Heavy |
|
|
5974
|
+
* | 800 | Black * | Heavy | Heavy |
|
|
5975
|
+
* | 900 | Heavy * | Black | Black |
|
|
5976
|
+
*
|
|
5977
|
+
* Only the installed font is used (the `local()` function), so this is not subject to copyright.
|
|
5978
|
+
*
|
|
5979
|
+
* Note that the problem described above affects only macOS. Windows doesn't ship Avenir
|
|
5980
|
+
* (https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list), so there the faces don't
|
|
5981
|
+
* load and the font stack moves on to the next family, as without them.
|
|
5982
|
+
*/
|
|
5983
|
+
@font-face {
|
|
5984
|
+
font-family: "Avenir";
|
|
5985
|
+
src: local("Avenir Light"), local("Avenir-Light");
|
|
5986
|
+
font-weight: 200;
|
|
5987
|
+
font-style: normal;
|
|
5988
|
+
}
|
|
5989
|
+
@font-face {
|
|
5990
|
+
font-family: "Avenir";
|
|
5991
|
+
src: local("Avenir Light Oblique"), local("Avenir-LightOblique");
|
|
5992
|
+
font-weight: 200;
|
|
5993
|
+
font-style: italic;
|
|
5994
|
+
}
|
|
5995
|
+
@font-face {
|
|
5996
|
+
font-family: "Avenir";
|
|
5997
|
+
src: local("Avenir Book"), local("Avenir-Book");
|
|
5998
|
+
font-weight: 300;
|
|
5999
|
+
font-style: normal;
|
|
6000
|
+
}
|
|
6001
|
+
@font-face {
|
|
6002
|
+
font-family: "Avenir";
|
|
6003
|
+
src: local("Avenir Book Oblique"), local("Avenir-BookOblique");
|
|
6004
|
+
font-weight: 300;
|
|
6005
|
+
font-style: italic;
|
|
6006
|
+
}
|
|
6007
|
+
@font-face {
|
|
6008
|
+
font-family: "Avenir";
|
|
6009
|
+
src: local("Avenir Roman"), local("Avenir-Roman");
|
|
6010
|
+
font-weight: 400;
|
|
6011
|
+
font-style: normal;
|
|
6012
|
+
}
|
|
6013
|
+
@font-face {
|
|
6014
|
+
font-family: "Avenir";
|
|
6015
|
+
src: local("Avenir Oblique"), local("Avenir-Oblique");
|
|
6016
|
+
font-weight: 400;
|
|
6017
|
+
font-style: italic;
|
|
6018
|
+
}
|
|
6019
|
+
@font-face {
|
|
6020
|
+
font-family: "Avenir";
|
|
6021
|
+
src: local("Avenir Medium"), local("Avenir-Medium");
|
|
6022
|
+
font-weight: 500;
|
|
6023
|
+
font-style: normal;
|
|
6024
|
+
}
|
|
6025
|
+
@font-face {
|
|
6026
|
+
font-family: "Avenir";
|
|
6027
|
+
src: local("Avenir Medium Oblique"), local("Avenir-MediumOblique");
|
|
6028
|
+
font-weight: 500;
|
|
6029
|
+
font-style: italic;
|
|
6030
|
+
}
|
|
6031
|
+
@font-face {
|
|
6032
|
+
font-family: "Avenir";
|
|
6033
|
+
src: local("Avenir Heavy"), local("Avenir-Heavy");
|
|
6034
|
+
font-weight: 800;
|
|
6035
|
+
font-style: normal;
|
|
6036
|
+
}
|
|
6037
|
+
@font-face {
|
|
6038
|
+
font-family: "Avenir";
|
|
6039
|
+
src: local("Avenir Heavy Oblique"), local("Avenir-HeavyOblique");
|
|
6040
|
+
font-weight: 800;
|
|
6041
|
+
font-style: italic;
|
|
6042
|
+
}
|
|
6043
|
+
@font-face {
|
|
6044
|
+
font-family: "Avenir";
|
|
6045
|
+
src: local("Avenir Black"), local("Avenir-Black");
|
|
6046
|
+
font-weight: 900;
|
|
6047
|
+
font-style: normal;
|
|
6048
|
+
}
|
|
6049
|
+
@font-face {
|
|
6050
|
+
font-family: "Avenir";
|
|
6051
|
+
src: local("Avenir Black Oblique"), local("Avenir-BlackOblique");
|
|
6052
|
+
font-weight: 900;
|
|
6053
|
+
font-style: italic;
|
|
6054
|
+
}
|
|
5847
6055
|
@font-face {
|
|
5848
6056
|
font-family: "Indigo";
|
|
5849
6057
|
src: url("@gooddata/sdk-ui-kit/styles/fonts/Indigo-v2.woff2") format("woff2"), url("@gooddata/sdk-ui-kit/styles/fonts/Indigo-v2.woff") format("woff");
|
|
@@ -15077,7 +15285,8 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
15077
15285
|
color: var(--gd-palette-complementary-8, #464e56);
|
|
15078
15286
|
}
|
|
15079
15287
|
.gd-rich-text-content .gd-rich-text-metric-error,
|
|
15080
|
-
.gd-rich-text-content .gd-rich-text-metric-multiple
|
|
15288
|
+
.gd-rich-text-content .gd-rich-text-metric-multiple,
|
|
15289
|
+
.gd-rich-text-content .gd-rich-text-parameter-error {
|
|
15081
15290
|
color: var(--gd-palette-error-base, #e54d42);
|
|
15082
15291
|
}
|
|
15083
15292
|
.gd-rich-text-content .gd-rich-text-metric-restricted {
|