@gitlab/ui 101.1.0 → 101.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "101.1.0",
3
+ "version": "101.2.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -110,6 +110,15 @@ $gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
110
110
  &-content {
111
111
  @apply gl-flex;
112
112
  @apply gl-justify-center;
113
+
114
+ a {
115
+ @apply gl-text-inherit;
116
+ @apply gl-underline;
117
+ }
118
+
119
+ p:last-of-type {
120
+ @apply gl-mb-0;
121
+ }
113
122
  }
114
123
 
115
124
  &-icon {
@@ -1,5 +1,4 @@
1
- $duo-code-scrim-bottom-gradient: linear-gradient(to bottom, rgba($gray-10, 0), $gray-10);
2
- $duo-code-scrim-top-gradient: linear-gradient(to top, rgba($gray-10, 0), $gray-10);
1
+ @import '../../variables';
3
2
 
4
3
  .duo-chat-message {
5
4
  max-width: 90%;
@@ -16,26 +15,24 @@ $duo-code-scrim-top-gradient: linear-gradient(to top, rgba($gray-10, 0), $gray-1
16
15
  &::before,
17
16
  &::after {
18
17
  content: '';
19
- left: 1px;
20
- width: calc(100% - 2px);
18
+ left: $gl-border-size-1;
19
+ width: calc(100% - calc(2 * $gl-border-size-1));
21
20
  position: absolute;
22
- @apply gl-pointer-events-none;
23
- @apply gl-h-7;
21
+ @apply gl-pointer-events-none gl-h-7 gl-rounded-b-base;
24
22
  }
25
23
 
26
24
  &.scrim-top {
27
25
  &::before {
28
- background: $duo-code-scrim-top-gradient;
29
- top: 1px;
30
- @apply gl-rounded-t-base;
26
+ background: $duo-chat-scrim-gradient;
27
+ top: $gl-border-size-1;
28
+ @apply -gl-rotate-180;
31
29
  }
32
30
  }
33
31
 
34
32
  &.scrim-bottom {
35
33
  &::after {
36
- background: $duo-code-scrim-bottom-gradient;
37
- bottom: 1px;
38
- @apply gl-rounded-b-base;
34
+ background: $duo-chat-scrim-gradient;
35
+ bottom: $gl-border-size-1;
39
36
  }
40
37
  }
41
38
  }
@@ -1,4 +1,4 @@
1
- $duo-chat-scrim-gradient: linear-gradient(to bottom, rgba($gray-10, 0), $gray-10);
1
+ @import 'variables';
2
2
 
3
3
  .duo-chat {
4
4
  z-index: 999;
@@ -50,13 +50,13 @@ $duo-chat-scrim-gradient: linear-gradient(to bottom, rgba($gray-10, 0), $gray-10
50
50
  }
51
51
 
52
52
  .duo-chat-drawer-header {
53
- @apply gl-border-b-solid gl-border-b-gray-100 gl-border-b-1;
53
+ @apply gl-border-b-1 gl-border-b-gray-100 gl-border-b-solid;
54
54
  }
55
55
 
56
56
  .duo-chat-drawer-header-sticky {
57
57
  top: 0;
58
58
  position: sticky;
59
- @apply gl-border-b-solid gl-border-b-gray-100 gl-border-b-1;
59
+ @apply gl-border-b-1 gl-border-b-gray-100 gl-border-b-solid;
60
60
  }
61
61
 
62
62
  .duo-chat-drawer-body {
@@ -68,7 +68,7 @@ $duo-chat-scrim-gradient: linear-gradient(to bottom, rgba($gray-10, 0), $gray-10
68
68
  }
69
69
 
70
70
  .duo-chat-drawer-footer {
71
- @apply gl-border-t-solid gl-border-t-gray-100 gl-border-t-1;
71
+ @apply gl-border-t-1 gl-border-t-gray-100 gl-border-t-solid;
72
72
  @apply gl-p-5;
73
73
  }
74
74
 
@@ -0,0 +1 @@
1
+ $duo-chat-scrim-gradient: linear-gradient(to bottom, rgba($gray-10, 0), $gray-10);
@@ -1,22 +1,11 @@
1
- The MIT License (MIT)
1
+ This project includes modified code from the following open source project:
2
2
 
3
- Copyright (c) 2011-2022 Twitter, Inc.
4
- Copyright (c) 2011-2022 The Bootstrap Authors
3
+ Bootstrap
5
4
 
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
5
+ Original work Copyright © 2011-2022 Twitter, Inc., 2011-2022 The Bootstrap Authors
6
+ Source: https://github.com/twbs
7
+ License: MIT License
12
8
 
13
- The above copyright notice and this permission notice shall be included in
14
- all copies or substantial portions of the Software.
9
+ Modifications to the original Bootstrap code have been made by GitLab B.V.
15
10
 
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.
11
+ The full text of the MIT License can be found in the LICENSE file in the root directory of this project.
@@ -1,21 +1,11 @@
1
- The MIT License (MIT)
1
+ This project includes modified code from the following open source project:
2
2
 
3
- Copyright (c) 2016-2020 - BootstrapVue
3
+ Bootstrap Vue
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ Original work Copyright © 2016-2020 BootstrapVue
6
+ Source: https://github.com/bootstrap-vue/bootstrap-vue
7
+ License: MIT License
11
8
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
9
+ Modifications to the original BootstrapVue code have been made by GitLab B.V.
14
10
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
11
+ The full text of the MIT License can be found in the LICENSE file in the root directory of this project.