@gitlab/ui 95.1.0 → 95.2.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 +15 -0
- package/bin/migrate_custom_utils_to_tw.bundled.mjs +0 -19
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +5 -5
- package/src/components/base/avatar/avatar.scss +1 -1
- package/src/components/base/avatar_link/avatar_link.scss +1 -1
- package/src/components/base/banner/banner.scss +1 -1
- package/src/components/base/broadcast_message/broadcast_message.scss +1 -1
- package/src/components/base/button/button.scss +5 -5
- package/src/components/base/drawer/drawer.scss +2 -2
- package/src/components/base/dropdown/dropdown.scss +1 -1
- package/src/components/base/dropdown/dropdown_section_header.scss +1 -1
- package/src/components/base/filtered_search/filtered_search_term.scss +1 -1
- package/src/components/base/filtered_search/filtered_search_token_segment.scss +1 -1
- package/src/components/base/label/label.scss +1 -1
- package/src/components/base/markdown/markdown.scss +12 -12
- package/src/components/base/modal/modal.scss +1 -1
- package/src/components/base/pagination/pagination.scss +2 -2
- package/src/components/base/path/path.scss +1 -1
- package/src/components/base/popover/popover.scss +2 -2
- package/src/components/base/segmented_control/segmented_control.scss +28 -28
- package/src/components/base/toggle/toggle.scss +7 -7
- package/src/scss/mixins.scss +16 -1
- package/src/scss/storybook.scss +5 -0
- package/src/scss/utilities.scss +0 -30
- package/src/scss/utility-mixins/animation.scss +0 -15
- package/tailwind.defaults.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [95.2.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v95.1.1...v95.2.0) (2024-10-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **tailwind:** add support for border-color transition ([d1b38c3](https://gitlab.com/gitlab-org/gitlab-ui/commit/d1b38c3175216046901ada5b2b2162c647202b3f))
|
|
7
|
+
|
|
8
|
+
## [95.1.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v95.1.0...v95.1.1) (2024-10-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update dropdown headers to use strong text color ([6f6b208](https://gitlab.com/gitlab-org/gitlab-ui/commit/6f6b208f892257c02d92c9f49f1675226b71b5a8))
|
|
14
|
+
|
|
1
15
|
# [95.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v95.0.0...v95.1.0) (2024-10-04)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -90,6 +104,7 @@ folder.
|
|
|
90
104
|
|
|
91
105
|
### Features
|
|
92
106
|
|
|
107
|
+
|
|
93
108
|
* **DesignTokens:** update overlap background color to color.neutral.900 ([e0a8b98](https://gitlab.com/gitlab-org/gitlab-ui/commit/e0a8b98acf0760062495f25b16367c2755d89f62))
|
|
94
109
|
|
|
95
110
|
# [94.5.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v94.4.2...v94.5.0) (2024-10-01)
|
|
@@ -184396,24 +184396,12 @@ async function prettify(tailwindConfig, files) {
|
|
|
184396
184396
|
}
|
|
184397
184397
|
function validateMigrations(processedMigrations) {
|
|
184398
184398
|
const errors = [];
|
|
184399
|
-
for (const { from, to: to4 } of processedMigrations) {
|
|
184400
|
-
if (from.endsWith("!") !== /!-?gl/.test(to4)) {
|
|
184401
|
-
errors.push(`Inconsistent importance: ${from}, ${to4}`);
|
|
184402
|
-
}
|
|
184403
|
-
}
|
|
184404
184399
|
const froms = /* @__PURE__ */ new Set();
|
|
184405
184400
|
const tos = /* @__PURE__ */ new Set();
|
|
184406
184401
|
for (const { from, to: to4 } of processedMigrations) {
|
|
184407
184402
|
froms.add(from);
|
|
184408
184403
|
tos.add(to4);
|
|
184409
184404
|
}
|
|
184410
|
-
for (const { from } of processedMigrations) {
|
|
184411
|
-
if (from.endsWith("!"))
|
|
184412
|
-
continue;
|
|
184413
|
-
if (!froms.has(`${from}!`)) {
|
|
184414
|
-
errors.push(`Missing important class for ${from}`);
|
|
184415
|
-
}
|
|
184416
|
-
}
|
|
184417
184405
|
for (const { from, to: to4 } of processedMigrations) {
|
|
184418
184406
|
for (const bp2 of ["xs", "sm", "md", "lg", "xl"]) {
|
|
184419
184407
|
if (from.includes(`-${bp2}-`) !== to4.startsWith(`${bp2}:`)) {
|
|
@@ -184421,13 +184409,6 @@ function validateMigrations(processedMigrations) {
|
|
|
184421
184409
|
}
|
|
184422
184410
|
}
|
|
184423
184411
|
}
|
|
184424
|
-
for (const from of froms) {
|
|
184425
|
-
for (const to4 of tos) {
|
|
184426
|
-
if (to4.includes(from)) {
|
|
184427
|
-
errors.push(`Tailwind class "${to4}" contains legacy class "${from}" as substring`);
|
|
184428
|
-
}
|
|
184429
|
-
}
|
|
184430
|
-
}
|
|
184431
184412
|
processedMigrations.forEach(({ from }, i3, arr) => {
|
|
184432
184413
|
const nextFrom = arr[i3 + 1]?.from;
|
|
184433
184414
|
if (from.length < nextFrom?.length) {
|