@gooddata/sdk-ui-kit 11.68.0-alpha.0 → 11.68.0-alpha.10

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 (137) hide show
  1. package/LICENSE +1 -1
  2. package/NOTICE +9899 -0
  3. package/esm/@ui/@types/icon.d.ts +1 -1
  4. package/esm/@ui/@types/icon.d.ts.map +1 -1
  5. package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -1
  6. package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js +2 -2
  7. package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts +1 -1
  8. package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts.map +1 -1
  9. package/esm/@ui/UiConfigEditor/UiConfigEditor.js +62 -25
  10. package/esm/@ui/UiConfigEditor/configEditorDiagnostics.d.ts +10 -0
  11. package/esm/@ui/UiConfigEditor/configEditorDiagnostics.d.ts.map +1 -0
  12. package/esm/@ui/UiConfigEditor/configEditorDiagnostics.js +65 -0
  13. package/esm/@ui/UiConfigEditor/configEditorYamlIndent.d.ts +8 -0
  14. package/esm/@ui/UiConfigEditor/configEditorYamlIndent.d.ts.map +1 -0
  15. package/esm/@ui/UiConfigEditor/configEditorYamlIndent.js +33 -0
  16. package/esm/@ui/UiConfigEditor/types.d.ts +9 -6
  17. package/esm/@ui/UiConfigEditor/types.d.ts.map +1 -1
  18. package/esm/@ui/UiDrawer/UiDrawer.d.ts.map +1 -1
  19. package/esm/@ui/UiDrawer/UiDrawer.js +14 -4
  20. package/esm/@ui/UiFocusManager/UiAutofocus.d.ts.map +1 -1
  21. package/esm/@ui/UiFocusManager/UiAutofocus.js +22 -2
  22. package/esm/@ui/UiFocusManager/UiModalOwner.d.ts +11 -0
  23. package/esm/@ui/UiFocusManager/UiModalOwner.d.ts.map +1 -0
  24. package/esm/@ui/UiFocusManager/UiModalOwner.js +18 -0
  25. package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
  26. package/esm/@ui/UiIcon/icons.js +2 -0
  27. package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.d.ts.map +1 -1
  28. package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.js +5 -3
  29. package/esm/@ui/UiListbox/itemTitle.d.ts +5 -0
  30. package/esm/@ui/UiListbox/itemTitle.d.ts.map +1 -0
  31. package/esm/@ui/UiListbox/itemTitle.js +4 -0
  32. package/esm/@ui/UiListbox/types.d.ts +4 -0
  33. package/esm/@ui/UiListbox/types.d.ts.map +1 -1
  34. package/esm/@ui/UiModalDialog/UiDialogHeader.d.ts +1 -9
  35. package/esm/@ui/UiModalDialog/UiDialogHeader.d.ts.map +1 -1
  36. package/esm/@ui/UiModalDialog/UiDialogHeader.js +5 -4
  37. package/esm/@ui/UiModalDialog/UiModalDialog.d.ts +16 -2
  38. package/esm/@ui/UiModalDialog/UiModalDialog.d.ts.map +1 -1
  39. package/esm/@ui/UiModalDialog/UiModalDialog.js +13 -5
  40. package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts +1 -0
  41. package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
  42. package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +7 -3
  43. package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts +14 -1
  44. package/esm/@ui/UiSearchableSelect/UiSearchableSelect.d.ts.map +1 -1
  45. package/esm/@ui/UiSearchableSelect/UiSearchableSelect.js +80 -38
  46. package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.d.ts +14 -2
  47. package/esm/@ui/UiSearchableSelect/UiSearchableSelectContext.d.ts.map +1 -1
  48. package/esm/@ui/UiSearchableSelect/UiSearchableSelectFooter.d.ts +13 -0
  49. package/esm/@ui/UiSearchableSelect/UiSearchableSelectFooter.d.ts.map +1 -0
  50. package/esm/@ui/UiSearchableSelect/UiSearchableSelectFooter.js +17 -0
  51. package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.d.ts +6 -0
  52. package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.d.ts.map +1 -1
  53. package/esm/@ui/UiSearchableSelect/UiSearchableSelectItem.js +2 -2
  54. package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.d.ts.map +1 -1
  55. package/esm/@ui/UiSearchableSelect/UiSearchableSelectList.js +9 -14
  56. package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.d.ts.map +1 -1
  57. package/esm/@ui/UiSearchableSelect/UiSearchableSelectSearch.js +8 -12
  58. package/esm/Bubble/Bubble.d.ts.map +1 -1
  59. package/esm/Bubble/Bubble.js +3 -2
  60. package/esm/ChartSorting/ChartSorting.d.ts.map +1 -1
  61. package/esm/ChartSorting/ChartSorting.js +2 -2
  62. package/esm/ColorPicker/ColorPicker.d.ts.map +1 -1
  63. package/esm/ColorPicker/ColorPicker.js +2 -2
  64. package/esm/DateDatasets/dateDatasets.d.ts.map +1 -1
  65. package/esm/DateDatasets/dateDatasets.js +3 -2
  66. package/esm/Datepicker/Datepicker.d.ts.map +1 -1
  67. package/esm/Datepicker/Datepicker.js +2 -2
  68. package/esm/DescriptionPanel/DescriptionPanel.d.ts.map +1 -1
  69. package/esm/DescriptionPanel/DescriptionPanel.js +2 -2
  70. package/esm/DescriptionPanel/MetadataList.d.ts.map +1 -1
  71. package/esm/DescriptionPanel/MetadataList.js +2 -3
  72. package/esm/Dialog/DialogBase.d.ts.map +1 -1
  73. package/esm/Dialog/DialogBase.js +6 -2
  74. package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/NumericInput.d.ts.map +1 -1
  75. package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/NumericInput.js +4 -4
  76. package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.d.ts.map +1 -1
  77. package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.js +2 -2
  78. package/esm/Dialog/ShareDialog/ShareDialogBase/types.d.ts.map +1 -1
  79. package/esm/Dialog/ShareDialog/ShareDialogBase/types.js +10 -10
  80. package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.d.ts.map +1 -1
  81. package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.js +3 -3
  82. package/esm/Dialog/ShareDialog/ShareDialogBase/utils.js +3 -3
  83. package/esm/DocumentHeader/DocumentHeader.js +3 -3
  84. package/esm/Dropdown/DropdownInvertableSelect.d.ts.map +1 -1
  85. package/esm/Dropdown/DropdownInvertableSelect.js +2 -2
  86. package/esm/Dropdown/DropdownList.d.ts +2 -1
  87. package/esm/Dropdown/DropdownList.d.ts.map +1 -1
  88. package/esm/Dropdown/DropdownList.js +2 -2
  89. package/esm/Form/InputWithNumberFormat.js +2 -2
  90. package/esm/Header/Header.d.ts.map +1 -1
  91. package/esm/Header/Header.js +5 -3
  92. package/esm/Header/HeaderHelp.d.ts.map +1 -1
  93. package/esm/Header/HeaderHelp.js +2 -2
  94. package/esm/Hyperlink/Hyperlink.d.ts.map +1 -1
  95. package/esm/Hyperlink/Hyperlink.js +3 -3
  96. package/esm/LoadingDots/LoadingDots.d.ts.map +1 -1
  97. package/esm/LoadingDots/LoadingDots.js +3 -3
  98. package/esm/Overlay/Overlay.d.ts.map +1 -1
  99. package/esm/Overlay/Overlay.js +19 -12
  100. package/esm/RecurrenceForm/utils/utils.d.ts.map +1 -1
  101. package/esm/RecurrenceForm/utils/utils.js +4 -3
  102. package/esm/ResponsiveText/ResponsiveText.js +2 -2
  103. package/esm/RichText/plugins/rehype-references.js +1 -1
  104. package/esm/Timezone/TimezoneSelect.d.ts +7 -0
  105. package/esm/Timezone/TimezoneSelect.d.ts.map +1 -1
  106. package/esm/Timezone/TimezoneSelect.js +9 -3
  107. package/esm/Timezone/timezones.d.ts +4 -0
  108. package/esm/Timezone/timezones.d.ts.map +1 -1
  109. package/esm/Timezone/timezones.js +11 -5
  110. package/esm/index.d.ts +5 -3
  111. package/esm/index.d.ts.map +1 -1
  112. package/esm/index.js +4 -2
  113. package/esm/sdk-ui-kit.d.ts +89 -39
  114. package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts +2 -0
  115. package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts.map +1 -1
  116. package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.js +6 -3
  117. package/esm/syntaxHighlightingInput/syntaxErrorLinter.d.ts +2 -2
  118. package/esm/syntaxHighlightingInput/syntaxErrorLinter.d.ts.map +1 -1
  119. package/esm/syntaxHighlightingInput/syntaxErrorLinter.js +10 -5
  120. package/package.json +13 -12
  121. package/src/@ui/UiListbox/UiListbox.scss +15 -2
  122. package/src/@ui/UiModalDialog/UiModalDialog.scss +49 -7
  123. package/src/@ui/UiResizableSidebar/UiResizableSidebarNavigation.scss +10 -0
  124. package/src/@ui/UiSearchableSelect/UiSearchableSelect.scss +44 -0
  125. package/src/@ui/UiToast/UiToast.scss +7 -0
  126. package/styles/css/avenirFontPatch.css +111 -0
  127. package/styles/css/avenirFontPatch.css.map +1 -0
  128. package/styles/css/main.css +211 -6
  129. package/styles/css/main.css.map +1 -1
  130. package/styles/css/richText.css +2 -1
  131. package/styles/css/richText.css.map +1 -1
  132. package/styles/scss/avenirFontPatch.scss +63 -0
  133. package/styles/scss/main.scss +2 -1
  134. package/styles/scss/richText.scss +2 -1
  135. package/esm/@ui/UiConfigEditor/configEditorWarnings.d.ts +0 -10
  136. package/esm/@ui/UiConfigEditor/configEditorWarnings.d.ts.map +0 -1
  137. package/esm/@ui/UiConfigEditor/configEditorWarnings.js +0 -42
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-kit",
3
- "version": "11.68.0-alpha.0",
3
+ "version": "11.68.0-alpha.10",
4
4
  "description": "GoodData SDK - UI Building Components",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -16,7 +16,8 @@
