@gitlab/ui 88.5.0 → 88.6.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 (30) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/base/form/form_checkbox_tree/models/tree.js +1 -0
  3. package/dist/components/charts/series_label/series_label.js +1 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index.css.map +1 -1
  6. package/dist/tokens/build/js/tokens.dark.js +13 -7
  7. package/dist/tokens/build/js/tokens.js +13 -7
  8. package/dist/tokens/css/tokens.css +12 -6
  9. package/dist/tokens/css/tokens.dark.css +12 -6
  10. package/dist/tokens/js/tokens.dark.js +12 -6
  11. package/dist/tokens/js/tokens.js +12 -6
  12. package/dist/tokens/json/tokens.dark.json +160 -30
  13. package/dist/tokens/json/tokens.json +160 -30
  14. package/dist/tokens/scss/_tokens.dark.scss +12 -6
  15. package/dist/tokens/scss/_tokens.scss +12 -6
  16. package/dist/tokens/scss/_tokens_custom_properties.scss +6 -0
  17. package/package.json +1 -1
  18. package/src/components/base/avatar/avatar.scss +8 -0
  19. package/src/components/base/form/form_checkbox_tree/models/tree.js +1 -0
  20. package/src/components/charts/series_label/series_label.vue +1 -0
  21. package/src/tokens/build/css/tokens.css +12 -6
  22. package/src/tokens/build/css/tokens.dark.css +12 -6
  23. package/src/tokens/build/js/tokens.dark.js +12 -6
  24. package/src/tokens/build/js/tokens.js +12 -6
  25. package/src/tokens/build/json/tokens.dark.json +160 -30
  26. package/src/tokens/build/json/tokens.json +160 -30
  27. package/src/tokens/build/scss/_tokens.dark.scss +12 -6
  28. package/src/tokens/build/scss/_tokens.scss +12 -6
  29. package/src/tokens/build/scss/_tokens_custom_properties.scss +6 -0
  30. package/src/tokens/contextual/avatar.tokens.json +52 -18
@@ -5452,20 +5452,165 @@
5452
5452
  }
5453
5453
  },
