Skip to content

Commit

Permalink
fix: carbon style import updates
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmenendez committed Jan 15, 2025
1 parent d033453 commit af601fa
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 635 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Copyright IBM Corp. 2025, 2025
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@use '@carbon/react/scss/components/toggle/toggle';
@use '@carbon/react/scss/components/ui-shell/side-nav';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright IBM Corp. 2022, 2022
// Copyright IBM Corp. 2022, 2025
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
Expand All @@ -17,10 +17,6 @@
// Other Carbon settings.
@use '@carbon/react/scss/grid' as *;

// EditTearsheet uses the following Carbon components:
@use '@carbon/react/scss/components/toggle/toggle';
@use '@carbon/react/scss/components/ui-shell/side-nav';

// EditTearsheet uses the following IBM Products components:
// TearsheetShell
@use '../Tearsheet/tearsheet';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Copyright IBM Corp. 2025, 2025
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@use './carbon-imports';
@use './edit-tearsheet';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright IBM Corp. 2022, 2022
// Copyright IBM Corp. 2022, 2025
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright IBM Corp. 2024, 2024
// Copyright IBM Corp. 2024, 2025
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
Expand All @@ -15,17 +15,6 @@
@use '@carbon/styles/scss/spacing' as *;
@use '@carbon/styles/scss/type';

// Other Carbon settings if needed
// TODO: @use '@carbon/styles/scss/grid';
// or
// TODO: @use '@carbon/react/scss/grid';

// UserAvatar uses the following Carbon for IBM Products components:
// TODO: @use(s) of IBM Products component styles used by UserAvatar
@use '@carbon/react/scss/components/tooltip';

// The block part of our conventional BEM class names (blockClass__E--M).

$block-class: #{$pkg-prefix}--user-avatar;

$sizes: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
@use './CreateTearsheet/index-with-carbon' as *;
@use './Datagrid/index-with-carbon' as *;
@use './EditInPlace/index-with-carbon' as *;
@use './EditTearsheet/index-with-carbon' as *;
@use './EmptyStates/index-with-carbon' as *;
@use './ExportModal/index-with-carbon' as *;
@use './ExpressiveCard/index-with-carbon' as *;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
@use './EditSidePanel/index-with-carbon' as *;
@use './OptionsTile/index-with-carbon' as *;
@use './EditInPlace/index-with-carbon' as *;
@use './EditTearsheet/index-with-carbon' as *;
@use './DataSpreadsheet/index-with-carbon' as *;
@use './Datagrid/index-with-carbon' as *;
@use './EditUpdateCards/index-with-carbon' as *;
Expand Down

0 comments on commit af601fa

Please sign in to comment.