16
16
  "esm/**/*.map",
17
17
  "esm/**/*.svg",
18
18
  "src/**/*.scss",
19
- "styles"
19
+ "styles",
20
+ "NOTICE"
20
21
  ],
21
22
  "type": "module",
22
23
  "sideEffects": [
@@ -79,11 +80,11 @@
79
80
  "unified": "^11.0.5",
80
81
  "uuid": "11.1.1",
81
82
  "yaml": "2.9.1",
82
- "@gooddata/sdk-backend-spi": "11.68.0-alpha.0",
83
- "@gooddata/sdk-model": "11.68.0-alpha.0",
84
- "@gooddata/sdk-ui": "11.68.0-alpha.0",
85
- "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.0",
86
- "@gooddata/util": "11.68.0-alpha.0"
83
+ "@gooddata/sdk-backend-spi": "11.68.0-alpha.10",
84
+ "@gooddata/sdk-model": "11.68.0-alpha.10",
85
+ "@gooddata/sdk-ui": "11.68.0-alpha.10",
86
+ "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.10",
87
+ "@gooddata/util": "11.68.0-alpha.10"
87
88
  },
88
89
  "devDependencies": {
89
90
  "@microsoft/api-documenter": "7.30.20",
@@ -128,11 +129,11 @@
128
129
  "svgo": "2.8.4",
129
130
  "typescript": "7.0.2",
130
131
  "vitest": "5.0.4",
131
- "@gooddata/eslint-config": "11.68.0-alpha.0",
132
- "@gooddata/oxlint-config": "11.68.0-alpha.0",
133
- "@gooddata/reference-workspace": "11.68.0-alpha.0",
134
- "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.0",
135
- "@gooddata/stylelint-config": "11.68.0-alpha.0"
132
+ "@gooddata/eslint-config": "11.68.0-alpha.10",
133
+ "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.10",
134
+ "@gooddata/oxlint-config": "11.68.0-alpha.10",
135
+ "@gooddata/stylelint-config": "11.68.0-alpha.10",
136
+ "@gooddata/reference-workspace": "11.68.0-alpha.10"
136
137
  },
