Skip to content

Commit

Permalink
chore(deprecated): removing deprecated components from v1
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 committed Sep 27, 2023
1 parent 6e5aef5 commit cc87f76
Show file tree
Hide file tree
Showing 45 changed files with 230 additions and 1,185 deletions.
292 changes: 222 additions & 70 deletions packages/styles/carbon.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
@use '../../globals/vars' as *;

@mixin content-block-horizontal {
:host(#{$c4d-prefix}-content-block-horizontal),
:host(#{$c4d-prefix}-content-group-horizontal) {
:host(#{$c4d-prefix}-content-block-horizontal) {
padding-top: $spacing-07;
padding-bottom: $spacing-07;

Expand All @@ -28,8 +27,7 @@
}
}

.#{$prefix}--content-block-horizontal,
.#{$prefix}--content-group-horizontal {
.#{$prefix}--content-block-horizontal {
.#{$prefix}--content-block {
padding-top: $spacing-07;
padding-bottom: $spacing-05;
Expand All @@ -40,23 +38,14 @@
}
}
}
.#{$prefix}--content-group-horizontal {
.#{$prefix}--content-item-horizontal__item--cta {
margin-top: 0;
}
}

:host(#{$c4d-prefix}-content-block-horizontal) ::slotted([slot='heading']),
:host(#{$c4d-prefix}-content-group-horizontal) ::slotted([slot='heading']),
.#{$prefix}--content-block-horizontal .#{$prefix}--content-block__heading,
.#{$prefix}--content-group-horizontal .#{$prefix}--content-block__heading {
.#{$prefix}--content-block-horizontal .#{$prefix}--content-block__heading {
margin-bottom: $spacing-07;
}

:host(#{$c4d-prefix}-content-item-horizontal):last-child,
.#{$prefix}--content-block-horizontal
.#{$prefix}--content-item-horizontal__item:last-child,
.#{$prefix}--content-group-horizontal
.#{$prefix}--content-item-horizontal__item:last-child {
@include breakpoint(max) {
padding-bottom: $spacing-13;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit cc87f76

Please sign in to comment.