@gitlab/ui 86.4.0 → 86.5.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.
@@ -535,6 +535,10 @@
535
535
  --gl-control-background-color-selected-default: var(--gl-color-blue-500); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
536
536
  --gl-control-background-color-disabled: var(--gl-color-neutral-10); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
537
537
  --gl-control-background-color-default: var(--gl-color-neutral-0); /* Used for form control (input, radio button, checkbox, textarea) default background. */
538
+ --gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
539
+ --gl-spinner-segment-color-default: var(--gl-color-neutral-700); /* Used for the animated segment of a loading spinner. */
540
+ --gl-spinner-track-color-light: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner on a dark background. */
541
+ --gl-spinner-track-color-default: var(--gl-color-neutral-100); /* Used for the static track (background) of a loading spinner. */
538
542
  --gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-50); /* Used for the animated shimmer effect in a skeleton loader. */
539
543
  --gl-skeleton-loader-background-color: var(--gl-color-neutral-100); /* Used for the skeleton loader background color. */
540
544
  --gl-popover-background-color: var(--gl-color-neutral-0); /* Used for the background color of popover. */
@@ -535,6 +535,10 @@
535
535
  --gl-control-background-color-selected-default: var(--gl-color-blue-400); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
536
536
  --gl-control-background-color-disabled: var(--gl-color-neutral-950); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
537
537
  --gl-control-background-color-default: var(--gl-color-neutral-900); /* Used for form control (input, radio button, checkbox, textarea) default background. */
538
+ --gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
539
+ --gl-spinner-segment-color-default: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner. */
540
+ --gl-spinner-track-color-light: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner on a dark background. */
541
+ --gl-spinner-track-color-default: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner. */
538
542
  --gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-700); /* Used for the animated shimmer effect in a skeleton loader. */
539
543
  --gl-skeleton-loader-background-color: var(--gl-color-neutral-800); /* Used for the skeleton loader background color. */
540
544
  --gl-popover-background-color: var(--gl-color-neutral-900); /* Used for the background color of popover. */
@@ -525,6 +525,10 @@ export const GL_LABEL_SCOPED_BUTTON_ICON_COLOR_HOVER = '#1f1e24'; // Used for th
525
525
  export const GL_POPOVER_BACKGROUND_COLOR = '#333238'; // Used for the background color of popover.
526
526
  export const GL_SKELETON_LOADER_BACKGROUND_COLOR = '#434248'; // Used for the skeleton loader background color.
527
527
  export const GL_SKELETON_LOADER_SHIMMER_COLOR = '#535158'; // Used for the animated shimmer effect in a skeleton loader.
528
+ export const GL_SPINNER_TRACK_COLOR_DEFAULT = '#434248'; // Used for the static track (background) of a loading spinner.
529
+ export const GL_SPINNER_TRACK_COLOR_LIGHT = '#434248'; // Used for the static track (background) of a loading spinner on a dark background.
530
+ export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#bfbfc3'; // Used for the animated segment of a loading spinner.
531
+ export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animated segment of a loading spinner on a dark background.
528
532
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#333238'; // Used for form control (input, radio button, checkbox, textarea) default background.
529
533
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#1f1e24'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
530
534
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#428fdc'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
@@ -525,6 +525,10 @@ export const GL_LABEL_SCOPED_BUTTON_ICON_COLOR_HOVER = '#fff'; // Used for the s
525
525
  export const GL_POPOVER_BACKGROUND_COLOR = '#fff'; // Used for the background color of popover.
526
526
  export const GL_SKELETON_LOADER_BACKGROUND_COLOR = '#dcdcde'; // Used for the skeleton loader background color.
527
527
  export const GL_SKELETON_LOADER_SHIMMER_COLOR = '#ececef'; // Used for the animated shimmer effect in a skeleton loader.
528
+ export const GL_SPINNER_TRACK_COLOR_DEFAULT = '#dcdcde'; // Used for the static track (background) of a loading spinner.
529
+ export const GL_SPINNER_TRACK_COLOR_LIGHT = '#434248'; // Used for the static track (background) of a loading spinner on a dark background.
530
+ export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#535158'; // Used for the animated segment of a loading spinner.
531
+ export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animated segment of a loading spinner on a dark background.
528
532
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
529
533
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
530
534
  export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
