@gitlab/ui 105.2.0 → 105.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "105.2.0",
3
+ "version": "105.3.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -168,37 +168,6 @@
168
168
  }
169
169
  }
170
170
 
171
- /**
172
- * Defines default properties for heading typography based on font-size
173
- * scale value and default or fixed sizing.
174
- *
175
- * Note: overrides Bootstrap margin-top, other margin is determined by
176
- * individual context
177
- *
178
- * @param $size Number font-size scale
179
- * @param $fixed Boolean toggle default and fixed font size scales
180
- */
181
- @mixin gl-heading-scale($size, $fixed: false) {
182
- font-weight: $gl-font-weight-heading;
183
- margin-top: 0; // override bootstrap reset in GitLab
184
- font-size: get-font-size-variable($size, $fixed);
185
- @apply gl-text-heading;
186
-
187
- // Larger headings have reduced letter spacing
188
- @if ($size <= 500) {
189
- letter-spacing: $gl-letter-spacing-heading;
190
- } @else {
191
- letter-spacing: $gl-letter-spacing-heading-reduced;
192
- }
193
-
194
- // Display heading has different line height
195
- @if ($size == 800) {
196
- line-height: $gl-line-height-heading-display;
197
- } @else {
198
- line-height: $gl-line-height-heading;
199
- }
200
- }
201
-
202
171
  @mixin gl-action-neutral-colors {
203
172
  color: var(--gl-action-neutral-foreground-color-default);
204
173
  background-color: var(--gl-action-neutral-background-color-default);
@@ -229,6 +229,14 @@ function addCustomDefinitions({ addComponents, addUtilities }) {
229
229
  'margin-bottom': '1.5rem',
230
230
  color: 'var(--gl-text-color-heading)',
231
231
  },
232
+ /**
233
+ * gl-heading-scale classes define default properties for heading typography
234
+ * based on font-size scale value and default or fixed sizing.
235
+ *
236
+ * Note: overrides Bootstrap margin-top, other margin is determined by
237
+ * individual context. Larger headings have reduced letter spacing.
238
+ * Display heading (800) has different line height.
239
+ */
232
240
  '.heading-scale-100': {
233
241
  'font-weight': '600',
234
242
  'margin-top': '0',