5454
5454
  "fallback": {
5455
- "background": {
5455
+ "text": {
5456
5456
  "color": {
5457
5457
  "red": {
5458
- "value": "#4d0a00",
5458
+ "value": "#fcb5aa",
5459
5459
  "$type": "color",
5460
- "comment": "Red background for avatar fallback with no particular meaning.",
5460
+ "comment": "Red text color for avatar fallback with no particular meaning.",
5461
5461
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5462
5462
  "isSource": true,
5463
5463
  "original": {
5464
5464
  "value": {
5465
- "default": "{color.red.50}",
5466
- "dark": "{color.red.950}"
5465
+ "default": "{color.red.800}",
5466
+ "dark": "{color.red.200}"
5467
5467
  },
5468
5468
  "$type": "color",
5469
+ "comment": "Red text color for avatar fallback with no particular meaning."
5470
+ },
5471
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_RED",
5472
+ "attributes": {},
5473
+ "path": [
5474
+ "avatar",
5475
+ "fallback",
5476
+ "text",
5477
+ "color",
5478
+ "red"
5479
+ ]
5480
+ },
5481
+ "purple": {
5482
+ "value": "#cbbbf2",
5483
+ "$type": "color",
5484
+ "comment": "Purple text color for avatar fallback with no particular meaning.",
5485
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5486
+ "isSource": true,
5487
+ "original": {
5488
+ "value": {
5489
+ "default": "{color.purple.800}",
5490
+ "dark": "{color.purple.200}"
5491
+ },
5492
+ "$type": "color",
5493
+ "comment": "Purple text color for avatar fallback with no particular meaning."
5494
+ },
5495
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_PURPLE",
5496
+ "attributes": {},
5497
+ "path": [
5498
+ "avatar",
5499
+ "fallback",
5500
+ "text",
5501
+ "color",
5502
+ "purple"
5503
+ ]
5504
+ },
5505
+ "blue": {
5506
+ "value": "#9dc7f1",
5507
+ "$type": "color",
5508
+ "comment": "Blue text color for avatar fallback with no particular meaning.",
5509
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5510
+ "isSource": true,
5511
+ "original": {
5512
+ "value": {
5513
+ "default": "{color.blue.800}",
5514
+ "dark": "{color.blue.200}"
5515
+ },
5516
+ "$type": "color",
5517
+ "comment": "Blue text color for avatar fallback with no particular meaning."
5518
+ },
5519
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_BLUE",
5520
+ "attributes": {},
5521
+ "path": [
5522
+ "avatar",
5523
+ "fallback",
5524
+ "text",
5525
+ "color",
5526
+ "blue"
5527
+ ]
5528
+ },
5529
+ "green": {
5530
+ "value": "#91d4a8",
5531
+ "$type": "color",
5532
+ "comment": "Green text color for avatar fallback with no particular meaning.",
5533
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5534
+ "isSource": true,
5535
+ "original": {
5536
+ "value": {
5537
+ "default": "{color.green.800}",
5538
+ "dark": "{color.green.200}"
5539
+ },
5540
+ "$type": "color",
5541
+ "comment": "Green text color for avatar fallback with no particular meaning."
5542
+ },
5543
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_GREEN",
5544
+ "attributes": {},
5545
+ "path": [
5546
+ "avatar",
5547
+ "fallback",
5548
+ "text",
5549
+ "color",
5550
+ "green"
5551
+ ]
5552
+ },
5553
+ "orange": {
5554
+ "value": "#e9be74",
5555
+ "$type": "color",
5556
+ "comment": "Orange text color for avatar fallback with no particular meaning.",
5557
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5558
+ "isSource": true,
5559
+ "original": {
5560
+ "value": {
5561
+ "default": "{color.orange.800}",
5562
+ "dark": "{color.orange.200}"
5563
+ },
5564
+ "$type": "color",
5565
+ "comment": "Orange text color for avatar fallback with no particular meaning."
5566
+ },
5567
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_ORANGE",
5568
+ "attributes": {},
5569
+ "path": [
5570
+ "avatar",
5571
+ "fallback",
5572
+ "text",
5573
+ "color",
5574
+ "orange"
5575
+ ]
5576
+ },
5577
+ "neutral": {
5578
+ "value": "#bfbfc3",
5579
+ "$type": "color",
5580
+ "comment": "Neutral text color for avatar fallback with no particular meaning.",
5581
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5582
+ "isSource": true,
5583
+ "original": {
5584
+ "value": {
5585
+ "default": "{color.neutral.800}",
5586
+ "dark": "{color.neutral.200}"
5587
+ },
5588
+ "$type": "color",
5589
+ "comment": "Neutral text color for avatar fallback with no particular meaning."
5590
+ },
5591
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_NEUTRAL",
5592
+ "attributes": {},
5593
+ "path": [
5594
+ "avatar",
5595
+ "fallback",
5596
+ "text",
5597
+ "color",
5598
+ "neutral"
5599
+ ]
5600
+ }
5601
+ }
5602
+ },
5603
+ "background": {
5604
+ "color": {
5605
+ "red": {
5606
+ "value": "#fcb5aa3d",
5607
+ "$type": "color",
5608
+ "comment": "Red background for avatar fallback with no particular meaning.",
5609
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5610
+ "isSource": true,
5611
+ "original": {
5612
+ "value": "#fcb5aa3d",
5613
+ "$type": "color",
5469
5614
  "comment": "Red background for avatar fallback with no particular meaning."
5470
5615
  },
5471
5616
  "name": "AVATAR_FALLBACK_BACKGROUND_COLOR_RED",
@@ -5479,16 +5624,13 @@
5479
5624
  ]
5480
5625
  },
5481
5626
  "purple": {
5482
- "value": "#232150",
5627
+ "value": "#cbbbf23d",
5483
5628
  "$type": "color",
5484
5629
  "comment": "Purple background for avatar fallback with no particular meaning.",
5485
5630
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5486
5631
  "isSource": true,
5487
5632
  "original": {
5488
- "value": {
5489
- "default": "{color.purple.50}",
5490
- "dark": "{color.purple.950}"
5491
- },
5633
+ "value": "#cbbbf23d",
5492
5634
  "$type": "color",
5493
5635
  "comment": "Purple background for avatar fallback with no particular meaning."
5494
5636
  },
@@ -5503,16 +5645,13 @@
5503
5645
  ]
5504
5646
  },
5505
5647
  "blue": {
5506
- "value": "#002850",
5648
+ "value": "#9dc7f13d",
5507
5649
  "$type": "color",
5508
5650
  "comment": "Blue background for avatar fallback with no particular meaning.",
5509
5651
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5510
5652
  "isSource": true,
5511
5653
  "original": {
5512
- "value": {
5513
- "default": "{color.blue.50}",
5514
- "dark": "{color.blue.950}"
5515
- },
5654
+ "value": "#9dc7f13d",
5516
5655
  "$type": "color",
5517
5656
  "comment": "Blue background for avatar fallback with no particular meaning."
5518
5657
  },
@@ -5527,16 +5666,13 @@
5527
5666
  ]
5528
5667
  },
5529
5668
  "green": {
5530
- "value": "#072b15",
5669
+ "value": "#91d4a83d",
5531
5670
  "$type": "color",
5532
5671
  "comment": "Green background for avatar fallback with no particular meaning.",
5533
5672
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5534
5673
  "isSource": true,
5535
5674
  "original": {
5536
- "value": {
5537
- "default": "{color.green.50}",
5538
- "dark": "{color.green.950}"
5539
- },
5675
+ "value": "#91d4a83d",
5540
5676
  "$type": "color",
5541
5677
  "comment": "Green background for avatar fallback with no particular meaning."
5542
5678
  },
@@ -5551,16 +5687,13 @@
5551
5687
  ]
5552
5688
  },