@@ -11475,6 +11475,102 @@
11475
11475
  }
11476
11476
  }
11477
11477
  },
11478
+ "spinner": {
11479
+ "track": {
11480
+ "color": {
11481
+ "default": {
11482
+ "value": "#434248",
11483
+ "$type": "color",
11484
+ "comment": "Used for the static track (background) of a loading spinner.",
11485
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11486
+ "isSource": true,
11487
+ "original": {
11488
+ "value": {
11489
+ "default": "{color.neutral.100}",
11490
+ "dark": "{color.neutral.800}"
11491
+ },
11492
+ "$type": "color",
11493
+ "comment": "Used for the static track (background) of a loading spinner."
11494
+ },
11495
+ "name": "SPINNER_TRACK_COLOR_DEFAULT",
11496
+ "attributes": {},
11497
+ "path": [
11498
+ "spinner",
11499
+ "track",
11500
+ "color",
11501
+ "default"
11502
+ ]
11503
+ },
11504
+ "light": {
11505
+ "value": "#434248",
11506
+ "$type": "color",
11507
+ "comment": "Used for the static track (background) of a loading spinner on a dark background.",
11508
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11509
+ "isSource": true,
11510
+ "original": {
11511
+ "value": "{color.neutral.800}",
11512
+ "$type": "color",
11513
+ "comment": "Used for the static track (background) of a loading spinner on a dark background."
11514
+ },
11515
+ "name": "SPINNER_TRACK_COLOR_LIGHT",
11516
+ "attributes": {},
11517
+ "path": [
11518
+ "spinner",
11519
+ "track",
11520
+ "color",
11521
+ "light"
11522
+ ]
11523
+ }
11524
+ }
11525
+ },
11526
+ "segment": {
11527
+ "color": {
11528
+ "default": {
11529
+ "value": "#bfbfc3",
11530
+ "$type": "color",
11531
+ "comment": "Used for the animated segment of a loading spinner.",
11532
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11533
+ "isSource": true,
11534
+ "original": {
11535
+ "value": {
11536
+ "default": "{color.neutral.700}",
11537
+ "dark": "{color.neutral.200}"
11538
+ },
11539
+ "$type": "color",
11540
+ "comment": "Used for the animated segment of a loading spinner."
11541
+ },
11542
+ "name": "SPINNER_SEGMENT_COLOR_DEFAULT",
11543
+ "attributes": {},
11544
+ "path": [
11545
+ "spinner",
11546
+ "segment",
11547
+ "color",
11548
+ "default"
11549
+ ]
11550
+ },
11551
+ "light": {
11552
+ "value": "#bfbfc3",
11553
+ "$type": "color",
11554
+ "comment": "Used for the animated segment of a loading spinner on a dark background.",
11555
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11556
+ "isSource": true,
11557
+ "original": {
11558
+ "value": "{color.neutral.200}",
11559
+ "$type": "color",
11560
+ "comment": "Used for the animated segment of a loading spinner on a dark background."
11561
+ },
11562
+ "name": "SPINNER_SEGMENT_COLOR_LIGHT",
11563
+ "attributes": {},
11564
+ "path": [
11565
+ "spinner",
11566
+ "segment",
11567
+ "color",
11568
+ "light"
11569
+ ]
11570
+ }
11571
+ }
11572
+ }
11573
+ },
11478
11574
  "control": {
11479
11575
  "background": {
11480
11576
  "color": {
@@ -11475,6 +11475,102 @@
11475
11475
  }
11476
11476
  }
11477
11477
  },
