Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • albert.khasanov/gitlab-ui
  • SevenOutman/gitlab-ui
  • ClemMakesApps/gitlab-ui
  • gitlab-org/gitlab-ui
  • gtsiolis/gitlab-ui
  • mark.obradley/gitlab-ui
  • piall/gitlab-ui
  • redreamer/gitlab-ui
  • runrog/gitlab-ui
  • yangchigi/gitlab-ui
  • jayalakshmij/gitlab-ui
  • sonqu/gitlab-ui
  • nnelson/gitlab-ui
  • michel.engelen/gitlab-ui
  • bsradcliffe/gitlab-ui
  • petahbyte/gitlab-ui
  • joe.wollard/gitlab-ui
  • jihye.paik/gitlab-ui
  • Kamikadze4GAME/gitlab-ui
  • Gaslan/gitlab-ui
  • inyee786/gitlab-ui
  • abuuzayr/gitlab-ui
  • NativeUser/gitlab-ui
  • _23phy/gitlab-ui
  • v_hladko/gitlab-ui
  • killbotxd/gitlab-ui
  • yeonyu/gitlab-ui
  • mnzone/gitlab-ui
  • ashishgkwd/gitlab-ui
  • Keimeno/gitlab-ui
  • dcouture/gitlab-ui
  • Rory_Chillmore/gitlab-ui
  • misha28x/gitlab-ui
  • shawchandeshwar61/gitlab-ui
  • aszs/gitlab-ui
  • leetickett/gitlab-ui
  • stalker3343/gitlab-ui
  • davepies/gitlab-ui
  • pravi/gitlab-ui
  • ChasLui/gitlab-ui
  • wangko27/gitlab-ui
  • kaangokdemir/gitlab-ui
  • rajiff/gitlab-ui
  • gitlab-org/frontend/playground/gitlab-ui
  • orozot/gitlab-ui
  • gitlab-renovate-forks/gitlab-ui
  • Meghana-12/gitlab-ui
  • tweichart/gitlab-ui
  • leipert/gitlab-ui
  • wenweicui/gitlab-ui
  • mohanraj.geniebeaver/gitlab-ui
  • imrishabh18/gitlab-ui
  • ma-lihui/gitlab-ui
  • piyushsinghania/gitlab-ui
  • NeetuJain/gitlab-ui
  • waridrox/gitlab-ui
  • ankita.singh.200020/gitlab-ui
  • sercan55344/gitlab-ui
  • pangjian/gitlab-ui
  • 2002newhritik/gitlab-ui
  • rachelvfmurphy/gitlab-ui
  • shridharbhat1998/gitlab-ui
  • paulwvnjohi/gitlab-ui
  • edith007/gitlab-ui
  • IgorPahota/gitlab-ui
  • yashmaheshwari/gitlab-ui
  • chiachenglu/gitlab-ui
  • Dhairya3124/gitlab-ui
  • preetidevsang/gitlab-ui
  • revbp/gitlab-ui
  • khout/gitlab-ui
  • Bajjouayoub/gitlab-ui
  • ali_o_kan/gitlab-ui
  • marcel.feldmann/gitlab-ui
  • serenafang/gitlab-ui
  • jamesliu-gitlab/gitlab-ui
  • wallisaleh87/gitlab-ui
  • ALypovyi/gitlab-ui
  • thutterer/gitlab-ui
  • pikepaule/gitlab-ui
  • splattael/gitlab-ui
  • rettalps/gitlab-ui
  • rajdevelopr/gitlab-ui
  • Mohamadhassan98/gitlab-ui
  • dannyelcf/gitlab-ui
  • vchan14/gitlab-ui
  • 23bytes/gitlab-ui
  • dr.shvets/gitlab-ui
  • crystal.alchemist/gitlab-ui
  • chriscordoba1948/gitlab-ui
  • markrian/gitlab-ui
  • zillemarco/gitlab-ui
  • bhatewarak/gitlab-ui
  • hamare-contrib/gitlab-ui
  • agnieszka.gancarczyk/gitlab-ui
  • khulnasoft/khulnasoft-ui
  • abitrolly/gitlab-ui
  • normatov13/gitlab-ui
  • Brwnknight20/gitlab-ui
  • chekerTlili/medmed-front-test
  • Fcogp90/gitlab-ui
  • Harith_training/gitlab-ui
  • rahulpan_altair/gitlab-ui
  • HelloZJW/gitlab-ui
  • fathead32/gitlab-ui
  • akumar1503/gitlab-ui
  • KhaledElkhoreby/gitlab-ui
  • pierrebelloy/gitlab-ui
  • lxwan/gitlab-ui
  • dpalubin/gitlab-ui
  • gitlab-community/gitlab-ui
  • ubaidisaev/gitlab-ui
  • serenafang/gitlab-ui-serena-test
  • hamzasouelmi/gitlab-ui
  • youngbeomshin/gitlab-ui
  • kimseoha1993/gitlab-ui
  • kevin.rojas/gitlab-ui
  • catinbag/gitlab-ui
  • mathieu.pillar/gitlab-ui
  • qk44077907/gitlab-ui
  • fenyuluoshang/gitlab-ui
  • QingJ/gitlab-ui
  • x--/gitlab-ui
  • nraj0408/gitlab-ui
  • victorelmov/gitlab-ui
  • sollo.nic.c.cc/gitlab-ui
  • sksardar42/gitlab-ui
  • nqdev-fork/gitlab-org/gitlab-ui
  • JeremyWuuuuu/gitlab-ui
  • kara006n/gitlab-ui
  • ndt-contribute/gitlab-ui
  • sahadat-sk/gitlab-ui
  • mdwiltfong/gitlab-ui
  • muntazacloud/gitlab-ui
  • drewcauchi/gitlab-ui
  • liummmm/gitlab-ui
  • ale3oula/gitlab-ui
  • kiran-4444/gitlab-ui
  • DUCKDUCKGODEVELOPER/gitlab-ui
  • g32james/gitlab-ui
  • Saeed178/gitlab-ui
  • nickaldwin/gitlab-ui
  • armbiant/gitlab-gui
  • satyamkale27/gitlab-ui
  • jannik_lehmann/gitlab-ui-mono-tinkering
  • zayminkhant/gitlab-ui
  • aytacyaydem/gitlab-ui
  • initdc/gitlab-ui
  • rungruang1/gitlab-ui
  • dormanshylas1/gitlab-ui
  • armbiant/gitlab-ui
  • Piyush-r-bhaskar/gitlab-ui
  • ollevche/gitlab-ui
  • joefoti178/gitlab-ui
  • william.allen1/gitlab-ui
  • anupam42/gitlab-ui