5553
5689
  "orange": {
5554
- "value": "#421f00",
5690
+ "value": "#e9be743d",
5555
5691
  "$type": "color",
5556
5692
  "comment": "Orange background for avatar fallback with no particular meaning.",
5557
5693
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5558
5694
  "isSource": true,
5559
5695
  "original": {
5560
- "value": {
5561
- "default": "{color.orange.50}",
5562
- "dark": "{color.orange.950}"
5563
- },
5696
+ "value": "#e9be743d",
5564
5697
  "$type": "color",
5565
5698
  "comment": "Orange background for avatar fallback with no particular meaning."
5566
5699
  },
@@ -5575,16 +5708,13 @@
5575
5708
  ]
5576
5709
  },
5577
5710
  "neutral": {
5578
- "value": "#28272d",
5711
+ "value": "#bfbfc33d",
5579
5712
  "$type": "color",
5580
5713
  "comment": "Neutral background for avatar fallback with no particular meaning.",
5581
5714
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5582
5715
  "isSource": true,
5583
5716
  "original": {
5584
- "value": {
5585
- "default": "{color.neutral.50}",
5586
- "dark": "{color.neutral.900}"
5587
- },
5717
+ "value": "#bfbfc33d",
5588
5718
  "$type": "color",
5589
5719
  "comment": "Neutral background for avatar fallback with no particular meaning."
5590
5720
  },
@@ -5452,20 +5452,165 @@
5452
5452
  }
5453
5453
  },