11478
+ "spinner": {
11479
+ "track": {
11480
+ "color": {
11481
+ "default": {
11482
+ "value": "#dcdcde",
11483
+ "$type": "color",
11484
+ "comment": "Used for the static track (background) of a loading spinner.",
11485
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11486
+ "isSource": true,
11487
+ "original": {
11488
+ "value": {
11489
+ "default": "{color.neutral.100}",
11490
+ "dark": "{color.neutral.800}"
11491
+ },
11492
+ "$type": "color",
11493
+ "comment": "Used for the static track (background) of a loading spinner."
11494
+ },
11495
+ "name": "SPINNER_TRACK_COLOR_DEFAULT",
11496
+ "attributes": {},
11497
+ "path": [
11498
+ "spinner",
11499
+ "track",
11500
+ "color",
11501
+ "default"
11502
+ ]
11503
+ },
11504
+ "light": {
11505
+ "value": "#434248",
11506
+ "$type": "color",
11507
+ "comment": "Used for the static track (background) of a loading spinner on a dark background.",
11508
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11509
+ "isSource": true,
11510
+ "original": {
11511
+ "value": "{color.neutral.800}",
11512
+ "$type": "color",
11513
+ "comment": "Used for the static track (background) of a loading spinner on a dark background."
11514
+ },
11515
+ "name": "SPINNER_TRACK_COLOR_LIGHT",
11516
+ "attributes": {},
11517
+ "path": [
11518
+ "spinner",
11519
+ "track",
11520
+ "color",
11521
+ "light"
11522
+ ]
11523
+ }
11524
+ }
11525
+ },
11526
+ "segment": {
11527
+ "color": {
11528
+ "default": {
11529
+ "value": "#535158",
11530
+ "$type": "color",
11531
+ "comment": "Used for the animated segment of a loading spinner.",
11532
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11533
+ "isSource": true,
11534
+ "original": {
11535
+ "value": {
11536
+ "default": "{color.neutral.700}",
11537
+ "dark": "{color.neutral.200}"
11538
+ },
11539
+ "$type": "color",
11540
+ "comment": "Used for the animated segment of a loading spinner."
11541
+ },
11542
+ "name": "SPINNER_SEGMENT_COLOR_DEFAULT",
11543
+ "attributes": {},
11544
+ "path": [
11545
+ "spinner",
11546
+ "segment",
11547
+ "color",
11548
+ "default"
11549
+ ]
11550
+ },
11551
+ "light": {
11552
+ "value": "#bfbfc3",
11553
+ "$type": "color",
11554
+ "comment": "Used for the animated segment of a loading spinner on a dark background.",
11555
+ "filePath": "src/tokens/contextual/spinner.tokens.json",
11556
+ "isSource": true,
11557
+ "original": {
11558
+ "value": "{color.neutral.200}",
11559
+ "$type": "color",
11560
+ "comment": "Used for the animated segment of a loading spinner on a dark background."
11561
+ },
11562
+ "name": "SPINNER_SEGMENT_COLOR_LIGHT",
11563
+ "attributes": {},
11564
+ "path": [
11565
+ "spinner",
11566
+ "segment",
11567
+ "color",
11568
+ "light"
11569
+ ]
11570
+ }
11571
+ }
11572
+ }
11573
+ },
11478
11574
  "control": {
11479
11575
  "background": {
11480
11576
  "color": {
@@ -533,6 +533,10 @@ $gl-control-background-color-selected-hover: $gl-color-blue-200; // Used for che
533
533
  $gl-control-background-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
534
534
  $gl-control-background-color-disabled: $gl-color-neutral-950; // Used for disabled form control (checkbox, input, radio button, textarea) background.
535
535
  $gl-control-background-color-default: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) default background.
536
+ $gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
537
+ $gl-spinner-segment-color-default: $gl-color-neutral-200; // Used for the animated segment of a loading spinner.
538
+ $gl-spinner-track-color-light: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner on a dark background.
539
+ $gl-spinner-track-color-default: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner.
536
540
  $gl-skeleton-loader-shimmer-color: $gl-color-neutral-700; // Used for the animated shimmer effect in a skeleton loader.
537
541
  $gl-skeleton-loader-background-color: $gl-color-neutral-800; // Used for the skeleton loader background color.
538
542
  $gl-popover-background-color: $gl-color-neutral-900; // Used for the background color of popover.
@@ -533,6 +533,10 @@ $gl-control-background-color-selected-hover: $gl-color-blue-700; // Used for che
533
533
  $gl-control-background-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
534
534
  $gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
535
535
  $gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
536
+ $gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
537
+ $gl-spinner-segment-color-default: $gl-color-neutral-700; // Used for the animated segment of a loading spinner.
538
+ $gl-spinner-track-color-light: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner on a dark background.
539
+ $gl-spinner-track-color-default: $gl-color-neutral-100; // Used for the static track (background) of a loading spinner.
536
540
  $gl-skeleton-loader-shimmer-color: $gl-color-neutral-50; // Used for the animated shimmer effect in a skeleton loader.
537
541
  $gl-skeleton-loader-background-color: $gl-color-neutral-100; // Used for the skeleton loader background color.
538
542
  $gl-popover-background-color: $gl-color-neutral-0; // Used for the background color of popover.
@@ -525,6 +525,10 @@ $gl-label-scoped-button-icon-color-hover: var(--gl-label-scoped-button-icon-colo
525
525
  $gl-popover-background-color: var(--gl-popover-background-color);
526
526
  $gl-skeleton-loader-background-color: var(--gl-skeleton-loader-background-color);
527
527
  $gl-skeleton-loader-shimmer-color: var(--gl-skeleton-loader-shimmer-color);
528
+ $gl-spinner-track-color-default: var(--gl-spinner-track-color-default);
529
+ $gl-spinner-track-color-light: var(--gl-spinner-track-color-light);
530
+ $gl-spinner-segment-color-default: var(--gl-spinner-segment-color-default);
531
+ $gl-spinner-segment-color-light: var(--gl-spinner-segment-color-light);
528
532
  $gl-control-background-color-default: var(--gl-control-background-color-default);
529
533
  $gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
530
534
  $gl-control-background-color-selected-default: var(--gl-control-background-color-selected-default);
@@ -0,0 +1,38 @@
1
+ {
2
+ "spinner": {
3
+ "track": {
4
+ "color": {
5
+ "default": {
6
+ "$value": {
7
+ "default": "{color.neutral.100}",
8
+ "dark": "{color.neutral.800}"
9
+ },
10
+ "$type": "color",
11
+ "$description": "Used for the static track (background) of a loading spinner."
12
+ },
13
+ "light": {
14
+ "$value": "{color.neutral.800}",
15
+ "$type": "color",
16
+ "$description": "Used for the static track (background) of a loading spinner on a dark background."
17
+ }
18
+ }
19
+ },
20
+ "segment": {
21
+ "color": {
22
+ "default": {
23
+ "$value": {
24
+ "default": "{color.neutral.700}",
25
+ "dark": "{color.neutral.200}"
26
+ },
27
+ "$type": "color",
28
+ "$description": "Used for the animated segment of a loading spinner."
29
+ },
30
+ "light": {
31
+ "$value": "{color.neutral.200}",
32
+ "$type": "color",
33
+ "$description": "Used for the animated segment of a loading spinner on a dark background."
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
package/translations.js CHANGED
@@ -6,7 +6,13 @@ export default {
6
6
  'GlKeysetPagination.navigationLabel': 'Pagination',
7
7
  'GlKeysetPagination.nextText': 'Next',
8
8
  'GlKeysetPagination.prevText': 'Previous',
9
+ 'GlPagination.labelFirstPage': 'Go to first page',
10
+ 'GlPagination.labelLastPage': 'Go to last page',
11
+ 'GlPagination.labelNextPage': 'Go to next page',
9
12
  'GlPagination.labelPage': 'Go to page %{page}',
13
+ 'GlPagination.labelPrevPage': 'Go to previous page',
14
+ 'GlPagination.nextText': 'Next',
15
+ 'GlPagination.prevText': 'Previous',
10
16
  'GlSearchBoxByType.clearButtonTitle': 'Clear',
11
17
  'GlSearchBoxByType.input.placeholder': 'Search',
12
18
  'GlSorting.sortAscending': 'Sort direction: ascending',