137
138
  "peerDependencies": {
138
139
  "react": "^18.0.0 || ^19.0.0",
@@ -44,7 +44,9 @@
44
44
  }
45
45
 
46
46
  &__item {
47
- padding: 8px 10px;
47
+ box-sizing: border-box;
48
+ min-height: 32px;
49
+ padding: var(--gd-spacing-5px) var(--gd-spacing-10px);
48
50
  cursor: pointer;
49
51
  display: flex;
50
52
  align-items: center;
@@ -85,9 +87,9 @@
85
87
  }
86
88
 
87
89
  &--isCompact {
90
+ min-height: 28px;
88
91
  font-size: 12px;
89
92
  line-height: 18px;
90
- padding: 5px 10px;
91
93
  }
92
94
  }
93
95
 
@@ -100,6 +102,17 @@
100
102
  white-space: nowrap;
101
103
  }
102
104
 
105
+ &__item-secondary {
106
+ font-weight: normal;
107
+ color: var(--gd-palette-complementary-6);
108
+ }
109
+
110
+ &__item--isSelected &__item-secondary,
111
+ &__item--isFocused &__item-secondary {
112
+ color: inherit;
113
+ opacity: 0.7;
114
+ }
115
+
103
116
  // wrapper around the question mark icon to center it vertically
