@gitlab/ui 126.1.1 → 126.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.
@@ -36711,6 +36711,148 @@
36711
36711
  ]
36712
36712
  }
36713
36713
  }
36714
+ },
36715
+ "brand": {
36716
+ "background": {
36717
+ "color": {
36718
+ "key": "{feedback.brand.background.color}",
36719
+ "$value": "#f4f0ff",
36720
+ "$type": "color",
36721
+ "$description": "Used for the background of a brand-related feedback item when highlighting information that pertains to GitLab.",
36722
+ "$extensions": {
36723
+ "com.figma.scope": [
36724
+ "FRAME_FILL",
36725
+ "SHAPE_FILL"
36726
+ ]
36727
+ },
36728
+ "filePath": "src/tokens/semantic/feedback.tokens.json",
36729
+ "isSource": true,
36730
+ "original": {
36731
+ "$value": "{color.purple.50}",
36732
+ "$type": "color",
36733
+ "$description": "Used for the background of a brand-related feedback item when highlighting information that pertains to GitLab.",
36734
+ "$extensions": {
36735
+ "com.figma.scope": [
36736
+ "FRAME_FILL",
36737
+ "SHAPE_FILL"
36738
+ ]
36739
+ },
36740
+ "key": "{feedback.brand.background.color}"
36741
+ },
36742
+ "name": "FEEDBACK_BRAND_BACKGROUND_COLOR",
36743
+ "attributes": {},
36744
+ "path": [
36745
+ "feedback",
36746
+ "brand",
36747
+ "background",
36748
+ "color"
36749
+ ]
36750
+ }
36751
+ },
36752
+ "border": {
36753
+ "color": {
36754
+ "key": "{feedback.brand.border.color}",
36755
+ "$value": "#cbbbf2",
36756
+ "$type": "color",
36757
+ "$description": "Used for the border of a brand-related feedback item when highlighting information that pertains to GitLab.",
36758
+ "$extensions": {
36759
+ "com.figma.scope": [
36760
+ "STROKE_COLOR"
36761
+ ]
36762
+ },
36763
+ "filePath": "src/tokens/semantic/feedback.tokens.json",
36764
+ "isSource": true,
36765
+ "original": {
36766
+ "$value": "{color.purple.200}",
36767
+ "$type": "color",
36768
+ "$description": "Used for the border of a brand-related feedback item when highlighting information that pertains to GitLab.",
36769
+ "$extensions": {
36770
+ "com.figma.scope": [
36771
+ "STROKE_COLOR"
36772
+ ]
36773
+ },
36774
+ "key": "{feedback.brand.border.color}"
36775
+ },
36776
+ "name": "FEEDBACK_BRAND_BORDER_COLOR",
36777
+ "attributes": {},
36778
+ "path": [
36779
+ "feedback",
36780
+ "brand",
36781
+ "border",
36782
+ "color"
36783
+ ]
36784
+ }
36785
+ },
36786
+ "text": {
36787
+ "color": {
36788
+ "key": "{feedback.brand.text.color}",
36789
+ "$value": "#5c47a6",
36790
+ "$type": "color",
36791
+ "$description": "Used for the text of a brand-related feedback item when highlighting information that pertains to GitLab.",
36792
+ "$extensions": {
36793
+ "com.figma.scope": [
36794
+ "TEXT_FILL"
36795
+ ]
36796
+ },
36797
+ "filePath": "src/tokens/semantic/feedback.tokens.json",
36798
+ "isSource": true,
36799
+ "original": {
36800
+ "$value": "{color.purple.700}",
36801
+ "$type": "color",
36802
+ "$description": "Used for the text of a brand-related feedback item when highlighting information that pertains to GitLab.",
36803
+ "$extensions": {
36804
+ "com.figma.scope": [
36805
+ "TEXT_FILL"
36806
+ ]
36807
+ },
36808
+ "key": "{feedback.brand.text.color}"
36809
+ },
36810
+ "name": "FEEDBACK_BRAND_TEXT_COLOR",
36811
+ "attributes": {},
36812
+ "path": [
36813
+ "feedback",
36814
+ "brand",
36815
+ "text",
36816
+ "color"
36817
+ ]
36818
+ }
36819
+ },
36820
+ "icon": {
36821
+ "color": {
36822
+ "key": "{feedback.brand.icon.color}",
36823
+ "$value": "#6a4fb4",
36824
+ "$type": "color",
36825
+ "$description": "Used for the icon of a brand-related feedback item when highlighting information that pertains to GitLab.",
36826
+ "$extensions": {
36827
+ "com.figma.scope": [
36828
+ "SHAPE_FILL",
36829
+ "TEXT_FILL"
36830
+ ]
36831
+ },
36832
+ "filePath": "src/tokens/semantic/feedback.tokens.json",
36833
+ "isSource": true,
36834
+ "original": {
36835
+ "$value": "{color.purple.600}",
36836
+ "$type": "color",
36837
+ "$description": "Used for the icon of a brand-related feedback item when highlighting information that pertains to GitLab.",
36838
+ "$extensions": {
36839
+ "com.figma.scope": [
36840
+ "SHAPE_FILL",
36841
+ "TEXT_FILL"
36842
+ ]
36843
+ },
36844
+ "key": "{feedback.brand.icon.color}"
36845
+ },
36846
+ "name": "FEEDBACK_BRAND_ICON_COLOR",
36847
+ "attributes": {},
36848
+ "path": [
36849
+ "feedback",
36850
+ "brand",
36851
+ "icon",
36852
+ "color"
36853
+ ]
36854
+ }
36855
+ }
36714
36856
  }
