@gitlab/ui 72.8.1 → 72.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "72.8.1",
3
+ "version": "72.9.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -17,13 +17,15 @@
17
17
  "files": [
18
18
  "src",
19
19
  "dist",
20
- "translations.json"
20
+ "translations.json",
21
+ "tailwind.defaults.js"
21
22
  ],
22
23
  "scripts": {
23
24
  "build": "NODE_ENV=production rollup -c",
24
25
  "prebuild": "run-s build-tokens generate-utilities",
25
26
  "prepare": "run-s build-tokens generate-utilities",
26
27
  "generate-utilities": "make src/scss/utilities.scss",
28
+ "deprecate-gl-utils": "./bin/deprecate_utils.js",
27
29
  "copy-fonts": "make copy-fonts",
28
30
  "build-tokens": "node ./bin/build_tokens.js",
29
31
  "clean": "rm -r dist storybook src/scss/utilities.scss",
@@ -61,7 +63,8 @@
61
63
  "lint": "run-p prettier eslint stylelint markdownlint",
62
64
  "lint:fix": "run-s prettier:fix eslint:fix stylelint:fix markdownlint:fix",
63
65
  "generate:component": "plop",
64
- "translations:collect": "make translations.json"
66
+ "translations:collect": "make translations.json",
67
+ "tailwind-config-viewer": "tailwind-config-viewer -o"
65
68
  },
66
69
  "dependencies": {
67
70
  "@floating-ui/dom": "1.4.3",
@@ -78,6 +81,7 @@
78
81
  "dompurify": "^2.4.7 || ^3.0.5",
79
82
  "emoji-regex": ">=10.0.0",
80
83
  "pikaday": "^1.8.0",
84
+ "tailwindcss": "3^",
81
85
  "vue": "^2.7.16"
82
86
  },
83
87
  "resolutions": {
@@ -154,7 +158,7 @@
154
158
  "react-dom": "^18.2.0",
155
159
  "rollup": "^2.53.1",
156
160
  "rollup-plugin-babel": "^4.4.0",
157
- "rollup-plugin-postcss": "^3.1.1",
161
+ "rollup-plugin-postcss": "4.0.2",
158
162
  "rollup-plugin-string": "^3.0.0",
159
163
  "rollup-plugin-svg": "^2.0.0",
160
164
  "rollup-plugin-vue": "^5.1.6",
@@ -167,6 +171,8 @@
167
171
  "storybook-dark-mode": "3.0.3",
168
172
  "style-dictionary": "^3.8.0",
169
173
  "stylelint": "15.10.2",
174
+ "tailwind-config-viewer": "1.7.3",
175
+ "tailwindcss": "3.4.1",
170
176
  "vue": "2.7.16",
171
177
  "vue-loader": "^15.8.3",
172
178
  "vue-loader-vue3": "npm:vue-loader@17",
@@ -1,4 +1,7 @@
1
1
  @import 'tokens';
2
+
3
+ @tailwind utilities;
4
+
2
5
  @import 'functions';
3
6
  @import 'variables';
4
7
 
@@ -6510,6 +6510,16 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
6510
6510
  .gl-mr-auto\! {
6511
6511
  margin-right: auto !important;
6512
6512
  }
6513
+ .gl-md-mr-auto {
6514
+ @include gl-media-breakpoint-up(md) {
6515
+ margin-right: auto;
6516
+ }
6517
+ }
6518
+ .gl-md-mr-auto\! {
6519
+ @include gl-media-breakpoint-up(md) {
6520
+ margin-right: auto !important;
6521
+ }
6522
+ }
6513
6523
  .gl-mr-0 {
6514
6524
  margin-right: 0;
6515
6525
  }
@@ -473,6 +473,12 @@
473
473
  margin-right: auto;
474
474
  }
475
475
 
476
+ @mixin gl-md-mr-auto {
477
+ @include gl-media-breakpoint-up(md) {
478
+ @include gl-mr-auto;
479
+ }
480
+ }
481
+
476
482
  @mixin gl-mr-0 {
477
483
  margin-right: 0;
478
484
  }
@@ -0,0 +1,5 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ module.exports = {
3
+ prefix: 'gl-',
4
+ corePlugins: [],
5
+ };