104
117
  &__item-explanation {
105
118
  display: flex;
@@ -29,6 +29,37 @@
29
29
  box-shadow: 0 2px 8px var(--gd-shadow-color);
30
30
  overflow-wrap: break-word;
31
31
 
32
+ &--isFullscreen {
33
+ box-sizing: border-box;
34
+ width: 100vw; // Fallback
35
+ height: 100vh; // Fallback
36
+ width: 100dvw;
37
+ height: 100dvh;
38
+ max-width: none;
39
+ max-height: none;
40
+ padding: 0;
41
+ border-radius: 0;
42
+ box-shadow: none;
43
+
44
+ .gd-ui-kit-dialog-header {
45
+ box-sizing: border-box;
46
+ flex-shrink: 0;
47
+ height: 56px;
48
+ margin-bottom: 0;
49
+ padding: 0 var(--gd-spacing-15px);
50
+ border-bottom: 1px solid var(--gd-palette-complementary-3);
51
+ }
52
+
53
+ .gd-ui-kit-dialog-body {
54
+ padding: var(--gd-spacing-15px) var(--gd-spacing-15px) 0;
55
+ }
56
+
57
+ .gd-ui-kit-dialog-footer {
58
+ padding-right: var(--gd-spacing-15px);
59
+ padding-left: var(--gd-spacing-15px);
60
+ }
61
+ }
62
+
32
63
  &--variant-confirmation {
33
64
  box-sizing: border-box;
34
65
  border: 1px solid var(--gd-modal-borderColor);
@@ -58,15 +89,25 @@
58
89
  flex-shrink: 0;
59
90
  }
60
91
 
61
- // The close button's 32px hit area is taller than the title's 23px line box. Left to
62
- // stretch the row it would push the title down and the content below further away than
63
- // the design places them, so pull the extra back at both ends. The target size itself
64
- // is untouched: only the button's contribution to the row's height changes.
92
+ &--size-default {
93
+ --dialog-header-line-height: 23px;
94
+ --dialog-header-close-icon-size: 18px;
95
+ --dialog-header-close-button-size: var(--gd-button-M);
96
+ }
97
+
98
+ &--size-large {
99
+ --dialog-header-line-height: 26px;
100
+ --dialog-header-close-icon-size: 20px;
101
+ --dialog-header-close-button-size: var(--gd-button-L);
102
+ }
103
+
65
104
  &__close {
66
105
  display: inline-flex;
67
106
  align-items: center;
68
107
  flex-shrink: 0;
69
- margin-block: calc((23px - 32px) / 2);
108
+ margin: calc((var(--dialog-header-line-height) - var(--dialog-header-close-button-size)) / 2)
109
+ calc((var(--dialog-header-close-icon-size) - var(--dialog-header-close-button-size)) / 2)
110
+ calc((var(--dialog-header-line-height) - var(--dialog-header-close-button-size)) / 2) 0;
70
111
  }
71
112
 
72
113
  &__title {
@@ -74,6 +115,7 @@
74
115
  min-width: 0;
75
116
  margin: 0;
76
117
  font-weight: 700;
118
+ line-height: var(--dialog-header-line-height);
77
119
  color: var(--gd-palette-complementary-8);
78
120
  overflow: hidden;
79
121
  text-overflow: ellipsis;
@@ -81,12 +123,12 @@
81
123
 
82
124
  &--size-default {
83
125
  font-size: 17px;
84
- line-height: 23px;
85
126
  }
86
127
 
87
128
  &--size-large {
88
129
  font-size: 20px;
89
- line-height: 26px;
130
+ // Optical nudge
131
+ transform: translateY(1px);
90
132
  }
91
133
  }
92
134
  }
@@ -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"}