@gitlab/ui 76.0.0 → 76.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [76.0.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v76.0.0...v76.0.1) (2024-02-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **tailwind:** add font sizes to the preset ([02f26b3](https://gitlab.com/gitlab-org/gitlab-ui/commit/02f26b34c39bd0d84e86cec938eefa1f3a15e003))
7
+ * **tailwind:** add font weights to the preset ([84fe175](https://gitlab.com/gitlab-org/gitlab-ui/commit/84fe175a0dfcaf704ab6041479444b58e3608a7e))
8
+
1
9
  # [76.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v75.2.0...v76.0.0) (2024-02-22)
2
10
 
3
11
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 22 Feb 2024 15:02:54 GMT
3
+ * Generated on Tue, 27 Feb 2024 00:47:04 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 22 Feb 2024 15:02:54 GMT
3
+ * Generated on Tue, 27 Feb 2024 00:47:04 GMT
4
4
  */
5
5
 
6
6
  :root.gl-dark {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 22 Feb 2024 15:02:54 GMT
3
+ * Generated on Tue, 27 Feb 2024 00:47:04 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#133a03";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 22 Feb 2024 15:02:54 GMT
3
+ * Generated on Tue, 27 Feb 2024 00:47:04 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#ddfab7";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 22 Feb 2024 15:02:54 GMT
3
+ // Generated on Tue, 27 Feb 2024 00:47:04 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 Thu, 22 Feb 2024 15:02:54 GMT
3
+ // Generated on Tue, 27 Feb 2024 00:47:04 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": "76.0.0",
3
+ "version": "76.0.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -102,23 +102,23 @@
102
102
  "@gitlab/eslint-plugin": "19.4.0",
103
103
  "@gitlab/fonts": "^1.3.0",
104
104
  "@gitlab/stylelint-config": "6.1.0",
105
- "@gitlab/svgs": "3.84.0",
105
+ "@gitlab/svgs": "3.85.0",
106
106
  "@rollup/plugin-commonjs": "^11.1.0",
107
107
  "@rollup/plugin-node-resolve": "^7.1.3",
108
108
  "@rollup/plugin-replace": "^2.3.2",
109
- "@storybook/addon-a11y": "^7.6.16",
110
- "@storybook/addon-docs": "^7.6.16",
111
- "@storybook/addon-essentials": "^7.6.16",
112
- "@storybook/addon-interactions": "^7.6.16",
113
- "@storybook/addon-viewport": "^7.6.16",
114
- "@storybook/builder-webpack5": "^7.6.16",
115
- "@storybook/test": "^7.6.16",
109
+ "@storybook/addon-a11y": "^7.6.17",
110
+ "@storybook/addon-docs": "^7.6.17",
111
+ "@storybook/addon-essentials": "^7.6.17",
112
+ "@storybook/addon-interactions": "^7.6.17",
113
+ "@storybook/addon-viewport": "^7.6.17",
114
+ "@storybook/builder-webpack5": "^7.6.17",
115
+ "@storybook/test": "^7.6.17",
116
116
  "@storybook/test-runner": "0.16.0",
117
- "@storybook/theming": "^7.6.16",
118
- "@storybook/vue": "^7.6.16",
119
- "@storybook/vue-webpack5": "^7.6.16",
120
- "@storybook/vue3": "^7.6.16",
121
- "@storybook/vue3-webpack5": "^7.6.16",
117
+ "@storybook/theming": "^7.6.17",
118
+ "@storybook/vue": "^7.6.17",
119
+ "@storybook/vue-webpack5": "^7.6.17",
120
+ "@storybook/vue3": "^7.6.17",
121
+ "@storybook/vue3-webpack5": "^7.6.17",
122
122
  "@types/jest-image-snapshot": "^6.4.0",
123
123
  "@vue/compat": "^3.2.40",
124
124
  "@vue/compiler-sfc": "^3.2.40",
@@ -131,7 +131,7 @@
131
131
  "babel-jest": "29.0.1",
132
132
  "babel-loader": "^8.0.5",
133
133
  "bootstrap": "4.6.2",
134
- "cypress": "13.6.4",
134
+ "cypress": "13.6.6",
135
135
  "cypress-axe": "^1.4.0",
136
136
  "cypress-real-events": "^1.11.0",
137
137
  "dompurify": "^3.0.0",
@@ -170,7 +170,7 @@
170
170
  "sass-loader": "^10.2.0",
171
171
  "sass-true": "^6.1.0",
172
172
  "start-server-and-test": "^1.10.6",
173
- "storybook": "^7.6.16",
173
+ "storybook": "^7.6.17",
174
174
  "storybook-dark-mode": "3.0.3",
175
175
  "style-dictionary": "^3.8.0",
176
176
  "stylelint": "15.10.2",
@@ -1,5 +1,5 @@
1
1
  import DOMPurify from 'dompurify';
2
- import GlSafeHtml from './safe_html';
2
+ import { SafeHtmlDirective as SafeHtml } from './safe_html';
3
3
  import readme from './safe_html.md';
4
4
 
5
5
  const { sanitize } = DOMPurify;
@@ -12,7 +12,7 @@ const generateProps = ({
12
12
 
13
13
  export const Default = (_args, { argTypes }) => ({
14
14
  directives: {
15
- GlSafeHtml,
15
+ SafeHtml,
16
16
  },
17
17
  props: Object.keys(argTypes),
18
18
  computed: {
@@ -38,7 +38,7 @@ export const Default = (_args, { argTypes }) => ({
38
38
  <tr>
39
39
  <td><strong>v-safe-html</strong></td>
40
40
  <td><code>{{ sanitizedHtml }}</code></td>
41
- <td v-gl-safe-html="unsafeHTML"></td>
41
+ <td v-safe-html="unsafeHTML"></td>
42
42
  </tr>
43
43
  </tbody>
44
44
  </table>
@@ -48,7 +48,7 @@ Default.args = generateProps();
48
48
 
49
49
  export default {
50
50
  title: 'directives/safe-html-directive',
51
- component: GlSafeHtml,
51
+ component: SafeHtml,
52
52
  tags: ['skip-visual-test'],
53
53
  parameters: {
54
54
  docs: {
@@ -18,6 +18,7 @@ $gl-spacing-scale-11-5: 9 * $grid-size;
18
18
  $gl-spacing-scale-12: 10 * $grid-size;
19
19
  $gl-spacing-scale-13: 12 * $grid-size;
20
20
  $gl-spacing-scale-15: 15 * $grid-size;
21
+ $gl-spacing-scale-18: 18 * $grid-size;
21
22
  $gl-spacing-scale-20: 20 * $grid-size;
22
23
  $gl-spacing-scale-26: 26 * $grid-size;
23
24
  $gl-spacing-scale-28: 28 * $grid-size;
@@ -66,5 +66,18 @@ module.exports = {
66
66
  ...themeColors,
67
67
  },
68
68
  spacing,
69
+ fontSize: {
70
+ xs: '0.625rem',
71
+ sm: '0.75rem',
72
+ base: '0.875rem',
73
+ lg: '1rem',
74
+ },
75
+ fontWeight: {
76
+ 100: 100,
77
+ 300: 300,
78
+ normal: 400,
79
+ semibold: 500,
80
+ bold: 600,
81
+ },
69
82
  },
70
83
  };