@gitlab/ui 110.0.0 → 110.1.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 +7 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +2 -2
- package/src/scss/typography.scss +17 -0
- package/src/vendor/bootstrap/scss/_tables.scss +0 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "110.
|
|
3
|
+
"version": "110.1.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"eslint-formatter-gitlab": "^5.1.0",
|
|
156
156
|
"eslint-import-resolver-jest": "3.0.2",
|
|
157
157
|
"eslint-plugin-cypress": "3.6.0",
|
|
158
|
-
"eslint-plugin-storybook": "0.11.
|
|
158
|
+
"eslint-plugin-storybook": "0.11.4",
|
|
159
159
|
"fuse.js": "^7.0.0",
|
|
160
160
|
"gitlab-api-async-iterator": "^1.3.1",
|
|
161
161
|
"glob": "10.3.3",
|
package/src/scss/typography.scss
CHANGED
|
@@ -19,3 +19,20 @@ a:not([href]):not([class]) {
|
|
|
19
19
|
caption {
|
|
20
20
|
@apply gl-text-subtle;
|
|
21
21
|
}
|
|
22
|
+
|
|
23
|
+
.table {
|
|
24
|
+
@apply gl-w-full gl-mb-3 gl-text-default gl-bg-transparent;
|
|
25
|
+
|
|
26
|
+
th,
|
|
27
|
+
td {
|
|
28
|
+
@apply gl-p-4 gl-align-top gl-border-t;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
thead th {
|
|
32
|
+
@apply gl-align-bottom gl-border-b gl-border-b-2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
tbody + tbody {
|
|
36
|
+
@apply gl-border-t gl-border-t-2;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Basic Bootstrap table
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
.table {
|
|
6
|
-
width: 100%;
|
|
7
|
-
margin-bottom: $spacer;
|
|
8
|
-
color: $table-color;
|
|
9
|
-
background-color: $table-bg; // Reset for nesting within parents with `background-color`.
|
|
10
|
-
|
|
11
|
-
th,
|
|
12
|
-
td {
|
|
13
|
-
padding: $table-cell-padding;
|
|
14
|
-
vertical-align: top;
|
|
15
|
-
border-top: $table-border-width solid $table-border-color;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
thead th {
|
|
19
|
-
vertical-align: bottom;
|
|
20
|
-
border-bottom: (2 * $table-border-width) solid $table-border-color;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
tbody + tbody {
|
|
24
|
-
border-top: (2 * $table-border-width) solid $table-border-color;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
1
|
//
|
|
30
2
|
// Condensed table w/ half padding
|
|
31
3
|
//
|