36715
36857
  },
36716
36858
  "focus-ring": {
@@ -961,6 +961,10 @@ $gl-feedback-danger-background-color: $gl-color-red-900; // Used for the backgro
961
961
  $gl-feedback-danger-border-color: $gl-color-red-300; // Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
962
962
  $gl-feedback-danger-text-color: $gl-color-red-200; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
963
963
  $gl-feedback-danger-icon-color: $gl-color-red-300; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
964
+ $gl-feedback-brand-background-color: $gl-color-purple-950; // Used for the background of a brand-related feedback item when highlighting information that pertains to GitLab.
965
+ $gl-feedback-brand-border-color: $gl-color-purple-600; // Used for the border of a brand-related feedback item when highlighting information that pertains to GitLab.
966
+ $gl-feedback-brand-text-color: $gl-color-purple-200; // Used for the text of a brand-related feedback item when highlighting information that pertains to GitLab.
967
+ $gl-feedback-brand-icon-color: $gl-color-purple-300; // Used for the icon of a brand-related feedback item when highlighting information that pertains to GitLab.
964
968
  $gl-focus-ring-outer-color: $gl-color-blue-400; // Used for the outer color portion of the focus ring.
965
969
  $gl-highlight-match-background-color: $gl-color-orange-200; // Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.
966
970
  $gl-highlight-match-text-color: $gl-color-neutral-950; // Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.
@@ -944,6 +944,10 @@ $gl-feedback-danger-background-color: $gl-color-red-50; // Used for the backgrou
944
944
  $gl-feedback-danger-border-color: $gl-color-red-500; // Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
945
945
  $gl-feedback-danger-text-color: $gl-color-red-700; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
946
946
  $gl-feedback-danger-icon-color: $gl-color-red-600; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
947
+ $gl-feedback-brand-background-color: $gl-color-purple-50; // Used for the background of a brand-related feedback item when highlighting information that pertains to GitLab.
948
+ $gl-feedback-brand-border-color: $gl-color-purple-200; // Used for the border of a brand-related feedback item when highlighting information that pertains to GitLab.
949
+ $gl-feedback-brand-text-color: $gl-color-purple-700; // Used for the text of a brand-related feedback item when highlighting information that pertains to GitLab.
950
+ $gl-feedback-brand-icon-color: $gl-color-purple-600; // Used for the icon of a brand-related feedback item when highlighting information that pertains to GitLab.
947
951
  $gl-focus-ring-outer-color: $gl-color-blue-500; // Used for the outer color portion of the focus ring.
948
952
  $gl-highlight-match-background-color: $gl-color-orange-500; // Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.
949
953
  $gl-highlight-match-text-color: $gl-color-neutral-0; // Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.
@@ -1118,6 +1118,10 @@ $gl-feedback-danger-background-color: var(--gl-feedback-danger-background-color)
1118
1118
  $gl-feedback-danger-border-color: var(--gl-feedback-danger-border-color);
1119
1119
  $gl-feedback-danger-text-color: var(--gl-feedback-danger-text-color);
1120
1120
  $gl-feedback-danger-icon-color: var(--gl-feedback-danger-icon-color);
1121
+ $gl-feedback-brand-background-color: var(--gl-feedback-brand-background-color);
1122
+ $gl-feedback-brand-border-color: var(--gl-feedback-brand-border-color);
1123
+ $gl-feedback-brand-text-color: var(--gl-feedback-brand-text-color);
1124
+ $gl-feedback-brand-icon-color: var(--gl-feedback-brand-icon-color);
1121
1125
  $gl-focus-ring-outer-color: var(--gl-focus-ring-outer-color);
1122
1126
  $gl-focus-ring-inner-color: var(--gl-focus-ring-inner-color);
1123
1127
  $gl-highlight-match-background-color: var(--gl-highlight-match-background-color);
@@ -328,6 +328,7 @@ const feedbackBackgroundColors = {
328
328
  'feedback-success': 'var(--gl-feedback-success-background-color)',
329
329
  'feedback-warning': 'var(--gl-feedback-warning-background-color)',
330
330
  'feedback-danger': 'var(--gl-feedback-danger-background-color)',
331
+ 'feedback-brand': 'var(--gl-feedback-brand-background-color)',
331
332
  };
332
333
  const feedbackBorderColors = {
333
334
  'feedback-strong': 'var(--gl-feedback-strong-border-color)',
@@ -336,6 +337,7 @@ const feedbackBorderColors = {
336
337
  'feedback-success': 'var(--gl-feedback-success-border-color)',
337
338
  'feedback-warning': 'var(--gl-feedback-warning-border-color)',
338
339
  'feedback-danger': 'var(--gl-feedback-danger-border-color)',
340
+ 'feedback-brand': 'var(--gl-feedback-brand-border-color)',
339
341
  };
340
342
  const feedbackTextColors = {
341
343
  'feedback-strong': 'var(--gl-feedback-strong-text-color)',
@@ -344,6 +346,7 @@ const feedbackTextColors = {
344
346
  'feedback-success': 'var(--gl-feedback-success-text-color)',
345
347
  'feedback-warning': 'var(--gl-feedback-warning-text-color)',
346
348
  'feedback-danger': 'var(--gl-feedback-danger-text-color)',
349
+ 'feedback-brand': 'var(--gl-feedback-brand-text-color)',
347
350
  };
348
351
  const feedbackIconColors = {
349
352
  'feedback-strong': 'var(--gl-feedback-strong-icon-color)',
@@ -352,6 +355,7 @@ const feedbackIconColors = {
352
355
  'feedback-success': 'var(--gl-feedback-success-icon-color)',
353
356
  'feedback-warning': 'var(--gl-feedback-warning-icon-color)',
354
357
  'feedback-danger': 'var(--gl-feedback-danger-icon-color)',
358
+ 'feedback-brand': 'var(--gl-feedback-brand-icon-color)',
355
359
  };
356
360
  const spacingScale = {
357
361
  0: 'var(--gl-spacing-scale-0)',
@@ -398,6 +398,70 @@
398
398
  }
399
399
  }
400
400
  }
401
+ },
402
+ "brand": {
403
+ "background": {
404
+ "color": {
405
+ "$value": {
406
+ "default": "{color.purple.50}",
407
+ "dark": "{color.purple.950}"
408
+ },
409
+ "$type": "color",
410
+ "$description": "Used for the background of a brand-related feedback item when highlighting information that pertains to GitLab.",
411
+ "$extensions": {
412
+ "com.figma.scope": [
413
+ "FRAME_FILL",
414
+ "SHAPE_FILL"
415
+ ]
416
+ }
417
+ }
418
+ },
419
+ "border": {
420
+ "color": {
421
+ "$value": {
422
+ "default": "{color.purple.200}",
423
+ "dark": "{color.purple.600}"
424
+ },
425
+ "$type": "color",
426
+ "$description": "Used for the border of a brand-related feedback item when highlighting information that pertains to GitLab.",
427
+ "$extensions": {
428
+ "com.figma.scope": [
429
+ "STROKE_COLOR"
430
+ ]
431
+ }
432
+ }
433
+ },
434
+ "text": {
435
+ "color": {
436
+ "$value": {
437
+ "default": "{color.purple.700}",
438
+ "dark": "{color.purple.200}"
439
+ },
440
+ "$type": "color",
441
+ "$description": "Used for the text of a brand-related feedback item when highlighting information that pertains to GitLab.",
442
+ "$extensions": {
443
+ "com.figma.scope": [
444
+ "TEXT_FILL"
445
+ ]
446
+ }
447
+ }
448
+ },
449
+ "icon": {
450
+ "color": {
451
+ "$value": {
452
+ "default": "{color.purple.600}",
453
+ "dark": "{color.purple.300}"
454
+ },
455
+ "$type": "color",
456
+ "$description": "Used for the icon of a brand-related feedback item when highlighting information that pertains to GitLab.",
457
+ "$extensions": {
458
+ "com.figma.scope": [
459
+ "SHAPE_FILL",
460
+ "TEXT_FILL"
461
+ ]
462
+ }
463
+ }
464
+ }
401
465
  }
402
466
  }
403
467
  }
package/translations.js CHANGED
@@ -29,8 +29,6 @@ export default {
29
29
  'GlPagination.labelPage': 'Go to page %{page}',
30
30
  'GlPagination.labelPrevPage': 'Go to previous page',
31
31
  'GlPagination.nav': 'Pagination',
32
- 'GlPagination.nextText': 'Next',
33
- 'GlPagination.prevText': 'Previous',
34
32
  'GlProgressBar.ariaLabel': 'Progress bar',
35
33
  'GlSearchBoxByType.clearButtonTitle': 'Clear',
36
34
  'GlSearchBoxByType.input.placeholder': 'Search',