@gitlab/ui 93.0.0 → 93.2.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 +19 -0
- package/dist/components/base/alert/alert.js +1 -0
- package/dist/components/base/avatar/avatar.js +7 -1
- package/dist/components/base/datepicker/datepicker.js +3 -1
- package/dist/components/base/drawer/drawer.js +1 -0
- package/dist/components/base/form/form_fields/form_fields.js +3 -2
- package/dist/components/base/form/form_input/form_input.js +7 -1
- package/dist/components/base/form/form_select/form_select.js +7 -1
- package/dist/components/base/toast/toast.js +1 -0
- package/dist/components/base/token/token.js +1 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.js +2 -1
- package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +4 -3
- package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +8 -8
- package/dist/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.js +7 -4
- package/dist/components/experimental/duo/chat/duo_chat.js +13 -12
- package/dist/index.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +2 -1
- package/dist/tokens/build/js/tokens.js +2 -1
- package/dist/tokens/css/tokens.css +1 -0
- package/dist/tokens/css/tokens.dark.css +1 -0
- package/dist/tokens/js/tokens.dark.js +1 -0
- package/dist/tokens/js/tokens.js +1 -0
- package/dist/tokens/json/tokens.dark.json +22 -0
- package/dist/tokens/json/tokens.json +22 -0
- package/dist/tokens/scss/_tokens.dark.scss +1 -0
- package/dist/tokens/scss/_tokens.scss +1 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +1 -0
- package/dist/tokens/tailwind/tokens.cjs +1 -0
- package/dist/utils/set_utils.js +25 -0
- package/package.json +1 -1
- package/src/components/base/accordion/accordion_item.scss +1 -1
- package/src/components/base/alert/alert.scss +8 -8
- package/src/components/base/alert/alert.vue +1 -0
- package/src/components/base/avatar/avatar.scss +6 -6
- package/src/components/base/avatar/avatar.vue +4 -0
- package/src/components/base/avatar_labeled/avatar_labeled.scss +9 -9
- package/src/components/base/avatar_link/avatar_link.scss +6 -6
- package/src/components/base/avatars_inline/avatars_inline.scss +9 -9
- package/src/components/base/badge/badge.scss +6 -6
- package/src/components/base/banner/banner.scss +1 -1
- package/src/components/base/breadcrumb/breadcrumb.scss +8 -8
- package/src/components/base/broadcast_message/broadcast_message.scss +9 -9
- package/src/components/base/button/button.scss +18 -18
- package/src/components/base/card/card.scss +4 -4
- package/src/components/base/datepicker/datepicker.scss +14 -14
- package/src/components/base/datepicker/datepicker.vue +1 -0
- package/src/components/base/daterange_picker/daterange_picker.scss +7 -7
- package/src/components/base/drawer/drawer.scss +14 -14
- package/src/components/base/drawer/drawer.vue +1 -0
- package/src/components/base/dropdown/dropdown.scss +15 -15
- package/src/components/base/dropdown/dropdown_item.scss +15 -15
- package/src/components/base/dropdown/dropdown_section_header.scss +4 -4
- package/src/components/base/filtered_search/filtered_search.scss +9 -9
- package/src/components/base/filtered_search/filtered_search_suggestion.scss +2 -2
- package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +2 -2
- package/src/components/base/filtered_search/filtered_search_token.scss +9 -9
- package/src/components/base/filtered_search/filtered_search_token_segment.scss +3 -3
- package/src/components/base/form/form_checkbox/form_checkbox.scss +10 -10
- package/src/components/base/form/form_fields/form_fields.vue +3 -2
- package/src/components/base/form/form_group/form_group.scss +6 -6
- package/src/components/base/form/form_input/form_input.scss +2 -2
- package/src/components/base/form/form_input/form_input.vue +3 -0
- package/src/components/base/form/form_radio_group/form_radio_group.scss +2 -2
- package/src/components/base/form/form_select/form_select.scss +3 -3
- package/src/components/base/form/form_select/form_select.vue +3 -0
- package/src/components/base/infinite_scroll/infinite_scroll.scss +2 -2
- package/src/components/base/label/label.scss +12 -12
- package/src/components/base/link/link.scss +1 -1
- package/src/components/base/loading_icon/loading_icon.scss +4 -4
- package/src/components/base/markdown/markdown.scss +14 -14
- package/src/components/base/modal/modal.scss +12 -12
- package/src/components/base/new_dropdowns/dropdown.scss +21 -17
- package/src/components/base/new_dropdowns/dropdown_item.scss +10 -10
- package/src/components/base/new_dropdowns/listbox/listbox.scss +4 -4
- package/src/components/base/pagination/pagination.scss +5 -5
- package/src/components/base/path/path.scss +11 -11
- package/src/components/base/popover/popover.scss +1 -1
- package/src/components/base/search_box_by_click/search_box_by_click.scss +5 -5
- package/src/components/base/search_box_by_type/search_box_by_type.scss +9 -9
- package/src/components/base/segmented_control/segmented_control.scss +4 -4
- package/src/components/base/table/table.scss +6 -6
- package/src/components/base/tabs/tabs/tabs.scss +18 -18
- package/src/components/base/toast/toast.js +1 -0
- package/src/components/base/toast/toast.scss +10 -10
- package/src/components/base/toggle/toggle.scss +17 -17
- package/src/components/base/token/token.scss +13 -13
- package/src/components/base/token/token.vue +1 -0
- package/src/components/base/tooltip/tooltip.scss +3 -3
- package/src/components/charts/legend/legend.scss +17 -17
- package/src/components/charts/series_label/series_label.scss +6 -6
- package/src/components/charts/single_stat/single_stat.scss +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.md +10 -0
- package/src/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.vue +2 -1
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.scss +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +12 -3
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +4 -4
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +20 -9
- package/src/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.vue +5 -4
- package/src/components/experimental/duo/chat/duo_chat.scss +15 -15
- package/src/components/experimental/duo/chat/duo_chat.vue +43 -16
- package/src/components/shared_components/charts/tooltip_default_format.scss +5 -5
- package/src/scss/typescale/_index.scss +15 -15
- package/src/tokens/build/css/tokens.css +1 -0
- package/src/tokens/build/css/tokens.dark.css +1 -0
- package/src/tokens/build/js/tokens.dark.js +1 -0
- package/src/tokens/build/js/tokens.js +1 -0
- package/src/tokens/build/json/tokens.dark.json +22 -0
- package/src/tokens/build/json/tokens.json +22 -0
- package/src/tokens/build/scss/_tokens.dark.scss +1 -0
- package/src/tokens/build/scss/_tokens.scss +1 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +1 -0
- package/src/tokens/build/tailwind/tokens.cjs +1 -0
- package/src/tokens/text.tokens.json +8 -0
- package/src/utils/set_utils.js +24 -0
- package/translations.js +33 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.gl-avatar-link {
|
|
2
|
-
@
|
|
2
|
+
@apply gl-inline-flex;
|
|
3
3
|
|
|
4
4
|
.gl-avatar {
|
|
5
5
|
@include gl-transition-property-border-color;
|
|
6
|
-
@
|
|
7
|
-
@
|
|
6
|
+
@apply gl-duration-slow;
|
|
7
|
+
@apply gl-ease-ease;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
&:hover {
|
|
11
|
-
@
|
|
11
|
+
@apply gl-no-underline;
|
|
12
12
|
|
|
13
13
|
.gl-avatar {
|
|
14
14
|
outline: 1px solid var(--gl-avatar-border-color-hover);
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
|
|
17
17
|
.gl-avatar-labeled {
|
|
18
18
|
&-label {
|
|
19
|
-
@
|
|
19
|
+
@apply gl-underline;
|
|
20
20
|
@include gl-text-decoration-color-gray-900;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&-sublabel {
|
|
24
|
-
@
|
|
24
|
+
@apply gl-underline;
|
|
25
25
|
@include gl-text-decoration-color-gray-500;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// Mask size plus border cutout effect
|
|
8
8
|
--mask-cutout: calc(var(--avatar-radius) + 1.5px);
|
|
9
9
|
|
|
10
|
-
@
|
|
10
|
+
@apply gl-inline-flex;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.gl-avatars-inline-sm {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.gl-avatars-inline-child {
|
|
26
|
-
@
|
|
26
|
+
@apply gl-inline-flex;
|
|
27
27
|
|
|
28
28
|
// Don't include the badge
|
|
29
29
|
&:not(:last-child) {
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
// Remove mask on hovered or focused avatar and bring it forward
|
|
40
40
|
&:not(:last-child):hover,
|
|
41
41
|
&:not(:last-child):focus-within {
|
|
42
|
-
@
|
|
42
|
+
@apply gl-z-1;
|
|
43
43
|
mask: none;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.gl-avatars-inline-badge {
|
|
48
|
-
@
|
|
49
|
-
@
|
|
50
|
-
@
|
|
51
|
-
@
|
|
48
|
+
@apply gl-inline-flex;
|
|
49
|
+
@apply gl-items-center;
|
|
50
|
+
@apply gl-justify-center;
|
|
51
|
+
@apply gl-text-sm;
|
|
52
52
|
@apply gl-px-2;
|
|
53
|
-
@
|
|
53
|
+
@apply gl-leading-normal;
|
|
54
54
|
@include gl-rounded-pill;
|
|
55
55
|
background-color: var(--gl-status-neutral-background-color);
|
|
56
56
|
color: var(--gl-status-neutral-text-color);
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
min-width: var(--avatar-size);
|
|
59
59
|
|
|
60
60
|
&.lg {
|
|
61
|
-
@
|
|
61
|
+
@apply gl-text-base;
|
|
62
62
|
@include gl-rounded-6;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -33,7 +33,7 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
33
33
|
// Needed to override bootstrap's badge variant background
|
|
34
34
|
background-color: $hover-background-color;
|
|
35
35
|
box-shadow: inset 0 0 0 $gl-border-size-1 $hover-border-color;
|
|
36
|
-
@
|
|
36
|
+
@apply gl-no-underline;
|
|
37
37
|
|
|
38
38
|
.gl-badge-icon {
|
|
39
39
|
color: $hover-icon-color;
|
|
@@ -71,9 +71,9 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
71
71
|
/* Basic badge styles */
|
|
72
72
|
|
|
73
73
|
.gl-badge {
|
|
74
|
-
@
|
|
75
|
-
@
|
|
76
|
-
@
|
|
74
|
+
@apply gl-text-sm;
|
|
75
|
+
@apply gl-font-normal;
|
|
76
|
+
@apply gl-leading-normal;
|
|
77
77
|
|
|
78
78
|
/*
|
|
79
79
|
CSS Grid is used here to deal with 3 cases:
|
|
@@ -106,7 +106,7 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
106
106
|
.gl-badge-icon {
|
|
107
107
|
@include gl-h-5;
|
|
108
108
|
@include gl-w-5;
|
|
109
|
-
@
|
|
109
|
+
@apply gl-shrink-0;
|
|
110
110
|
top: auto;
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -247,5 +247,5 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
247
247
|
|
|
248
248
|
.gl-new-dropdown-contents .gl-badge,
|
|
249
249
|
.gl-tab-nav-item .gl-badge {
|
|
250
|
-
@
|
|
250
|
+
@apply -gl-my-1;
|
|
251
251
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
$breadcrumb-max-width: $grid-size * 16;
|
|
3
3
|
|
|
4
4
|
.gl-breadcrumbs {
|
|
5
|
-
@
|
|
5
|
+
@apply gl-flex;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.gl-breadcrumb-list {
|
|
9
9
|
@include gl-bg-transparent;
|
|
10
10
|
@apply gl-p-0;
|
|
11
|
-
@
|
|
12
|
-
@
|
|
11
|
+
@apply gl-items-center;
|
|
12
|
+
@apply gl-leading-normal;
|
|
13
13
|
@apply gl-m-0;
|
|
14
14
|
@include gl-flex-nowrap;
|
|
15
15
|
@include gl-max-w-full;
|
|
@@ -17,9 +17,9 @@ $breadcrumb-max-width: $grid-size * 16;
|
|
|
17
17
|
|
|
18
18
|
// bootstrap overrides
|
|
19
19
|
.gl-breadcrumb-item {
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
20
|
+
@apply gl-text-sm;
|
|
21
|
+
@apply gl-leading-normal;
|
|
22
|
+
@apply gl-shrink-0;
|
|
23
23
|
|
|
24
24
|
&:not(:last-child)::after {
|
|
25
25
|
color: var(--gl-breadcrumb-separator-color);
|
|
@@ -28,7 +28,7 @@ $breadcrumb-max-width: $grid-size * 16;
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
> a {
|
|
31
|
-
@
|
|
31
|
+
@apply gl-inline-block;
|
|
32
32
|
border-radius: $gl-border-radius-base;
|
|
33
33
|
color: var(--gl-text-color-subtle);
|
|
34
34
|
text-decoration-thickness: auto;
|
|
@@ -52,5 +52,5 @@ $breadcrumb-max-width: $grid-size * 16;
|
|
|
52
52
|
|
|
53
53
|
.gl-breadcrumb-item:last-child > a {
|
|
54
54
|
color: var(--gl-text-color-default);
|
|
55
|
-
@
|
|
55
|
+
@apply gl-font-bold;
|
|
56
56
|
}
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
$gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
|
|
10
10
|
|
|
11
11
|
.gl-broadcast-message {
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
12
|
+
@apply gl-flex;
|
|
13
|
+
@apply gl-justify-between;
|
|
14
|
+
@apply gl-items-start;
|
|
15
|
+
@apply gl-text-base;
|
|
16
|
+
@apply gl-leading-20;
|
|
17
17
|
padding-left: calc(#{$gl-spacing-scale-5} + #{$gl-broadcast-message-padding-x});
|
|
18
18
|
padding-right: calc(#{$gl-spacing-scale-4} + #{$gl-broadcast-message-padding-x});
|
|
19
19
|
@apply gl-py-5;
|
|
@@ -108,8 +108,8 @@ $gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
&-content {
|
|
111
|
-
@
|
|
112
|
-
@
|
|
111
|
+
@apply gl-flex;
|
|
112
|
+
@apply gl-justify-center;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
&-icon {
|
|
@@ -117,7 +117,7 @@ $gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
|
|
|
117
117
|
line-height: $gl-line-height-16;
|
|
118
118
|
|
|
119
119
|
> svg {
|
|
120
|
-
@
|
|
120
|
+
@apply gl-align-bottom;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -128,7 +128,7 @@ $gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
&-dismiss {
|
|
131
|
-
@
|
|
131
|
+
@apply -gl-my-2;
|
|
132
132
|
@apply gl-ml-5;
|
|
133
133
|
color: inherit !important;
|
|
134
134
|
}
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
|
|
62
62
|
// low specificity so that display can be overridden to hide buttons
|
|
63
63
|
.gl-button {
|
|
64
|
-
@
|
|
64
|
+
@apply gl-inline-flex;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.gl-button:not(.btn-link) {
|
|
68
68
|
&:focus,
|
|
69
69
|
&:active,
|
|
70
70
|
&:focus:active {
|
|
71
|
-
@
|
|
71
|
+
@apply gl-no-underline;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
@apply gl-py-3;
|
|
80
80
|
@apply gl-px-4;
|
|
81
81
|
background-color: var(--gl-button-default-primary-background-color-default);
|
|
82
|
-
@
|
|
82
|
+
@apply gl-leading-normal;
|
|
83
83
|
color: var(--gl-button-default-primary-foreground-color-default);
|
|
84
84
|
@include gl-fill-current-color;
|
|
85
85
|
@include gl-button-border(var(--gl-button-default-primary-border-color-default));
|
|
86
|
-
@
|
|
87
|
-
@
|
|
88
|
-
@
|
|
86
|
+
@apply gl-justify-center;
|
|
87
|
+
@apply gl-items-center;
|
|
88
|
+
@apply gl-text-base;
|
|
89
89
|
|
|
90
90
|
@media (forced-colors: active) {
|
|
91
91
|
border: 1px solid;
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
|
|
94
94
|
.gl-button-text {
|
|
95
95
|
@include gl-overflow-hidden;
|
|
96
|
-
@
|
|
97
|
-
@
|
|
96
|
+
@apply gl-text-ellipsis;
|
|
97
|
+
@apply gl-whitespace-nowrap;
|
|
98
98
|
// Added to address a FF bug which causes cut off text: https://bugzilla.mozilla.org/show_bug.cgi?id=1406552
|
|
99
99
|
padding-top: 1px;
|
|
100
100
|
padding-bottom: 1px;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
.gl-button-icon {
|
|
106
106
|
@include gl-h-5;
|
|
107
107
|
@include gl-w-5;
|
|
108
|
-
@
|
|
108
|
+
@apply gl-shrink-0;
|
|
109
109
|
@apply gl-mr-2;
|
|
110
110
|
top: auto;
|
|
111
111
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
gl-emoji {
|
|
114
114
|
@apply gl-mr-2;
|
|
115
115
|
position: relative;
|
|
116
|
-
@
|
|
116
|
+
@apply gl-text-lg;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
&.btn-default,
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
&.btn-success-tertiary {
|
|
371
371
|
@include gl-bg-transparent;
|
|
372
372
|
@include gl-text-green-500;
|
|
373
|
-
@
|
|
373
|
+
@apply gl-font-normal;
|
|
374
374
|
@include gl-inset-border-1-green-500;
|
|
375
375
|
|
|
376
376
|
&:hover {
|
|
@@ -400,11 +400,11 @@
|
|
|
400
400
|
&.btn-sm {
|
|
401
401
|
@apply gl-py-2;
|
|
402
402
|
@apply gl-px-3;
|
|
403
|
-
@
|
|
404
|
-
@
|
|
403
|
+
@apply gl-leading-normal;
|
|
404
|
+
@apply gl-text-base;
|
|
405
405
|
|
|
406
406
|
gl-emoji {
|
|
407
|
-
@
|
|
407
|
+
@apply gl-text-sm;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
|
|
443
443
|
&.btn-icon {
|
|
444
444
|
@apply gl-p-3;
|
|
445
|
-
@
|
|
445
|
+
@apply gl-leading-normal;
|
|
446
446
|
|
|
447
447
|
.gl-button-icon {
|
|
448
448
|
@apply gl-mr-0;
|
|
@@ -477,8 +477,8 @@
|
|
|
477
477
|
&.btn-link {
|
|
478
478
|
@include gl-bg-transparent;
|
|
479
479
|
@apply gl-border-0;
|
|
480
|
-
@
|
|
481
|
-
@
|
|
480
|
+
@apply gl-text-base;
|
|
481
|
+
@apply gl-leading-normal;
|
|
482
482
|
color: var(--gl-button-link-text-color-default);
|
|
483
483
|
@apply gl-py-0;
|
|
484
484
|
@apply gl-px-0;
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
|
|
492
492
|
&:active {
|
|
493
493
|
color: var(--gl-button-link-text-color-active);
|
|
494
|
-
@
|
|
494
|
+
@apply gl-underline;
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
&:active,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
background-color: var(--gl-background-color-default);
|
|
3
3
|
@apply gl-border-solid;
|
|
4
4
|
@apply gl-rounded-base;
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
5
|
+
@apply gl-flex;
|
|
6
|
+
@apply gl-flex-col;
|
|
7
|
+
@apply gl-break-words;
|
|
8
8
|
position: relative;
|
|
9
|
-
@
|
|
9
|
+
@apply gl-text-base;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.gl-card,
|
|
@@ -20,14 +20,14 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
20
20
|
@import 'pikaday/scss/pikaday';
|
|
21
21
|
|
|
22
22
|
.gl-datepicker-actions {
|
|
23
|
-
@
|
|
23
|
+
@apply gl-text-sm;
|
|
24
24
|
position: absolute;
|
|
25
25
|
top: 0;
|
|
26
26
|
bottom: 0;
|
|
27
27
|
right: 0;
|
|
28
|
-
@
|
|
29
|
-
@
|
|
30
|
-
@
|
|
28
|
+
@apply gl-flex;
|
|
29
|
+
@apply gl-justify-center;
|
|
30
|
+
@apply gl-items-center;
|
|
31
31
|
@include gl-pointer-events-none;
|
|
32
32
|
@apply gl-px-2;
|
|
33
33
|
|
|
@@ -60,7 +60,7 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.pika-title {
|
|
63
|
-
@
|
|
63
|
+
@apply gl-leading-normal;
|
|
64
64
|
@apply gl-mb-5;
|
|
65
65
|
@include gl-h-5;
|
|
66
66
|
}
|
|
@@ -152,7 +152,7 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
152
152
|
|
|
153
153
|
.pika-label {
|
|
154
154
|
@apply gl-rounded-small;
|
|
155
|
-
@
|
|
155
|
+
@apply gl-text-base;
|
|
156
156
|
@apply gl-py-0;
|
|
157
157
|
|
|
158
158
|
background-color: var(--gl-action-neutral-background-color-default);
|
|
@@ -177,12 +177,12 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
177
177
|
|
|
178
178
|
th {
|
|
179
179
|
@apply gl-pb-3;
|
|
180
|
-
@
|
|
181
|
-
@
|
|
180
|
+
@apply gl-font-bold;
|
|
181
|
+
@apply gl-leading-normal;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
abbr[title] {
|
|
185
|
-
@
|
|
185
|
+
@apply gl-no-underline;
|
|
186
186
|
@include gl-cursor-default;
|
|
187
187
|
}
|
|
188
188
|
|
|
@@ -191,9 +191,9 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
191
191
|
@include gl-shadow-none;
|
|
192
192
|
@apply gl-py-3;
|
|
193
193
|
@include gl-text-center;
|
|
194
|
-
@
|
|
194
|
+
@apply gl-leading-normal;
|
|
195
195
|
@include gl-w-7;
|
|
196
|
-
@
|
|
196
|
+
@apply gl-text-base;
|
|
197
197
|
|
|
198
198
|
&:hover {
|
|
199
199
|
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-hover);
|
|
@@ -205,11 +205,11 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.is-today > .pika-button {
|
|
208
|
-
@
|
|
208
|
+
@apply gl-font-bold;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.is-selected > .pika-button {
|
|
212
|
-
@
|
|
212
|
+
@apply gl-font-normal;
|
|
213
213
|
|
|
214
214
|
&:hover {
|
|
215
215
|
background-color: var(--gl-control-background-color-selected-hover);
|
|
@@ -219,7 +219,7 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.is-selected.is-today > .pika-button {
|
|
222
|
-
@
|
|
222
|
+
@apply gl-font-bold;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.is-disabled {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
.gl-daterange-picker {
|
|
2
|
-
@
|
|
3
|
-
@
|
|
2
|
+
@apply gl-leading-normal;
|
|
3
|
+
@apply gl-text-base;
|
|
4
4
|
@include gl-font-regular;
|
|
5
5
|
|
|
6
6
|
label {
|
|
7
|
-
@
|
|
7
|
+
@apply gl-font-bold;
|
|
8
8
|
color: var(--gl-text-color-strong);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.gl-daterange-picker-indicator {
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
12
|
+
@apply gl-flex;
|
|
13
|
+
@apply gl-flex-row;
|
|
14
|
+
@apply gl-items-center;
|
|
15
|
+
@apply gl-self-end;
|
|
16
16
|
@include gl-gap-3;
|
|
17
17
|
@include gl-h-7;
|
|
18
18
|
color: var(--gl-text-color-subtle);
|
|
@@ -9,16 +9,16 @@ $gl-drawer-scrim-gradient: linear-gradient(
|
|
|
9
9
|
.gl-drawer {
|
|
10
10
|
background-color: var(--drawer-variant-bg-color);
|
|
11
11
|
right: 0;
|
|
12
|
-
@
|
|
12
|
+
@apply gl-transition-all;
|
|
13
13
|
position: fixed;
|
|
14
14
|
@include gl-h-full;
|
|
15
15
|
@include gl-w-full;
|
|
16
16
|
@include gl-overflow-y-auto;
|
|
17
17
|
@include gl-shadow-lg;
|
|
18
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
18
|
+
@apply gl-text-base;
|
|
19
|
+
@apply gl-leading-normal;
|
|
20
|
+
@apply gl-flex;
|
|
21
|
+
@apply gl-flex-col;
|
|
22
22
|
|
|
23
23
|
.gl-drawer-header-sticky {
|
|
24
24
|
background-color: var(--drawer-variant-bg-color);
|
|
@@ -69,7 +69,7 @@ $gl-drawer-scrim-gradient: linear-gradient(
|
|
|
69
69
|
&::before {
|
|
70
70
|
background: $gl-drawer-scrim-gradient;
|
|
71
71
|
top: -$gl-border-size-1;
|
|
72
|
-
@
|
|
72
|
+
@apply -gl-translate-y-full;
|
|
73
73
|
content: '';
|
|
74
74
|
left: 0;
|
|
75
75
|
position: absolute;
|
|
@@ -92,25 +92,25 @@ $gl-drawer-scrim-gradient: linear-gradient(
|
|
|
92
92
|
|
|
93
93
|
.gl-drawer-title {
|
|
94
94
|
color: var(--gl-text-color-heading);
|
|
95
|
-
@
|
|
96
|
-
@
|
|
97
|
-
@
|
|
95
|
+
@apply gl-flex;
|
|
96
|
+
@apply gl-items-center;
|
|
97
|
+
@apply gl-justify-between;
|
|
98
98
|
|
|
99
99
|
svg {
|
|
100
100
|
@include gl-w-5;
|
|
101
101
|
@include gl-h-5;
|
|
102
|
-
@
|
|
102
|
+
@apply gl-align-middle;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.gl-drawer-close-button {
|
|
107
|
-
@
|
|
108
|
-
@
|
|
107
|
+
@apply gl-self-start;
|
|
108
|
+
@apply gl-bg-transparent;
|
|
109
109
|
@apply gl-border-none;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.gl-drawer-body {
|
|
113
|
-
@
|
|
113
|
+
@apply gl-grow;
|
|
114
114
|
// prevent safari bug where box shadow is visible
|
|
115
115
|
// above the drawer when hovering interactive elements
|
|
116
116
|
// see https://gitlab.com/gitlab-org/gitlab/-/issues/366558
|
|
@@ -149,5 +149,5 @@ $gl-drawer-scrim-gradient: linear-gradient(
|
|
|
149
149
|
|
|
150
150
|
.gl-drawer-enter-active,
|
|
151
151
|
.gl-drawer-leave-active {
|
|
152
|
-
@
|
|
152
|
+
@apply gl-transition-all;
|
|
153
153
|
}
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.gl-dropdown-inner {
|
|
22
|
-
@
|
|
23
|
-
@
|
|
22
|
+
@apply gl-flex;
|
|
23
|
+
@apply gl-flex-col;
|
|
24
24
|
max-height: $gl-max-dropdown-max-height;
|
|
25
25
|
|
|
26
26
|
> :first-child {
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.gl-dropdown-contents {
|
|
36
|
-
@
|
|
36
|
+
@apply gl-grow;
|
|
37
37
|
overflow-y: auto;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.gl-dropdown-header-top {
|
|
41
41
|
@apply gl-border-1 gl-border-b-solid gl-border-gray-200;
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
45
|
-
@
|
|
46
|
-
@
|
|
42
|
+
@apply gl-flex;
|
|
43
|
+
@apply gl-text-base;
|
|
44
|
+
@apply gl-font-bold;
|
|
45
|
+
@apply gl-justify-center;
|
|
46
|
+
@apply gl-leading-normal;
|
|
47
47
|
@apply gl-m-0;
|
|
48
48
|
@apply gl-mb-3;
|
|
49
49
|
@apply gl-pb-3;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
.dropdown-toggle {
|
|
63
63
|
// Remove bootstrap's dropdown caret
|
|
64
64
|
&::after {
|
|
65
|
-
@
|
|
65
|
+
@apply gl-hidden;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&.gl-button,
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
&::after {
|
|
89
89
|
@apply gl-border-0;
|
|
90
90
|
content: '';
|
|
91
|
-
@
|
|
91
|
+
@apply gl-block;
|
|
92
92
|
@include gl-w-5;
|
|
93
93
|
@include gl-h-5;
|
|
94
94
|
@include gl-bg-current-color;
|
|
@@ -123,24 +123,24 @@
|
|
|
123
123
|
|
|
124
124
|
.gl-dropdown-toggle {
|
|
125
125
|
&.btn-block {
|
|
126
|
-
@
|
|
126
|
+
@apply gl-justify-between;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.gl-button-text {
|
|
130
|
-
@
|
|
130
|
+
@apply gl-inline-flex;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.gl-dropdown-button-text {
|
|
135
135
|
@include gl-mr-auto;
|
|
136
136
|
@include gl-overflow-hidden;
|
|
137
|
-
@
|
|
137
|
+
@apply gl-text-ellipsis;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// Fix rounded split dropdown button: https://gitlab.com/gitlab-org/gitlab-ui/issues/626
|
|
141
141
|
&.dropdown.show .dropdown-toggle-split {
|
|
142
|
-
@
|
|
143
|
-
@
|
|
142
|
+
@apply gl-rounded-tl-none;
|
|
143
|
+
@apply gl-rounded-bl-none;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
// The `&.dropdown` is necessary to strengthen the specificity of these selectors
|