156 results
Show changes
Commits on Source (5)
# [87.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v87.0.0...v87.1.0) (2024-07-24)
### Features
* **GlTabs:** Add animation ([0622f6a](https://gitlab.com/gitlab-org/gitlab-ui/commit/0622f6a2dd07ddc6f5d89bf9f56a9fd9c528a4a6))
# [87.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v86.15.0...v87.0.0) (2024-07-23)
......
{
"name": "@gitlab/ui",
"version": "87.0.0",
"version": "87.1.0",
"description": "GitLab UI Components",
"license": "MIT",
"main": "dist/index.js",
......
......@@ -3,6 +3,7 @@
}
.gl-tab-nav-item {
position: relative;
@include gl-text-gray-900;
@include gl-px-4;
@include gl-py-5;
......@@ -11,15 +12,37 @@
@include gl-display-flex;
@include gl-justify-content-center;
@include gl-overflow-hidden;
transition: box-shadow $gl-transition-duration-medium $gl-easing-out-cubic,
border-radius $gl-transition-duration-fast $gl-easing-out-cubic;
&::before {
content: '';
position: absolute;
bottom: 0;
width: 100%;
border-bottom: $gl-border-size-2 solid transparent;
translate: 0 $gl-border-size-2;
transition: border-bottom $gl-transition-duration-medium $gl-easing-out-cubic,
translate $gl-transition-duration-medium $gl-easing-out-cubic;
}
transition: box-shadow 100ms linear;
@media (prefers-reduced-motion: reduce) {
&, &::before {
transition-duration: .01ms;
}
}
&:hover {
@include gl-text-gray-900;
}
&:not(.gl-tab-nav-item-active) {
@include gl-inset-border-b-2-gray-200;
}
&:hover:not(.gl-tab-nav-item-active)::before {
border-bottom-color: $gray-200;
translate: 0;
}
&:focus {
border-radius: $gl-border-radius-base;
}
&.disabled {
......@@ -48,13 +71,18 @@
.gl-tab-nav-item-active {
@include gl-font-weight-bold;
@include gl-text-gray-900;
@include gl-inset-border-b-2-blue-500;
z-index: 1;
&:active,
&:focus,
&:focus:active {
box-shadow: inset 0 -#{$gl-border-size-2} 0 0 $blue-500, $focus-ring;
@include gl-outline-none;
@include gl-focus;
}
&::before {
border-bottom-color: $blue-500;
translate: 0;
}
}
......
......@@ -417,7 +417,7 @@
--gl-action-neutral-background-color-hover: rgba(164, 163, 168, 0.16); /* Used for the background of a neutral action in the hover state. */
--gl-action-neutral-background-color-default: rgba(164, 163, 168, 0.0); /* Used for the background of a neutral action in the default state. */
--gl-text-color-disabled: var(--gl-color-neutral-400); /* Used for disabled text. */
--gl-text-color-success: var(--gl-color-green-600); /* Used for text indicating success or validity. */
--gl-text-color-success: var(--gl-color-green-600); /* Used for text indicating success, completion, approval, addition, or validity. */
--gl-text-color-danger: var(--gl-color-red-600); /* Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
--gl-text-color-link: var(--gl-color-blue-700); /* Used for default text links. */
--gl-text-color-heading: var(--gl-color-neutral-950); /* Used for headings level 1-6. */
......
......@@ -417,7 +417,7 @@
--gl-action-neutral-background-color-hover: rgba(137, 136, 141, 0.4); /* Used for the background of a neutral action in the hover state. */
--gl-action-neutral-background-color-default: rgba(137, 136, 141, 0.0); /* Used for the background of a neutral action in the default state. */
--gl-text-color-disabled: var(--gl-color-neutral-400); /* Used for disabled text. */
--gl-text-color-success: var(--gl-color-green-300); /* Used for text indicating success or validity. */
--gl-text-color-success: var(--gl-color-green-300); /* Used for text indicating success, completion, approval, addition, or validity. */
--gl-text-color-danger: var(--gl-color-red-300); /* Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
--gl-text-color-link: var(--gl-color-blue-300); /* Used for default text links. */
--gl-text-color-heading: var(--gl-color-neutral-0); /* Used for headings level 1-6. */
......
......@@ -613,5 +613,5 @@ export const GL_TEXT_COLOR_STRONG = '#fff'; // Used for text with the highest co
export const GL_TEXT_COLOR_HEADING = '#fff'; // Used for headings level 1-6.
export const GL_TEXT_COLOR_LINK = '#63a6e9'; // Used for default text links.
export const GL_TEXT_COLOR_DANGER = '#f57f6c'; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
export const GL_TEXT_COLOR_SUCCESS = '#52b87a'; // Used for text indicating success or validity.
export const GL_TEXT_COLOR_SUCCESS = '#52b87a'; // Used for text indicating success, completion, approval, addition, or validity.
export const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
......@@ -613,5 +613,5 @@ export const GL_TEXT_COLOR_STRONG = '#18171d'; // Used for text with the highest
export const GL_TEXT_COLOR_HEADING = '#18171d'; // Used for headings level 1-6.
export const GL_TEXT_COLOR_LINK = '#0b5cad'; // Used for default text links.
export const GL_TEXT_COLOR_DANGER = '#c91c00'; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
export const GL_TEXT_COLOR_SUCCESS = '#217645'; // Used for text indicating success or validity.
export const GL_TEXT_COLOR_SUCCESS = '#217645'; // Used for text indicating success, completion, approval, addition, or validity.
export const GL_TEXT_COLOR_DISABLED = '#89888d'; // Used for disabled text.
......@@ -13585,7 +13585,7 @@
"success": {
"value": "#52b87a",
"$type": "color",
"comment": "Used for text indicating success or validity.",
"comment": "Used for text indicating success, completion, approval, addition, or validity.",
"filePath": "src/tokens/text.tokens.json",
"isSource": true,
"original": {
......@@ -13594,7 +13594,7 @@
"dark": "{color.green.300}"
},
"$type": "color",
"comment": "Used for text indicating success or validity."
"comment": "Used for text indicating success, completion, approval, addition, or validity."
},
"name": "TEXT_COLOR_SUCCESS",
"attributes": {},
......
......@@ -13585,7 +13585,7 @@
"success": {
"value": "#217645",
"$type": "color",
"comment": "Used for text indicating success or validity.",
"comment": "Used for text indicating success, completion, approval, addition, or validity.",
"filePath": "src/tokens/text.tokens.json",
"isSource": true,
"original": {
......@@ -13594,7 +13594,7 @@
"dark": "{color.green.300}"
},
"$type": "color",
"comment": "Used for text indicating success or validity."
"comment": "Used for text indicating success, completion, approval, addition, or validity."
},
"name": "TEXT_COLOR_SUCCESS",
"attributes": {},
......
......@@ -415,7 +415,7 @@ $gl-action-neutral-background-color-active: rgba(137, 136, 141, 0.16); // Used f
$gl-action-neutral-background-color-hover: rgba(137, 136, 141, 0.4); // Used for the background of a neutral action in the hover state.
$gl-action-neutral-background-color-default: rgba(137, 136, 141, 0.0); // Used for the background of a neutral action in the default state.
$gl-text-color-disabled: $gl-color-neutral-400; // Used for disabled text.
$gl-text-color-success: $gl-color-green-300; // Used for text indicating success or validity.
$gl-text-color-success: $gl-color-green-300; // Used for text indicating success, completion, approval, addition, or validity.
$gl-text-color-danger: $gl-color-red-300; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
$gl-text-color-link: $gl-color-blue-300; // Used for default text links.
$gl-text-color-heading: $gl-color-neutral-0; // Used for headings level 1-6.
......
......@@ -415,7 +415,7 @@ $gl-action-neutral-background-color-active: rgba(83, 81, 88, 0.24); // Used for
$gl-action-neutral-background-color-hover: rgba(164, 163, 168, 0.16); // Used for the background of a neutral action in the hover state.
$gl-action-neutral-background-color-default: rgba(164, 163, 168, 0.0); // Used for the background of a neutral action in the default state.
$gl-text-color-disabled: $gl-color-neutral-400; // Used for disabled text.
$gl-text-color-success: $gl-color-green-600; // Used for text indicating success or validity.
$gl-text-color-success: $gl-color-green-600; // Used for text indicating success, completion, approval, addition, or validity.
$gl-text-color-danger: $gl-color-red-600; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
$gl-text-color-link: $gl-color-blue-700; // Used for default text links.
$gl-text-color-heading: $gl-color-neutral-950; // Used for headings level 1-6.
......
......@@ -82,7 +82,7 @@
"dark": "{color.green.300}"
},
"$type": "color",
"$description": "Used for text indicating success or validity."
"$description": "Used for text indicating success, completion, approval, addition, or validity."
},
"disabled": {
"$value": {
......