Skip to content

Commit cbeb27a

Browse files
author
cchaos
committed
Fixed button panel links and updated bottom bar usages of ghost to text
1 parent f425cf5 commit cbeb27a

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src-docs/src/views/bottom_bar/bottom_bar_displacement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default () => {
4646
<EuiFlexItem grow={false}>
4747
<EuiButton
4848
onClick={() => setToggleIdSelected(null)}
49-
color="ghost"
49+
color="text"
5050
size="s"
5151
iconType="cross"
5252
>

src-docs/src/views/bottom_bar/playground.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const bottomBarConfig = () => {
1010

1111
propsToUse.children = {
1212
type: PropTypes.ReactNode,
13-
value: '<EuiButton color="ghost">Save</EuiButton>',
13+
value: '<EuiButton color="text">Save</EuiButton>',
1414
};
1515

1616
propsToUse.position = {

src-docs/src/views/button/button_example.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ export const ButtonExample = {
268268
<EuiFlexItem>
269269
<EuiCard
270270
hasBorder
271-
href="/#/navigation/button#basic-button"
271+
href="#/navigation/button#basic-button"
272272
image={
273-
<EuiPanel color="subdued">
273+
<EuiPanel color="subdued" borderRadius="none">
274274
<EuiPanel color="subdued">
275275
<EuiButton fill>Primary action</EuiButton>
276276
</EuiPanel>
@@ -283,9 +283,9 @@ export const ButtonExample = {
283283
<EuiFlexItem>
284284
<EuiCard
285285
hasBorder
286-
href="/#/navigation/button#basic-button"
286+
href="#/navigation/button#basic-button"
287287
image={
288-
<EuiPanel color="subdued">
288+
<EuiPanel color="subdued" borderRadius="none">
289289
<EuiPanel color="subdued">
290290
<EuiButton>Secondary action</EuiButton>
291291
</EuiPanel>
@@ -298,9 +298,9 @@ export const ButtonExample = {
298298
<EuiFlexItem>
299299
<EuiCard
300300
hasBorder
301-
href="/#/navigation/button#empty-button"
301+
href="#/navigation/button#empty-button"
302302
image={
303-
<EuiPanel color="subdued">
303+
<EuiPanel color="subdued" borderRadius="none">
304304
<EuiPanel color="subdued">
305305
<EuiButtonEmpty>Tertiary action</EuiButtonEmpty>
306306
</EuiPanel>
@@ -313,9 +313,9 @@ export const ButtonExample = {
313313
<EuiFlexItem>
314314
<EuiCard
315315
hasBorder
316-
href="/#/navigation/button#icon-buttons"
316+
href="#/navigation/button#icon-buttons"
317317
image={
318-
<EuiPanel color="subdued">
318+
<EuiPanel color="subdued" borderRadius="none">
319319
<EuiPanel color="subdued">
320320
<EuiButtonIcon
321321
display="base"

src-docs/src/views/page/_page_demo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const PageDemo: FunctionComponent<{
102102
);
103103

104104
const bottomBar = (
105-
<EuiButton size="s" color="ghost">
105+
<EuiButton size="s" color="text">
106106
Save
107107
</EuiButton>
108108
);

src-docs/src/views/theme/customizing/values.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default () => {
135135
<>
136136
<EuiFlexItem grow={false}>
137137
<EuiButtonEmpty
138-
color="ghost"
138+
color="text"
139139
iconType="cross"
140140
onClick={clearOverrides}
141141
>
@@ -157,7 +157,7 @@ export default () => {
157157
<span>
158158
<EuiButton
159159
onClick={() => setJsonFlyoutIsOpen(true)}
160-
color="ghost"
160+
color="text"
161161
>
162162
View theme JSON
163163
</EuiButton>

0 commit comments

Comments
 (0)