5454
5454
  "fallback": {
5455
- "background": {
5455
+ "text": {
5456
5456
  "color": {
5457
5457
  "red": {
5458
- "value": "#fcf1ef",
5458
+ "value": "#8d1300",
5459
5459
  "$type": "color",
5460
- "comment": "Red background for avatar fallback with no particular meaning.",
5460
+ "comment": "Red text color for avatar fallback with no particular meaning.",
5461
5461
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5462
5462
  "isSource": true,
5463
5463
  "original": {
5464
5464
  "value": {
5465
- "default": "{color.red.50}",
5466
- "dark": "{color.red.950}"
5465
+ "default": "{color.red.800}",
5466
+ "dark": "{color.red.200}"
5467
5467
  },
5468
5468
  "$type": "color",
5469
+ "comment": "Red text color for avatar fallback with no particular meaning."
5470
+ },
5471
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_RED",
5472
+ "attributes": {},
5473
+ "path": [
5474
+ "avatar",
5475
+ "fallback",
5476
+ "text",
5477
+ "color",
5478
+ "red"
5479
+ ]
5480
+ },
5481
+ "purple": {
5482
+ "value": "#453894",
5483
+ "$type": "color",
5484
+ "comment": "Purple text color for avatar fallback with no particular meaning.",
5485
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5486
+ "isSource": true,
5487
+ "original": {
5488
+ "value": {
5489
+ "default": "{color.purple.800}",
5490
+ "dark": "{color.purple.200}"
5491
+ },
5492
+ "$type": "color",
5493
+ "comment": "Purple text color for avatar fallback with no particular meaning."
5494
+ },
5495
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_PURPLE",
5496
+ "attributes": {},
5497
+ "path": [
5498
+ "avatar",
5499
+ "fallback",
5500
+ "text",
5501
+ "color",
5502
+ "purple"
5503
+ ]
5504
+ },
5505
+ "blue": {
5506
+ "value": "#064787",
5507
+ "$type": "color",
5508
+ "comment": "Blue text color for avatar fallback with no particular meaning.",
5509
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5510
+ "isSource": true,
5511
+ "original": {
5512
+ "value": {
5513
+ "default": "{color.blue.800}",
5514
+ "dark": "{color.blue.200}"
5515
+ },
5516
+ "$type": "color",
5517
+ "comment": "Blue text color for avatar fallback with no particular meaning."
5518
+ },
5519
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_BLUE",
5520
+ "attributes": {},
5521
+ "path": [
5522
+ "avatar",
5523
+ "fallback",
5524
+ "text",
5525
+ "color",
5526
+ "blue"
5527
+ ]
5528
+ },
5529
+ "green": {
5530
+ "value": "#0d532a",
5531
+ "$type": "color",
5532
+ "comment": "Green text color for avatar fallback with no particular meaning.",
5533
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5534
+ "isSource": true,
5535
+ "original": {
5536
+ "value": {
5537
+ "default": "{color.green.800}",
5538
+ "dark": "{color.green.200}"
5539
+ },
5540
+ "$type": "color",
5541
+ "comment": "Green text color for avatar fallback with no particular meaning."
5542
+ },
5543
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_GREEN",
5544
+ "attributes": {},
5545
+ "path": [
5546
+ "avatar",
5547
+ "fallback",
5548
+ "text",
5549
+ "color",
5550
+ "green"
5551
+ ]
5552
+ },
5553
+ "orange": {
5554
+ "value": "#703800",
5555
+ "$type": "color",
5556
+ "comment": "Orange text color for avatar fallback with no particular meaning.",
5557
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5558
+ "isSource": true,
5559
+ "original": {
5560
+ "value": {
5561
+ "default": "{color.orange.800}",
5562
+ "dark": "{color.orange.200}"
5563
+ },
5564
+ "$type": "color",
5565
+ "comment": "Orange text color for avatar fallback with no particular meaning."
5566
+ },
5567
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_ORANGE",
5568
+ "attributes": {},
5569
+ "path": [
5570
+ "avatar",
5571
+ "fallback",
5572
+ "text",
5573
+ "color",
5574
+ "orange"
5575
+ ]
5576
+ },
5577
+ "neutral": {
5578
+ "value": "#3a383f",
5579
+ "$type": "color",
5580
+ "comment": "Neutral text color for avatar fallback with no particular meaning.",
5581
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5582
+ "isSource": true,
5583
+ "original": {
5584
+ "value": {
5585
+ "default": "{color.neutral.800}",
5586
+ "dark": "{color.neutral.200}"
5587
+ },
5588
+ "$type": "color",
5589
+ "comment": "Neutral text color for avatar fallback with no particular meaning."
5590
+ },
5591
+ "name": "AVATAR_FALLBACK_TEXT_COLOR_NEUTRAL",
5592
+ "attributes": {},
5593
+ "path": [
5594
+ "avatar",
5595
+ "fallback",
5596
+ "text",
5597
+ "color",
5598
+ "neutral"
5599
+ ]
5600
+ }
5601
+ }
5602
+ },
5603
+ "background": {
5604
+ "color": {
5605
+ "red": {
5606
+ "value": "#fcb5aa3d",
5607
+ "$type": "color",
5608
+ "comment": "Red background for avatar fallback with no particular meaning.",
5609
+ "filePath": "src/tokens/contextual/avatar.tokens.json",
5610
+ "isSource": true,
5611
+ "original": {
5612
+ "value": "#fcb5aa3d",
5613
+ "$type": "color",
5469
5614
  "comment": "Red background for avatar fallback with no particular meaning."
5470
5615
  },
5471
5616
  "name": "AVATAR_FALLBACK_BACKGROUND_COLOR_RED",
@@ -5479,16 +5624,13 @@
5479
5624
  ]
5480
5625
  },
5481
5626
  "purple": {
5482
- "value": "#f4f0ff",
5627
+ "value": "#cbbbf23d",
5483
5628
  "$type": "color",
5484
5629
  "comment": "Purple background for avatar fallback with no particular meaning.",
5485
5630
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5486
5631
  "isSource": true,
5487
5632
  "original": {
5488
- "value": {
5489
- "default": "{color.purple.50}",
5490
- "dark": "{color.purple.950}"
5491
- },
5633
+ "value": "#cbbbf23d",
5492
5634
  "$type": "color",
5493
5635
  "comment": "Purple background for avatar fallback with no particular meaning."
5494
5636
  },
@@ -5503,16 +5645,13 @@
5503
5645
  ]
5504
5646
  },
5505
5647
  "blue": {
5506
- "value": "#e9f3fc",
5648
+ "value": "#9dc7f13d",
5507
5649
  "$type": "color",
5508
5650
  "comment": "Blue background for avatar fallback with no particular meaning.",
5509
5651
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5510
5652
  "isSource": true,
5511
5653
  "original": {
5512
- "value": {
5513
- "default": "{color.blue.50}",
5514
- "dark": "{color.blue.950}"
5515
- },
5654
+ "value": "#9dc7f13d",
5516
5655
  "$type": "color",
5517
5656
  "comment": "Blue background for avatar fallback with no particular meaning."
5518
5657
  },
@@ -5527,16 +5666,13 @@
5527
5666
  ]
5528
5667
  },
5529
5668
  "green": {
5530
- "value": "#ecf4ee",
5669
+ "value": "#91d4a83d",
5531
5670
  "$type": "color",
5532
5671
  "comment": "Green background for avatar fallback with no particular meaning.",
5533
5672
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5534
5673
  "isSource": true,
5535
5674
  "original": {
5536
- "value": {
5537
- "default": "{color.green.50}",
5538
- "dark": "{color.green.950}"
5539
- },
5675
+ "value": "#91d4a83d",
5540
5676
  "$type": "color",
5541
5677
  "comment": "Green background for avatar fallback with no particular meaning."
5542
5678
  },
@@ -5551,16 +5687,13 @@
5551
5687
  ]
5552
5688
  },
