@gitlab/ui 66.19.0 → 66.20.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 29 Sep 2023 10:00:16 GMT
3
+ * Generated on Mon, 02 Oct 2023 07:10:15 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 29 Sep 2023 10:00:16 GMT
3
+ * Generated on Mon, 02 Oct 2023 07:10:15 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 29 Sep 2023 10:00:16 GMT
3
+ * Generated on Mon, 02 Oct 2023 07:10:15 GMT
4
4
  */
5
5
 
6
6
  export const BLACK = "#fff";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 29 Sep 2023 10:00:16 GMT
3
+ * Generated on Mon, 02 Oct 2023 07:10:15 GMT
4
4
  */
5
5
 
6
6
  export const BLACK = "#000";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 29 Sep 2023 10:00:16 GMT
3
+ // Generated on Mon, 02 Oct 2023 07:10:15 GMT
4
4
 
5
5
  $red-950: #fff4f3;
6
6
  $red-900: #fcf1ef;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 29 Sep 2023 10:00:16 GMT
3
+ // Generated on Mon, 02 Oct 2023 07:10:15 GMT
4
4
 
5
5
  $gl-line-height-52: 3.25rem;
6
6
  $gl-line-height-44: 2.75rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "66.19.0",
3
+ "version": "66.20.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "devDependencies": {
90
90
  "@arkweid/lefthook": "0.7.7",
91
- "@babel/core": "^7.22.20",
91
+ "@babel/core": "^7.23.0",
92
92
  "@babel/preset-env": "^7.22.20",
93
93
  "@babel/preset-react": "^7.22.15",
94
94
  "@gitlab/eslint-plugin": "19.0.0",
@@ -1,19 +1,3 @@
1
- .gl-banner {
2
- @include gl-border-1;
3
- @include gl-border-gray-100;
4
- @include gl-border-solid;
5
- @include gl-display-flex;
6
- @include gl-font-base;
7
- @include gl-px-8;
8
- @include gl-py-6;
9
- @include gl-rounded-base;
10
- @include gl-relative;
11
-
12
- p {
13
- @include gl-line-height-20;
14
- }
15
- }
16
-
17
1
  .gl-banner-illustration {
18
2
  @include gl-flex-shrink-0;
19
3
  @include gl-mr-6;
@@ -28,26 +12,18 @@
28
12
  }
29
13
 
30
14
  .gl-banner-title {
31
- @include gl-font-base;
32
- @include gl-font-weight-bold;
33
- @include gl-mt-0;
15
+ @include gl-heading-scale-500;
34
16
  @include gl-mb-3;
35
- @include gl-line-height-20;
36
17
  }
37
18
 
38
19
  .gl-banner-close {
39
20
  @include gl-absolute;
40
- @include gl-top-4;
41
- @include gl-right-4;
21
+ @include gl-top-3;
22
+ @include gl-right-3;
42
23
  }
43
24
 
44
25
  // Introduction variant
45
26
  .gl-banner-introduction {
46
27
  @include gl-bg-blue-50;
47
28
  @include gl-border-blue-300;
48
-
49
- .gl-banner-title {
50
- @include gl-font-size-h-display;
51
- @include gl-line-height-28;
52
- }
53
29
  }
@@ -108,7 +108,7 @@ export default {
108
108
 
109
109
  <template>
110
110
  <gl-card
111
- class="gl-px-8 gl-py-6 gl-line-height-20"
111
+ class="gl-pl-6 gl-pr-8 gl-py-6"
112
112
  :class="{ 'gl-banner-introduction': isIntroducing, 'gl-border-none!': embedded }"
113
113
  body-class="gl-display-flex gl-p-0!"
114
114
  >
@@ -1,4 +1,4 @@
1
- The main entry point component for gathering the user feedback for the AI features.
1
+ The main entry point component for gathering the user feedback for AI features.
2
2
 
3
3
  The component consists of a textual button and a connected modal with the actual form, emitting
4
4
  the form data on submission.
@@ -8,7 +8,7 @@ the form data on submission.
8
8
  The component allows to customize the button text, presented to the user.
9
9
 
10
10
  ```html
11
- <gl-user-feedback feedback-link-text="Leave your custom feedback" />
11
+ <gl-duo-user-feedback feedback-link-text="Leave your custom feedback" />
12
12
  ```
13
13
 
14
14
  ## Linking to a separate feedback form
@@ -18,7 +18,7 @@ be necessary for all consumers. In such a case, the component allows to bypass t
18
18
  form and link to an external feedback page/form.
19
19
 
20
20
  ```html
21
- <gl-user-feedback feedback-link-url="https://gitlab.com" />
21
+ <gl-duo-user-feedback feedback-link-url="https://gitlab.com" />
22
22
  ```
23
23
 
24
24
  ## Listening to the feedback form submission
@@ -26,7 +26,7 @@ form and link to an external feedback page/form.
26
26
  This component emits the `feedback` event with all the options selected in the feedback form.
27
27
 
28
28
  ```html
29
- <gl-user-feedback @feedback="myEventTracker" />
29
+ <gl-duo-user-feedback @feedback="myEventTracker" />
30
30
  ```
31
31
 
32
32
  The returned event contains two props (`feedbackChoices` and `extendedTextFeedback`) coming from
@@ -44,5 +44,4 @@ export default {
44
44
  },
45
45
  },
46
46
  },
47
- argTypes: {},
48
47
  };