Skip to content

Commit 25fd95a

Browse files
author
Stephanie A. Higa
authored
fix(css): Update pill components in modals (#1745)
1 parent d98028c commit 25fd95a

File tree

13 files changed

+33
-33
lines changed

13 files changed

+33
-33
lines changed

examples/src/ContentExplorerMultiSelectExamples.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
top: 7px;
44
}
55

6-
.pill-selector-wrapper div.pill-selector-input-wrapper {
6+
.bdl-PillSelectorDropdown div.bdl-PillSelector {
77
width: 160px;
88
}
99
}

examples/src/ContentExplorerMultiSelectModalContainerExamples.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
top: 7px;
44
}
55

6-
.pill-selector-wrapper div.pill-selector-input-wrapper {
6+
.bdl-PillSelectorDropdown div.bdl-PillSelector {
77
width: 160px;
88
}
99
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
.pill-selector-wrapper {
2-
div.pill-selector-input-wrapper {
1+
.bdl-PillSelectorDropdown {
2+
div.bdl-PillSelector {
33
width: 360px;
44
}
55

@@ -8,7 +8,7 @@
88
}
99
}
1010

11-
.pill.pill-cloud-button.is-selected {
12-
background-color: #0061d5;
11+
.bdl-Pill.bdl-PillCloud-button.is-selected {
1312
color: #fff;
13+
background-color: #0061d5;
1414
}

scripts/utils/bdlClassnameManager

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ const conversionMap = {
3737
'pill-cloud-button': 'bdl-PillCloud-button',
3838
'pill-cloud-container': 'bdl-PillCloud',
3939
'pill-error': 'bdl-Pill--error',
40-
'pill-selector-dropdown': 'bdl-PillSelectorDropdown',
4140
'pill-selector-hidden-input': 'bdl-PillSelector-input--hidden',
4241
'pill-selector-input': 'bdl-PillSelector-input',
4342
'pill-selector-input-wrapper': 'bdl-PillSelector',
4443
'pill-selector-suggestions-enabled': 'bdl-PillSelector--suggestionsEnabled',
44+
'pill-selector-wrapper': 'bdl-PillSelectorDropdown',
4545
'pill-text': 'bdl-Pill-text',
4646
'pill-warning': 'bdl-Pill-warning',
4747
'pills-list': 'bdl-PillsList',

src/elements/content-sidebar/activity-feed/task-form/TaskForm.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ $assignee-dropdown-height: 215px;
5050
margin-bottom: 15px;
5151
}
5252

53-
input.pill-selector-hidden-input {
53+
input.bdl-PillSelector-input--hidden {
5454
width: 1px;
5555
}
5656

57-
.pill-selector-wrapper {
57+
.bdl-PillSelectorDropdown {
5858
width: 100%;
5959
margin-left: 0;
6060

61-
.pill-selector-input-wrapper {
61+
.bdl-PillSelector {
6262
width: auto;
6363
}
6464

src/elements/content-sidebar/skills/keywords/EditableKeywords.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class EditableKeywords extends React.PureComponent<Props, State> {
154154
const { onSave, onCancel }: Props = this.props;
155155
const { pills, keyword }: State = this.state;
156156
return (
157-
<span className="pill-selector-wrapper">
157+
<span className="bdl-EditableKeywords">
158158
<PillSelector
159159
onBlur={this.onBlur}
160160
onCompositionEnd={this.onCompositionEnd}

src/elements/content-sidebar/skills/keywords/EditableKeywords.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
}
1111
}
1212

13-
.pill-selector-wrapper {
13+
.bdl-EditableKeywords {
1414
margin: 0;
1515

16-
.pill-selector-input-wrapper {
16+
.bdl-PillSelector {
1717
width: 100%;
1818
margin: 0;
1919

20-
input[type='text'].pill-selector-input {
20+
input[type='text'].bdl-PillSelector-input {
2121
min-width: 97%;
2222
height: 24px;
2323
margin: 2px 0 0 2px;

src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/EditableKeywords.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`elements/content-sidebar/Skills/Keywords/EditableKeywords should correctly render 1`] = `
44
<span
5-
className="pill-selector-wrapper"
5+
className="bdl-EditableKeywords"
66
>
77
<PillSelector
88
allowInvalidPills={false}

src/features/invite-collaborators-modal/InviteCollaboratorsModal.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
overflow: auto;
4848
}
4949

50-
.pill-selector-input-wrapper {
50+
.bdl-PillSelector {
5151
width: 100%;
5252
height: 60px;
5353
}

src/features/shared-link-modal/EmailSharedLink.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.email-shared-link {
2-
.pill-selector-wrapper {
2+
.bdl-PillSelectorDropdown {
33
margin: 0;
44
}
55

@@ -14,21 +14,21 @@
1414
transition: height .2s;
1515
}
1616

17-
.pill-selector-input-wrapper,
17+
.bdl-PillSelector,
1818
textarea {
1919
width: 100%;
2020
}
2121

2222
&.is-expanded {
23-
.pill-selector-wrapper {
23+
.bdl-PillSelectorDropdown {
2424
margin-bottom: 20px;
2525
}
2626

2727
.text-area-container {
2828
height: 100px;
2929
}
3030

31-
.pill-selector-input-wrapper {
31+
.bdl-PillSelector {
3232
height: 58px;
3333
}
3434
}

0 commit comments

Comments
 (0)