5553
5689
  "orange": {
5554
- "value": "#fdf1dd",
5690
+ "value": "#e9be743d",
5555
5691
  "$type": "color",
5556
5692
  "comment": "Orange background for avatar fallback with no particular meaning.",
5557
5693
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5558
5694
  "isSource": true,
5559
5695
  "original": {
5560
- "value": {
5561
- "default": "{color.orange.50}",
5562
- "dark": "{color.orange.950}"
5563
- },
5696
+ "value": "#e9be743d",
5564
5697
  "$type": "color",
5565
5698
  "comment": "Orange background for avatar fallback with no particular meaning."
5566
5699
  },
@@ -5575,16 +5708,13 @@
5575
5708
  ]
5576
5709
  },
5577
5710
  "neutral": {
5578
- "value": "#ececef",
5711
+ "value": "#bfbfc33d",
5579
5712
  "$type": "color",
5580
5713
  "comment": "Neutral background for avatar fallback with no particular meaning.",
5581
5714
  "filePath": "src/tokens/contextual/avatar.tokens.json",
5582
5715
  "isSource": true,
5583
5716
  "original": {
5584
- "value": {
5585
- "default": "{color.neutral.50}",
5586
- "dark": "{color.neutral.900}"
5587
- },
5717
+ "value": "#bfbfc33d",
5588
5718
  "$type": "color",
5589
5719
  "comment": "Neutral background for avatar fallback with no particular meaning."
5590
5720
  },
@@ -180,6 +180,12 @@ $theme-indigo-200: #41419f !default;
180
180
  $theme-indigo-100: #303083 !default;
181
181
  $theme-indigo-50: #222261 !default;
182
182
  $theme-indigo-10: #14143d !default;
183
+ $gl-avatar-fallback-background-color-neutral: #bfbfc33d; // Neutral background for avatar fallback with no particular meaning.
184
+ $gl-avatar-fallback-background-color-orange: #e9be743d; // Orange background for avatar fallback with no particular meaning.
185
+ $gl-avatar-fallback-background-color-green: #91d4a83d; // Green background for avatar fallback with no particular meaning.
186
+ $gl-avatar-fallback-background-color-blue: #9dc7f13d; // Blue background for avatar fallback with no particular meaning.
187
+ $gl-avatar-fallback-background-color-purple: #cbbbf23d; // Purple background for avatar fallback with no particular meaning.
188
+ $gl-avatar-fallback-background-color-red: #fcb5aa3d; // Red background for avatar fallback with no particular meaning.
183
189
  $data-viz-orange-950: #fae8d1 !default;
184
190
  $data-viz-orange-900: #f5d6b3 !default;
185
191
  $data-viz-orange-800: #eebd8c !default;
@@ -649,12 +655,12 @@ $gl-badge-muted-border-color-hover: $gl-color-neutral-700; // Used for the borde
649
655
  $gl-badge-muted-border-color-default: $gl-color-alpha-0; // Used for the border of a muted badge when static or the default state when linked.
650
656
  $gl-badge-muted-background-color-active: $gl-color-neutral-800; // Used for the background of a muted badge in the active state.
651
657
  $gl-badge-muted-background-color-default: $gl-color-neutral-900; // Used for the background of a muted badge when static or the default state when linked.
652
- $gl-avatar-fallback-background-color-neutral: $gl-color-neutral-900; // Neutral background for avatar fallback with no particular meaning.
653
- $gl-avatar-fallback-background-color-orange: $gl-color-orange-950; // Orange background for avatar fallback with no particular meaning.
654
- $gl-avatar-fallback-background-color-green: $gl-color-green-950; // Green background for avatar fallback with no particular meaning.
655
- $gl-avatar-fallback-background-color-blue: $gl-color-blue-950; // Blue background for avatar fallback with no particular meaning.
656
- $gl-avatar-fallback-background-color-purple: $gl-color-purple-950; // Purple background for avatar fallback with no particular meaning.
657
- $gl-avatar-fallback-background-color-red: $gl-color-red-950; // Red background for avatar fallback with no particular meaning.
658
+ $gl-avatar-fallback-text-color-neutral: $gl-color-neutral-200; // Neutral text color for avatar fallback with no particular meaning.
659
+ $gl-avatar-fallback-text-color-orange: $gl-color-orange-200; // Orange text color for avatar fallback with no particular meaning.
660
+ $gl-avatar-fallback-text-color-green: $gl-color-green-200; // Green text color for avatar fallback with no particular meaning.
661
+ $gl-avatar-fallback-text-color-blue: $gl-color-blue-200; // Blue text color for avatar fallback with no particular meaning.
662
+ $gl-avatar-fallback-text-color-purple: $gl-color-purple-200; // Purple text color for avatar fallback with no particular meaning.
663
+ $gl-avatar-fallback-text-color-red: $gl-color-red-200; // Red text color for avatar fallback with no particular meaning.
658
664
  $gl-avatar-border-color-hover: $gl-color-alpha-light-24; // Used to increase the edge definition of an avatar in the hover state.
659
665
  $gl-avatar-border-color-default: $gl-color-alpha-light-8; // Used to define the edge of an avatar.
660
666
  $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
@@ -180,6 +180,12 @@ $theme-indigo-200: #c7c7f2 !default;
180
180
  $theme-indigo-100: #dbdbf8 !default;
181
181
  $theme-indigo-50: #f1f1ff !default;
182
182
  $theme-indigo-10: #f8f8ff !default;
183
+ $gl-avatar-fallback-background-color-neutral: #bfbfc33d; // Neutral background for avatar fallback with no particular meaning.
184
+ $gl-avatar-fallback-background-color-orange: #e9be743d; // Orange background for avatar fallback with no particular meaning.
185
+ $gl-avatar-fallback-background-color-green: #91d4a83d; // Green background for avatar fallback with no particular meaning.
186
+ $gl-avatar-fallback-background-color-blue: #9dc7f13d; // Blue background for avatar fallback with no particular meaning.
187
+ $gl-avatar-fallback-background-color-purple: #cbbbf23d; // Purple background for avatar fallback with no particular meaning.
188
+ $gl-avatar-fallback-background-color-red: #fcb5aa3d; // Red background for avatar fallback with no particular meaning.
183
189
  $data-viz-orange-950: #4b2707 !default;
184
190
  $data-viz-orange-900: #5e2f05 !default;
185
191
  $data-viz-orange-800: #6f3500 !default;
@@ -649,12 +655,12 @@ $gl-badge-muted-border-color-hover: $gl-color-neutral-200; // Used for the borde
649
655
  $gl-badge-muted-border-color-default: $gl-color-alpha-0; // Used for the border of a muted badge when static or the default state when linked.
650
656
  $gl-badge-muted-background-color-active: $gl-color-neutral-100; // Used for the background of a muted badge in the active state.
651
657
  $gl-badge-muted-background-color-default: $gl-color-neutral-50; // Used for the background of a muted badge when static or the default state when linked.
652
- $gl-avatar-fallback-background-color-neutral: $gl-color-neutral-50; // Neutral background for avatar fallback with no particular meaning.
653
- $gl-avatar-fallback-background-color-orange: $gl-color-orange-50; // Orange background for avatar fallback with no particular meaning.
654
- $gl-avatar-fallback-background-color-green: $gl-color-green-50; // Green background for avatar fallback with no particular meaning.
655
- $gl-avatar-fallback-background-color-blue: $gl-color-blue-50; // Blue background for avatar fallback with no particular meaning.
656
- $gl-avatar-fallback-background-color-purple: $gl-color-purple-50; // Purple background for avatar fallback with no particular meaning.
657
- $gl-avatar-fallback-background-color-red: $gl-color-red-50; // Red background for avatar fallback with no particular meaning.
658
+ $gl-avatar-fallback-text-color-neutral: $gl-color-neutral-800; // Neutral text color for avatar fallback with no particular meaning.
659
+ $gl-avatar-fallback-text-color-orange: $gl-color-orange-800; // Orange text color for avatar fallback with no particular meaning.
660
+ $gl-avatar-fallback-text-color-green: $gl-color-green-800; // Green text color for avatar fallback with no particular meaning.
661
+ $gl-avatar-fallback-text-color-blue: $gl-color-blue-800; // Blue text color for avatar fallback with no particular meaning.
662
+ $gl-avatar-fallback-text-color-purple: $gl-color-purple-800; // Purple text color for avatar fallback with no particular meaning.
663
+ $gl-avatar-fallback-text-color-red: $gl-color-red-800; // Red text color for avatar fallback with no particular meaning.
658
664
  $gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the edge definition of an avatar in the hover state.
659
665
  $gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
660
666
  $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
@@ -278,6 +278,12 @@ $data-viz-orange-900: var(--data-viz-orange-900);
278
278
  $data-viz-orange-950: var(--data-viz-orange-950);
279
279
  $gl-avatar-border-color-default: var(--gl-avatar-border-color-default);
280
280
  $gl-avatar-border-color-hover: var(--gl-avatar-border-color-hover);
281
+ $gl-avatar-fallback-text-color-red: var(--gl-avatar-fallback-text-color-red);
282
+ $gl-avatar-fallback-text-color-purple: var(--gl-avatar-fallback-text-color-purple);
283
+ $gl-avatar-fallback-text-color-blue: var(--gl-avatar-fallback-text-color-blue);
284
+ $gl-avatar-fallback-text-color-green: var(--gl-avatar-fallback-text-color-green);
285
+ $gl-avatar-fallback-text-color-orange: var(--gl-avatar-fallback-text-color-orange);
286
+ $gl-avatar-fallback-text-color-neutral: var(--gl-avatar-fallback-text-color-neutral);
281
287
  $gl-avatar-fallback-background-color-red: var(--gl-avatar-fallback-background-color-red);
282
288
  $gl-avatar-fallback-background-color-purple: var(--gl-avatar-fallback-background-color-purple);
283
289
  $gl-avatar-fallback-background-color-blue: var(--gl-avatar-fallback-background-color-blue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "88.5.0",
3
+ "version": "88.6.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -12,6 +12,13 @@ $gl-avatar-identicon-bgs: var(--gl-avatar-fallback-background-color-red),
12
12
  var(--gl-avatar-fallback-background-color-orange),
13
13
  var(--gl-avatar-fallback-background-color-neutral);
14
14
 
15
+ $gl-avatar-identicon-texts: var(--gl-avatar-fallback-text-color-red),
16
+ var(--gl-avatar-fallback-text-color-purple),
17
+ var(--gl-avatar-fallback-text-color-purple), var(--gl-avatar-fallback-text-color-blue),
18
+ var(--gl-avatar-fallback-text-color-green),
19
+ var(--gl-avatar-fallback-text-color-orange),
20
+ var(--gl-avatar-fallback-text-color-neutral);
21
+
15
22
  @mixin gl-avatar {
16
23
  @include gl-display-inline-flex;
17
24
  @include gl-overflow-hidden;
@@ -215,6 +222,7 @@ $gl-avatar-identicon-bgs: var(--gl-avatar-fallback-background-color-red),
215
222
  // Background colors
216
223
  @for $i from 1 through length($gl-avatar-identicon-bgs) {
217
224
  .gl-avatar-identicon-bg#{$i} {
225
+ color: nth($gl-avatar-identicon-texts, $i);
218
226
  background-color: nth($gl-avatar-identicon-bgs, $i);
219
227
  }
220
228
  }
@@ -45,6 +45,7 @@ export class Tree {
45
45
  * @param {object} parent The options' parent
46
46
  * @param {number} depth The current depth-level in the tree
47
47
  */
48
+ // eslint-disable-next-line max-params
48
49
  initNodes(options = [], selected = [], parent = null, depth = 0) {
49
50
  if (!options.length) {
50
51
  return;
@@ -1,4 +1,5 @@
1
1
  <script>
2
+ // eslint-disable-next-line max-params
2
3
  const makePathRect = (startX, startY, width, height) =>
3
4
  `M${startX},${startY}H${startX + width}V${startY + height}H${startX}Z`;
4
5