@gitlab/ui 89.5.0 → 89.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.
- package/CHANGELOG.md +7 -0
- package/dist/components/base/daterange_picker/daterange_picker.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +6 -4
- package/dist/tokens/build/js/tokens.js +5 -3
- package/dist/tokens/css/tokens.css +4 -2
- package/dist/tokens/css/tokens.dark.css +5 -3
- package/dist/tokens/js/tokens.dark.js +5 -3
- package/dist/tokens/js/tokens.js +4 -2
- package/dist/tokens/json/tokens.dark.json +69 -12
- package/dist/tokens/json/tokens.json +68 -11
- package/dist/tokens/scss/_tokens.dark.scss +5 -3
- package/dist/tokens/scss/_tokens.scss +4 -2
- package/dist/tokens/scss/_tokens_custom_properties.scss +2 -0
- package/package.json +2 -2
- package/src/components/base/banner/banner.scss +1 -1
- package/src/components/base/daterange_picker/daterange_picker.scss +2 -6
- package/src/components/base/daterange_picker/daterange_picker.vue +8 -1
- package/src/components/base/tabs/tabs/tabs.scss +40 -26
- package/src/scss/mixins.scss +24 -0
- package/src/tokens/build/css/tokens.css +4 -2
- package/src/tokens/build/css/tokens.dark.css +5 -3
- package/src/tokens/build/js/tokens.dark.js +5 -3
- package/src/tokens/build/js/tokens.js +4 -2
- package/src/tokens/build/json/tokens.dark.json +69 -12
- package/src/tokens/build/json/tokens.json +68 -11
- package/src/tokens/build/scss/_tokens.dark.scss +5 -3
- package/src/tokens/build/scss/_tokens.scss +4 -2
- package/src/tokens/build/scss/_tokens_custom_properties.scss +2 -0
- package/src/tokens/contextual/banner.tokens.json +16 -6
- package/src/tokens/contextual/tabs.tokens.json +18 -0
- package/src/tokens/feedback.tokens.json +1 -1
|
@@ -8999,18 +8999,18 @@
|
|
|
8999
8999
|
"intro": {
|
|
9000
9000
|
"border": {
|
|
9001
9001
|
"color": {
|
|
9002
|
-
"value": "#
|
|
9002
|
+
"value": "#cbe2f9",
|
|
9003
9003
|
"$type": "color",
|
|
9004
|
-
"comment": "Used
|
|
9004
|
+
"comment": "Used for the border of an info banner.",
|
|
9005
9005
|
"filePath": "src/tokens/contextual/banner.tokens.json",
|
|
9006
9006
|
"isSource": true,
|
|
9007
9007
|
"original": {
|
|
9008
9008
|
"value": {
|
|
9009
|
-
"default": "{color.blue.
|
|
9010
|
-
"dark": "{color.blue.
|
|
9009
|
+
"default": "{color.blue.100}",
|
|
9010
|
+
"dark": "{color.blue.800}"
|
|
9011
9011
|
},
|
|
9012
9012
|
"$type": "color",
|
|
9013
|
-
"comment": "Used
|
|
9013
|
+
"comment": "Used for the border of an info banner."
|
|
9014
9014
|
},
|
|
9015
9015
|
"name": "BANNER_INTRO_BORDER_COLOR",
|
|
9016
9016
|
"attributes": {},
|
|
@@ -9026,18 +9026,18 @@
|
|
|
9026
9026
|
"promo": {
|
|
9027
9027
|
"background": {
|
|
9028
9028
|
"color": {
|
|
9029
|
-
"value": "#
|
|
9029
|
+
"value": "#f4f0ff",
|
|
9030
9030
|
"$type": "color",
|
|
9031
|
-
"comment": "Used
|
|
9031
|
+
"comment": "Used for the background of a promo banner.",
|
|
9032
9032
|
"filePath": "src/tokens/contextual/banner.tokens.json",
|
|
9033
9033
|
"isSource": true,
|
|
9034
9034
|
"original": {
|
|
9035
9035
|
"value": {
|
|
9036
|
-
"default": "{color.
|
|
9037
|
-
"dark": "{color.
|
|
9036
|
+
"default": "{color.purple.50}",
|
|
9037
|
+
"dark": "{color.purple.950}"
|
|
9038
9038
|
},
|
|
9039
9039
|
"$type": "color",
|
|
9040
|
-
"comment": "Used
|
|
9040
|
+
"comment": "Used for the background of a promo banner."
|
|
9041
9041
|
},
|
|
9042
9042
|
"name": "BANNER_PROMO_BACKGROUND_COLOR",
|
|
9043
9043
|
"attributes": {},
|
|
@@ -9048,6 +9048,31 @@
|
|
|
9048
9048
|
"color"
|
|
9049
9049
|
]
|
|
9050
9050
|
}
|
|
9051
|
+
},
|
|
9052
|
+
"border": {
|
|
9053
|
+
"color": {
|
|
9054
|
+
"value": "#e1d8f9",
|
|
9055
|
+
"$type": "color",
|
|
9056
|
+
"comment": "Used for the border of a promo banner.",
|
|
9057
|
+
"filePath": "src/tokens/contextual/banner.tokens.json",
|
|
9058
|
+
"isSource": true,
|
|
9059
|
+
"original": {
|
|
9060
|
+
"value": {
|
|
9061
|
+
"default": "{color.purple.100}",
|
|
9062
|
+
"dark": "{color.purple.800}"
|
|
9063
|
+
},
|
|
9064
|
+
"$type": "color",
|
|
9065
|
+
"comment": "Used for the border of a promo banner."
|
|
9066
|
+
},
|
|
9067
|
+
"name": "BANNER_PROMO_BORDER_COLOR",
|
|
9068
|
+
"attributes": {},
|
|
9069
|
+
"path": [
|
|
9070
|
+
"banner",
|
|
9071
|
+
"promo",
|
|
9072
|
+
"border",
|
|
9073
|
+
"color"
|
|
9074
|
+
]
|
|
9075
|
+
}
|
|
9051
9076
|
}
|
|
9052
9077
|
}
|
|
9053
9078
|
},
|
|
@@ -12535,6 +12560,38 @@
|
|
|
12535
12560
|
}
|
|
12536
12561
|
}
|
|
12537
12562
|
},
|
|
12563
|
+
"tab": {
|
|
12564
|
+
"selected": {
|
|
12565
|
+
"indicator": {
|
|
12566
|
+
"color": {
|
|
12567
|
+
"default": {
|
|
12568
|
+
"value": "#1f75cb",
|
|
12569
|
+
"$type": "color",
|
|
12570
|
+
"comment": "Used for the selected indicator of a tab.",
|
|
12571
|
+
"filePath": "src/tokens/contextual/tabs.tokens.json",
|
|
12572
|
+
"isSource": true,
|
|
12573
|
+
"original": {
|
|
12574
|
+
"value": {
|
|
12575
|
+
"default": "{color.blue.500}",
|
|
12576
|
+
"dark": "{color.blue.400}"
|
|
12577
|
+
},
|
|
12578
|
+
"$type": "color",
|
|
12579
|
+
"comment": "Used for the selected indicator of a tab."
|
|
12580
|
+
},
|
|
12581
|
+
"name": "TAB_SELECTED_INDICATOR_COLOR_DEFAULT",
|
|
12582
|
+
"attributes": {},
|
|
12583
|
+
"path": [
|
|
12584
|
+
"tab",
|
|
12585
|
+
"selected",
|
|
12586
|
+
"indicator",
|
|
12587
|
+
"color",
|
|
12588
|
+
"default"
|
|
12589
|
+
]
|
|
12590
|
+
}
|
|
12591
|
+
}
|
|
12592
|
+
}
|
|
12593
|
+
}
|
|
12594
|
+
},
|
|
12538
12595
|
"control": {
|
|
12539
12596
|
"background": {
|
|
12540
12597
|
"color": {
|
|
@@ -17425,7 +17482,7 @@
|
|
|
17425
17482
|
"original": {
|
|
17426
17483
|
"value": {
|
|
17427
17484
|
"default": "{color.blue.50}",
|
|
17428
|
-
"dark": "{color.blue.
|
|
17485
|
+
"dark": "{color.blue.950}"
|
|
17429
17486
|
},
|
|
17430
17487
|
"$type": "color",
|
|
17431
17488
|
"comment": "Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action."
|
|
@@ -469,7 +469,7 @@ $gl-feedback-success-text-color: $gl-color-green-200; // Used for the text of a
|
|
|
469
469
|
$gl-feedback-success-background-color: $gl-color-green-900; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
470
470
|
$gl-feedback-info-icon-color: $gl-color-blue-300; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
471
471
|
$gl-feedback-info-text-color: $gl-color-blue-200; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
472
|
-
$gl-feedback-info-background-color: $gl-color-blue-
|
|
472
|
+
$gl-feedback-info-background-color: $gl-color-blue-950; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
473
473
|
$gl-feedback-neutral-icon-color: $gl-color-neutral-300; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
474
474
|
$gl-feedback-neutral-text-color: $gl-color-neutral-200; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
475
475
|
$gl-feedback-neutral-background-color: $gl-color-neutral-900; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
@@ -494,6 +494,7 @@ $gl-control-background-color-readonly: $gl-color-neutral-900; // Used for the ba
|
|
|
494
494
|
$gl-control-background-color-concatenation: $gl-color-alpha-light-4; // Used for the background of static content that prepends or appends a text input.
|
|
495
495
|
$gl-control-background-color-disabled: $gl-color-alpha-light-4; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
496
496
|
$gl-control-background-color-default: $gl-color-alpha-dark-40; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
497
|
+
$gl-tab-selected-indicator-color-default: $gl-color-blue-400; // Used for the selected indicator of a tab.
|
|
497
498
|
$gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
|
|
498
499
|
$gl-spinner-segment-color-default: $gl-color-neutral-200; // Used for the animated segment of a loading spinner.
|
|
499
500
|
$gl-spinner-track-color-light: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner on a dark background.
|
|
@@ -566,8 +567,9 @@ $gl-button-default-primary-background-color-hover: $gl-color-neutral-900; // Use
|
|
|
566
567
|
$gl-button-default-primary-background-color-default: $gl-color-neutral-900; // Used for the background of an default primary button in the default state.
|
|
567
568
|
$gl-button-default-primary-foreground-color-default: $gl-color-neutral-50; // Used for the foreground of a default primary button in the default state.
|
|
568
569
|
$gl-breadcrumb-separator-color: $gl-color-neutral-400; // Used for the breadcrumb level separator.
|
|
569
|
-
$gl-banner-promo-
|
|
570
|
-
$gl-banner-
|
|
570
|
+
$gl-banner-promo-border-color: $gl-color-purple-800; // Used for the border of a promo banner.
|
|
571
|
+
$gl-banner-promo-background-color: $gl-color-purple-950; // Used for the background of a promo banner.
|
|
572
|
+
$gl-banner-intro-border-color: $gl-color-blue-800; // Used for the border of an info banner.
|
|
571
573
|
$gl-badge-tier-icon-color-active: $gl-color-purple-950; // Used for the icon of a tier related badge in the active state.
|
|
572
574
|
$gl-badge-tier-icon-color-hover: $gl-color-purple-950; // Used for the icon of a tier related badge in the hover state.
|
|
573
575
|
$gl-badge-tier-icon-color-default: $gl-color-purple-950; // Used for the icon of a tier related badge when static or the default state when linked.
|
|
@@ -494,6 +494,7 @@ $gl-control-background-color-readonly: $gl-color-neutral-10; // Used for the bac
|
|
|
494
494
|
$gl-control-background-color-concatenation: $gl-color-neutral-10; // Used for the background of static content that prepends or appends a text input.
|
|
495
495
|
$gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
496
496
|
$gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
497
|
+
$gl-tab-selected-indicator-color-default: $gl-color-blue-500; // Used for the selected indicator of a tab.
|
|
497
498
|
$gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
|
|
498
499
|
$gl-spinner-segment-color-default: $gl-color-neutral-700; // Used for the animated segment of a loading spinner.
|
|
499
500
|
$gl-spinner-track-color-light: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner on a dark background.
|
|
@@ -566,8 +567,9 @@ $gl-button-default-primary-background-color-hover: $gl-color-neutral-50; // Used
|
|
|
566
567
|
$gl-button-default-primary-background-color-default: $gl-color-neutral-0; // Used for the background of an default primary button in the default state.
|
|
567
568
|
$gl-button-default-primary-foreground-color-default: $gl-color-neutral-800; // Used for the foreground of a default primary button in the default state.
|
|
568
569
|
$gl-breadcrumb-separator-color: $gl-color-neutral-400; // Used for the breadcrumb level separator.
|
|
569
|
-
$gl-banner-promo-
|
|
570
|
-
$gl-banner-
|
|
570
|
+
$gl-banner-promo-border-color: $gl-color-purple-100; // Used for the border of a promo banner.
|
|
571
|
+
$gl-banner-promo-background-color: $gl-color-purple-50; // Used for the background of a promo banner.
|
|
572
|
+
$gl-banner-intro-border-color: $gl-color-blue-100; // Used for the border of an info banner.
|
|
571
573
|
$gl-badge-tier-icon-color-active: $gl-color-purple-900; // Used for the icon of a tier related badge in the active state.
|
|
572
574
|
$gl-badge-tier-icon-color-hover: $gl-color-purple-800; // Used for the icon of a tier related badge in the hover state.
|
|
573
575
|
$gl-badge-tier-icon-color-default: $gl-color-purple-700; // Used for the icon of a tier related badge when static or the default state when linked.
|
|
@@ -429,6 +429,7 @@ $gl-badge-tier-icon-color-focus: var(--gl-badge-tier-icon-color-focus);
|
|
|
429
429
|
$gl-badge-tier-icon-color-active: var(--gl-badge-tier-icon-color-active);
|
|
430
430
|
$gl-banner-intro-border-color: var(--gl-banner-intro-border-color);
|
|
431
431
|
$gl-banner-promo-background-color: var(--gl-banner-promo-background-color);
|
|
432
|
+
$gl-banner-promo-border-color: var(--gl-banner-promo-border-color);
|
|
432
433
|
$gl-breadcrumb-separator-color: var(--gl-breadcrumb-separator-color);
|
|
433
434
|
$gl-button-default-primary-foreground-color-default: var(--gl-button-default-primary-foreground-color-default);
|
|
434
435
|
$gl-button-default-primary-foreground-color-hover: var(--gl-button-default-primary-foreground-color-hover);
|
|
@@ -572,6 +573,7 @@ $gl-spinner-segment-color-default: var(--gl-spinner-segment-color-default);
|
|
|
572
573
|
$gl-spinner-segment-color-light: var(--gl-spinner-segment-color-light);
|
|
573
574
|
$gl-table-row-background-color-hover: var(--gl-table-row-background-color-hover);
|
|
574
575
|
$gl-table-sorting-icon-color: var(--gl-table-sorting-icon-color);
|
|
576
|
+
$gl-tab-selected-indicator-color-default: var(--gl-tab-selected-indicator-color-default);
|
|
575
577
|
$gl-control-background-color-default: var(--gl-control-background-color-default);
|
|
576
578
|
$gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
|
|
577
579
|
$gl-control-background-color-concatenation: var(--gl-control-background-color-concatenation);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "89.
|
|
3
|
+
"version": "89.6.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@gitlab/eslint-plugin": "20.0.0",
|
|
115
115
|
"@gitlab/fonts": "^1.3.0",
|
|
116
116
|
"@gitlab/stylelint-config": "6.2.1",
|
|
117
|
-
"@gitlab/svgs": "3.
|
|
117
|
+
"@gitlab/svgs": "3.114.0",
|
|
118
118
|
"@jest/test-sequencer": "^29.7.0",
|
|
119
119
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
120
120
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
label {
|
|
7
7
|
@include gl-font-weight-bold;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.gl-datepicker-input {
|
|
11
|
-
@apply gl-border-gray-100;
|
|
12
|
-
@include gl-text-gray-900;
|
|
8
|
+
color: var(--gl-text-color-strong);
|
|
13
9
|
}
|
|
14
10
|
|
|
15
11
|
.gl-daterange-picker-indicator {
|
|
@@ -17,8 +13,8 @@
|
|
|
17
13
|
@include gl-flex-direction-row;
|
|
18
14
|
@include gl-align-items-center;
|
|
19
15
|
@include gl-align-self-end;
|
|
20
|
-
@include gl-text-gray-500;
|
|
21
16
|
@include gl-gap-3;
|
|
22
17
|
@include gl-h-7;
|
|
18
|
+
color: var(--gl-text-color-subtle);
|
|
23
19
|
}
|
|
24
20
|
}
|
|
@@ -332,7 +332,14 @@ export default {
|
|
|
332
332
|
>
|
|
333
333
|
<!-- @slot Content to display for days selected. The value is -1 when no date range is selected.-->
|
|
334
334
|
<slot v-bind="{ daysSelected: numberOfDays }"></slot>
|
|
335
|
-
<gl-icon
|
|
335
|
+
<gl-icon
|
|
336
|
+
v-if="tooltip"
|
|
337
|
+
v-gl-tooltip
|
|
338
|
+
name="information-o"
|
|
339
|
+
:title="tooltip"
|
|
340
|
+
:size="16"
|
|
341
|
+
variant="info"
|
|
342
|
+
/>
|
|
336
343
|
</div>
|
|
337
344
|
</div>
|
|
338
345
|
</template>
|
|
@@ -1,29 +1,34 @@
|
|
|
1
1
|
.gl-tabs-nav {
|
|
2
|
-
@apply gl-border-
|
|
2
|
+
@apply gl-border-b;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.gl-tab-nav-item {
|
|
6
6
|
position: relative;
|
|
7
|
-
@include gl-text-gray-900;
|
|
8
7
|
@include gl-px-4;
|
|
9
8
|
@include gl-py-5;
|
|
10
9
|
@include gl-line-height-normal;
|
|
11
10
|
@include gl-font-base;
|
|
12
11
|
@include gl-display-flex;
|
|
13
12
|
@include gl-justify-content-center;
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
@apply gl-border;
|
|
14
|
+
@include gl-action-neutral-colors;
|
|
15
|
+
transition:
|
|
16
|
+
box-shadow $gl-transition-duration-medium $gl-easing-out-cubic,
|
|
17
|
+
background-color $gl-transition-duration-medium $gl-easing-out-cubic,
|
|
18
|
+
border-radius $gl-transition-duration-fast $gl-easing-out-cubic;
|
|
17
19
|
|
|
18
20
|
&::before {
|
|
19
21
|
content: '';
|
|
20
22
|
position: absolute;
|
|
21
|
-
bottom: 0;
|
|
22
|
-
width: 100%;
|
|
23
23
|
border-bottom: $gl-border-size-2 solid transparent;
|
|
24
24
|
translate: 0 $gl-border-size-2;
|
|
25
|
-
transition:
|
|
26
|
-
|
|
25
|
+
transition:
|
|
26
|
+
border-bottom $gl-transition-duration-medium $gl-easing-out-cubic,
|
|
27
|
+
translate $gl-transition-duration-medium $gl-easing-out-cubic;
|
|
28
|
+
//offsets the bottom border from the parent border
|
|
29
|
+
bottom: -$gl-border-size-1;
|
|
30
|
+
left: -$gl-border-size-1;
|
|
31
|
+
right: -$gl-border-size-1;
|
|
27
32
|
}
|
|
28
33
|
|
|
29
34
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -32,12 +37,8 @@
|
|
|
32
37
|
}
|
|
33
38
|
}
|
|
34
39
|
|
|
35
|
-
&:hover {
|
|
36
|
-
@include gl-text-gray-900;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
40
|
&:hover:not(.gl-tab-nav-item-active)::before {
|
|
40
|
-
border-bottom-color:
|
|
41
|
+
border-bottom-color: var(--gl-border-color-strong);
|
|
41
42
|
translate: 0;
|
|
42
43
|
}
|
|
43
44
|
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
&.disabled {
|
|
49
50
|
@include gl-pointer-events-auto;
|
|
50
51
|
@include gl-cursor-not-allowed;
|
|
51
|
-
|
|
52
|
+
color: var(--gl-action-disabled-foreground-color);
|
|
52
53
|
|
|
53
54
|
&:hover {
|
|
54
55
|
@include gl-shadow-none;
|
|
@@ -65,23 +66,38 @@
|
|
|
65
66
|
@include gl-py-3;
|
|
66
67
|
@include gl-font-base;
|
|
67
68
|
@include gl-line-height-normal;
|
|
68
|
-
|
|
69
|
+
color: var(--gl-text-color-default);
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
.gl-tab-nav-item-active {
|
|
72
73
|
@include gl-font-weight-bold;
|
|
73
|
-
@include gl-text-gray-900;
|
|
74
74
|
z-index: 1;
|
|
75
75
|
|
|
76
76
|
&:active,
|
|
77
77
|
&:focus,
|
|
78
78
|
&:focus:active {
|
|
79
|
-
@include gl-
|
|
80
|
-
|
|
79
|
+
@include gl-focus($color: var(--gl-action-neutral-border-color-active));
|
|
80
|
+
|
|
81
|
+
.gl-scrollable-tabs-nav & {
|
|
82
|
+
@include gl-focus($inset: true);
|
|
83
|
+
|
|
84
|
+
&::before {
|
|
85
|
+
border-radius: 0 0 $gl-border-size-1 $gl-border-size-1;
|
|
86
|
+
left: $gl-border-size-3;
|
|
87
|
+
right: $gl-border-size-3;
|
|
88
|
+
bottom: $gl-border-size-3;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&::before {
|
|
93
|
+
border-radius: 0 0 $gl-border-size-2 $gl-border-size-2;
|
|
94
|
+
left: 0;
|
|
95
|
+
right: 0;
|
|
96
|
+
}
|
|
81
97
|
}
|
|
82
98
|
|
|
83
99
|
&::before {
|
|
84
|
-
border-bottom-color:
|
|
100
|
+
border-bottom-color: var(--gl-tab-selected-indicator-color-default);
|
|
85
101
|
translate: 0;
|
|
86
102
|
}
|
|
87
103
|
}
|
|
@@ -121,25 +137,23 @@
|
|
|
121
137
|
@include gl-w-8;
|
|
122
138
|
bottom: 0;
|
|
123
139
|
position: sticky;
|
|
124
|
-
@include gl-text-gray-500;
|
|
125
140
|
@include gl-p-2;
|
|
126
141
|
}
|
|
127
142
|
|
|
128
143
|
.gl-tabs-fade-left {
|
|
129
144
|
left: 0;
|
|
130
|
-
@include gl-bg-gradient-blur(left,
|
|
145
|
+
@include gl-bg-gradient-blur(left, var(--gl-background-color-default));
|
|
131
146
|
}
|
|
132
147
|
|
|
133
148
|
.gl-tabs-fade-right {
|
|
134
149
|
right: 0;
|
|
135
|
-
@include gl-bg-gradient-blur(right,
|
|
150
|
+
@include gl-bg-gradient-blur(right, var(--gl-background-color-default));
|
|
136
151
|
}
|
|
137
152
|
|
|
138
153
|
.gl-tabs-fade-icon-button {
|
|
139
|
-
@
|
|
140
|
-
@
|
|
154
|
+
@apply gl-border;
|
|
155
|
+
@include gl-action-neutral-colors;
|
|
141
156
|
@include gl-p-0;
|
|
142
|
-
@include gl-text-gray-400;
|
|
143
157
|
@include gl-h-full;
|
|
144
158
|
}
|
|
145
159
|
|
package/src/scss/mixins.scss
CHANGED
|
@@ -197,3 +197,27 @@
|
|
|
197
197
|
line-height: $gl-line-height-heading;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
+
|
|
201
|
+
@mixin gl-action-neutral-colors {
|
|
202
|
+
color: var(--gl-action-neutral-foreground-color-default);
|
|
203
|
+
background-color: var(--gl-action-neutral-background-color-default);
|
|
204
|
+
border-color: var(--gl-action-neutral-border-color-default);
|
|
205
|
+
|
|
206
|
+
&:hover {
|
|
207
|
+
color: var(--gl-action-neutral-foreground-color-hover);
|
|
208
|
+
background-color: var(--gl-action-neutral-background-color-hover);
|
|
209
|
+
border-color: var(--gl-action-neutral-border-color-hover);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&:focus {
|
|
213
|
+
color: var(--gl-action-neutral-foreground-color-focus);
|
|
214
|
+
background-color: var(--gl-action-neutral-background-color-focus);
|
|
215
|
+
border-color: var(--gl-action-neutral-border-color-focus);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&:active {
|
|
219
|
+
color: var(--gl-action-neutral-foreground-color-active);
|
|
220
|
+
background-color: var(--gl-action-neutral-background-color-active);
|
|
221
|
+
border-color: var(--gl-action-neutral-border-color-active);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -496,6 +496,7 @@
|
|
|
496
496
|
--gl-control-background-color-concatenation: var(--gl-color-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
|
|
497
497
|
--gl-control-background-color-disabled: var(--gl-color-neutral-10); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
498
498
|
--gl-control-background-color-default: var(--gl-color-neutral-0); /* Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
499
|
+
--gl-tab-selected-indicator-color-default: var(--gl-color-blue-500); /* Used for the selected indicator of a tab. */
|
|
499
500
|
--gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
|
|
500
501
|
--gl-spinner-segment-color-default: var(--gl-color-neutral-700); /* Used for the animated segment of a loading spinner. */
|
|
501
502
|
--gl-spinner-track-color-light: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner on a dark background. */
|
|
@@ -568,8 +569,9 @@
|
|
|
568
569
|
--gl-button-default-primary-background-color-default: var(--gl-color-neutral-0); /* Used for the background of an default primary button in the default state. */
|
|
569
570
|
--gl-button-default-primary-foreground-color-default: var(--gl-color-neutral-800); /* Used for the foreground of a default primary button in the default state. */
|
|
570
571
|
--gl-breadcrumb-separator-color: var(--gl-color-neutral-400); /* Used for the breadcrumb level separator. */
|
|
571
|
-
--gl-banner-promo-
|
|
572
|
-
--gl-banner-
|
|
572
|
+
--gl-banner-promo-border-color: var(--gl-color-purple-100); /* Used for the border of a promo banner. */
|
|
573
|
+
--gl-banner-promo-background-color: var(--gl-color-purple-50); /* Used for the background of a promo banner. */
|
|
574
|
+
--gl-banner-intro-border-color: var(--gl-color-blue-100); /* Used for the border of an info banner. */
|
|
573
575
|
--gl-badge-tier-icon-color-active: var(--gl-color-purple-900); /* Used for the icon of a tier related badge in the active state. */
|
|
574
576
|
--gl-badge-tier-icon-color-hover: var(--gl-color-purple-800); /* Used for the icon of a tier related badge in the hover state. */
|
|
575
577
|
--gl-badge-tier-icon-color-default: var(--gl-color-purple-700); /* Used for the icon of a tier related badge when static or the default state when linked. */
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
--gl-feedback-success-background-color: var(--gl-color-green-900); /* Used for the background of a success feedback item when confirming the successful completion of a user-initiated action. */
|
|
472
472
|
--gl-feedback-info-icon-color: var(--gl-color-blue-300); /* Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
473
473
|
--gl-feedback-info-text-color: var(--gl-color-blue-200); /* Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
474
|
-
--gl-feedback-info-background-color: var(--gl-color-blue-
|
|
474
|
+
--gl-feedback-info-background-color: var(--gl-color-blue-950); /* Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
475
475
|
--gl-feedback-neutral-icon-color: var(--gl-color-neutral-300); /* Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
476
476
|
--gl-feedback-neutral-text-color: var(--gl-color-neutral-200); /* Used for the text of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
477
477
|
--gl-feedback-neutral-background-color: var(--gl-color-neutral-900); /* Used for the background of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
@@ -496,6 +496,7 @@
|
|
|
496
496
|
--gl-control-background-color-concatenation: var(--gl-color-alpha-light-4); /* Used for the background of static content that prepends or appends a text input. */
|
|
497
497
|
--gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
498
498
|
--gl-control-background-color-default: var(--gl-color-alpha-dark-40); /* Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
499
|
+
--gl-tab-selected-indicator-color-default: var(--gl-color-blue-400); /* Used for the selected indicator of a tab. */
|
|
499
500
|
--gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
|
|
500
501
|
--gl-spinner-segment-color-default: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner. */
|
|
501
502
|
--gl-spinner-track-color-light: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner on a dark background. */
|
|
@@ -568,8 +569,9 @@
|
|
|
568
569
|
--gl-button-default-primary-background-color-default: var(--gl-color-neutral-900); /* Used for the background of an default primary button in the default state. */
|
|
569
570
|
--gl-button-default-primary-foreground-color-default: var(--gl-color-neutral-50); /* Used for the foreground of a default primary button in the default state. */
|
|
570
571
|
--gl-breadcrumb-separator-color: var(--gl-color-neutral-400); /* Used for the breadcrumb level separator. */
|
|
571
|
-
--gl-banner-promo-
|
|
572
|
-
--gl-banner-
|
|
572
|
+
--gl-banner-promo-border-color: var(--gl-color-purple-800); /* Used for the border of a promo banner. */
|
|
573
|
+
--gl-banner-promo-background-color: var(--gl-color-purple-950); /* Used for the background of a promo banner. */
|
|
574
|
+
--gl-banner-intro-border-color: var(--gl-color-blue-800); /* Used for the border of an info banner. */
|
|
573
575
|
--gl-badge-tier-icon-color-active: var(--gl-color-purple-950); /* Used for the icon of a tier related badge in the active state. */
|
|
574
576
|
--gl-badge-tier-icon-color-hover: var(--gl-color-purple-950); /* Used for the icon of a tier related badge in the hover state. */
|
|
575
577
|
--gl-badge-tier-icon-color-default: var(--gl-color-purple-950); /* Used for the icon of a tier related badge when static or the default state when linked. */
|
|
@@ -427,8 +427,9 @@ export const GL_BADGE_TIER_ICON_COLOR_DEFAULT = '#232150'; // Used for the icon
|
|
|
427
427
|
export const GL_BADGE_TIER_ICON_COLOR_HOVER = '#232150'; // Used for the icon of a tier related badge in the hover state.
|
|
428
428
|
export const GL_BADGE_TIER_ICON_COLOR_FOCUS = '#232150'; // Used for the icon of a tier related badge in the focus state.
|
|
429
429
|
export const GL_BADGE_TIER_ICON_COLOR_ACTIVE = '#232150'; // Used for the icon of a tier related badge in the active state.
|
|
430
|
-
export const GL_BANNER_INTRO_BORDER_COLOR = '#
|
|
431
|
-
export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#
|
|
430
|
+
export const GL_BANNER_INTRO_BORDER_COLOR = '#064787'; // Used for the border of an info banner.
|
|
431
|
+
export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#232150'; // Used for the background of a promo banner.
|
|
432
|
+
export const GL_BANNER_PROMO_BORDER_COLOR = '#453894'; // Used for the border of a promo banner.
|
|
432
433
|
export const GL_BREADCRUMB_SEPARATOR_COLOR = '#89888d'; // Used for the breadcrumb level separator.
|
|
433
434
|
export const GL_BUTTON_DEFAULT_PRIMARY_FOREGROUND_COLOR_DEFAULT = '#ececef'; // Used for the foreground of a default primary button in the default state.
|
|
434
435
|
export const GL_BUTTON_DEFAULT_PRIMARY_FOREGROUND_COLOR_HOVER = '#ececef'; // Used for the foreground of a default primary button in the hover state.
|
|
@@ -572,6 +573,7 @@ export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#bfbfc3'; // Used for the anima
|
|
|
572
573
|
export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animated segment of a loading spinner on a dark background.
|
|
573
574
|
export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#28272d'; // Used for the background of a table row in hover state.
|
|
574
575
|
export const GL_TABLE_SORTING_ICON_COLOR = '#fff'; // Used for the color of the sorting icons in the column headers.
|
|
576
|
+
export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for the selected indicator of a tab.
|
|
575
577
|
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)'; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
576
578
|
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = 'rgba(255, 255, 255, 0.04)'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
577
579
|
export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = 'rgba(255, 255, 255, 0.04)'; // Used for the background of static content that prepends or appends a text input.
|
|
@@ -764,7 +766,7 @@ export const GL_FEEDBACK_STRONG_LINK_COLOR = '#0b5cad'; // Used for a link on a
|
|
|
764
766
|
export const GL_FEEDBACK_NEUTRAL_BACKGROUND_COLOR = '#28272d'; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
765
767
|
export const GL_FEEDBACK_NEUTRAL_TEXT_COLOR = '#bfbfc3'; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
766
768
|
export const GL_FEEDBACK_NEUTRAL_ICON_COLOR = '#a4a3a8'; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
|
|
767
|
-
export const GL_FEEDBACK_INFO_BACKGROUND_COLOR = '#
|
|
769
|
+
export const GL_FEEDBACK_INFO_BACKGROUND_COLOR = '#002850'; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
768
770
|
export const GL_FEEDBACK_INFO_TEXT_COLOR = '#9dc7f1'; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
769
771
|
export const GL_FEEDBACK_INFO_ICON_COLOR = '#63a6e9'; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
|
|
770
772
|
export const GL_FEEDBACK_SUCCESS_BACKGROUND_COLOR = '#0a4020'; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
|
|
@@ -427,8 +427,9 @@ export const GL_BADGE_TIER_ICON_COLOR_DEFAULT = '#5943b6'; // Used for the icon
|
|
|
427
427
|
export const GL_BADGE_TIER_ICON_COLOR_HOVER = '#453894'; // Used for the icon of a tier related badge in the hover state.
|
|
428
428
|
export const GL_BADGE_TIER_ICON_COLOR_FOCUS = '#453894'; // Used for the icon of a tier related badge in the focus state.
|
|
429
429
|
export const GL_BADGE_TIER_ICON_COLOR_ACTIVE = '#2f2a6b'; // Used for the icon of a tier related badge in the active state.
|
|
430
|
-
export const GL_BANNER_INTRO_BORDER_COLOR = '#
|
|
431
|
-
export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#
|
|
430
|
+
export const GL_BANNER_INTRO_BORDER_COLOR = '#cbe2f9'; // Used for the border of an info banner.
|
|
431
|
+
export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#f4f0ff'; // Used for the background of a promo banner.
|
|
432
|
+
export const GL_BANNER_PROMO_BORDER_COLOR = '#e1d8f9'; // Used for the border of a promo banner.
|
|
432
433
|
export const GL_BREADCRUMB_SEPARATOR_COLOR = '#89888d'; // Used for the breadcrumb level separator.
|
|
433
434
|
export const GL_BUTTON_DEFAULT_PRIMARY_FOREGROUND_COLOR_DEFAULT = '#3a383f'; // Used for the foreground of a default primary button in the default state.
|
|
434
435
|
export const GL_BUTTON_DEFAULT_PRIMARY_FOREGROUND_COLOR_HOVER = '#3a383f'; // Used for the foreground of a default primary button in the hover state.
|
|
@@ -572,6 +573,7 @@ export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#4c4b51'; // Used for the anima
|
|
|
572
573
|
export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animated segment of a loading spinner on a dark background.
|
|
573
574
|
export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#fbfafd'; // Used for the background of a table row in hover state.
|
|
574
575
|
export const GL_TABLE_SORTING_ICON_COLOR = '#18171d'; // Used for the color of the sorting icons in the column headers.
|
|
576
|
+
export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for the selected indicator of a tab.
|
|
575
577
|
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
576
578
|
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
577
579
|
export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
|