Skip to content

Commit

Permalink
fix(TMC-28189): remove tilde in @use in sass file (#5286)
Browse files Browse the repository at this point in the history
  • Loading branch information
smouillour authored Apr 23, 2024
1 parent 25fb283 commit a10f800
Show file tree
Hide file tree
Showing 304 changed files with 398 additions and 385 deletions.
13 changes: 13 additions & 0 deletions .changeset/early-dolphins-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@talend/react-faceted-search": patch
"@talend/storybook-docs": patch
"@talend/design-system": patch
"@talend/design-docs": patch
"@talend/react-components": patch
"@talend/react-dataviz": patch
"@talend/react-stepper": patch
"@talend/react-forms": patch
"@talend/bootstrap-theme": patch
---

Fix: remove tilde for @use in sass files
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.about-dialog {
:global(.modal-body) {
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/ActionBar/ActionBar.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-action-bar-margin: $padding-small $padding-large $padding-small 0 !default;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.tc-intercom {
position: relative;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/ActionList/ActionList.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

@use '~@talend/design-tokens/lib/_tokens.scss' as tokens;
@use '@talend/design-tokens/lib/_tokens.scss' as tokens;

////
/// Action list
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.tc-action-button-skeleton-circle {
margin-left: $padding-smaller;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.storybook-wrapped-action {
margin-top: 200px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-dropdown-loader-padding: $padding-small !default;
$tc-dropdown-button-right-padding: 0.5rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

input[type='file'] {
&.action-file-input:focus + label {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-icon-toggle-size: 1.5rem !default;
$tc-icon-toggle-icon-size: $svg-sm-size !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.tc-split-dropdown {
li>a {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.info {
white-space: pre;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/AppSwitcher/AppSwitcher.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

.tc-app-switcher {
:global(.tc-svg-icon:first-child) {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Badge/Badge.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-badge-large-label-font-size: 0.875rem !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

////
/// Breadcrumb
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

// CircularProgress styles
$tc-circular-progress-light-fill: tokens.$coral-color-neutral-text-inverted !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-collapsible-panel-padding-smaller: $padding-smaller !default;
$tc-collapsible-panel-padding-normal: $padding-normal !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

.tc-length-badge {
background-color: tokens.$coral-color-neutral-background-medium;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/DataViewer/Core/Tree/Tree.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

:global(.tc-model .tc-tree) {
overflow: auto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$default-height: 2.5rem !default;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

.tc-tree-branch-icon {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';
@import '~@talend/bootstrap-theme/src/theme/animation';

$model-node-height: 1.875rem !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* stylelint-disable declaration-no-important */
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$hightlight-height: 1.375rem !default;
$records-node-height: $hightlight-height !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.td-default-cell {
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

.tc-simple-text {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.tc-virtualized-tree {
flex: 1 1 auto;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/DataViewer/theme.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-layout-skeleton-width: 6rem !default;
$tc-layout-skeleton-height: 6rem !default;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/Datalist/Datalist.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-datalist-items-max-height: 20rem !default;
$tc-datalist-item-height: 2.5rem !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

@import '../shared/styles/mixins';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';
@import '../shared/styles/mixins';

$tc-timepicker-width: 5rem !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

.validation {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-datetimepicker-width: 19.375rem !default;
$tc-datetimepicker-box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.2) !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

@import '../../shared/styles/mixins';
@import '../../shared/styles/variables';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

@import '../../shared/styles/mixins';
@import '../../shared/styles/variables';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

@import '../../shared/styles/mixins';
@import '../../shared/styles/variables';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* stylelint-disable color-hex-case */
/* stylelint-disable selector-no-qualifying-type */
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

@import '../../shared/styles/mixins';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

@mixin nav-action {
padding: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

$border-default: 0.0625rem solid tokens.$coral-color-neutral-border !default;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

@import '../../shared/styles/variables';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';
@import '../../shared/styles/mixins';

.common {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.container {
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

.container {
color: tokens.$coral-color-neutral-text-weak;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

@import '../../shared/styles/mixins';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

@import '../../shared/styles/mixins';
@import '../../shared/styles/variables';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

.container {
padding: tokens.$coral-spacing-xxs 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

@import './variables';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

$border-default: 0.0625rem solid tokens.$coral-color-neutral-border !default;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

.common {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

.container {
height: 100%;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/Dialog/Dialog.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

:global {
.modal-flex .modal-body {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Drawer/Drawer.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/design-tokens/lib/tokens';

$tc-drawer-bgcolor: tokens.$coral-color-neutral-background !default;
$tc-drawer-padding: tokens.$coral-spacing-m !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

@import '~@talend/bootstrap-theme/src/theme/animation';

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/EditableText/InlineForm.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';
@import '~@talend/bootstrap-theme/src/theme/animation';

$tc-icon-editable-text-size: 0.5rem !default;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

@mixin ellipsis {
white-space: nowrap;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Emphasis/Emphasis.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;

.highlight {
font-weight: $font-weight-semi-bold;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/Enumeration/Enumeration.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '~@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '~@talend/design-tokens/lib/tokens';
@use '@talend/bootstrap-theme/src/theme/guidelines' as *;
@use '@talend/design-tokens/lib/tokens';

$tc-enumeration-height: 50vh !default;
$tc-enumeration-font-size: 0.875rem !default;
Expand Down
Loading

0 comments on commit a10f800

Please sign in to comment.