Skip to content

Commit 946f6a5

Browse files
authored
Merge branch 'master' into is-sorted-table-header
2 parents e30fba2 + f3b824f commit 946f6a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+57436
-60901
lines changed

.storybook/__storyshots__/Badge.shot

Lines changed: 47 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,13 @@
11
exports[`Default`] = `
2-
<div>
3-
<div
4-
style={
5-
Object {
6-
"position": "relative",
7-
"zIndex": 0,
8-
}
9-
}>
10-
<span
11-
className="slds-badge">
12-
Badge Label
13-
</span>
14-
</div>
15-
<a
16-
onClick={[Function]}
17-
style={
18-
Object {
19-
"background": "#28c",
20-
"borderRadius": "0 0 0 5px",
21-
"color": "#fff",
22-
"cursor": "pointer",
23-
"display": "block",
24-
"fontFamily": "sans-serif",
25-
"fontSize": 12,
26-
"padding": "5px 15px",
27-
"position": "fixed",
28-
"right": 0,
29-
"textDecoration": "none",
30-
"top": 0,
31-
}
32-
}>
33-
?
34-
</a>
35-
<div
36-
style={
37-
Object {
38-
"background": "white",
39-
"bottom": 0,
40-
"display": "none",
41-
"left": 0,
42-
"overflow": "auto",
43-
"padding": "0 40px",
44-
"position": "absolute",
45-
"right": 0,
46-
"top": 0,
47-
}
48-
}>
49-
<a
50-
onClick={[Function]}
2+
<div
3+
className="content-wrapper">
4+
<div>
5+
<div
516
style={
527
Object {
53-
"background": "#28c",
54-
"borderRadius": "0 0 0 5px",
55-
"color": "#fff",
56-
"cursor": "pointer",
57-
"display": "block",
58-
"fontFamily": "sans-serif",
59-
"fontSize": 12,
60-
"padding": "5px 15px",
61-
"position": "fixed",
62-
"right": 0,
63-
"textDecoration": "none",
64-
"top": 0,
8+
"padding": "16px",
659
}
6610
}>
67-
×
68-
</a>
69-
<div
70-
style={undefined}>
7111
<div
7212
style={
7313
Object {
@@ -77,7 +17,7 @@ exports[`Default`] = `
7717
-apple-system, \".SFNSText-Regular\", \"San Francisco\", \"Roboto\",
7818
\"Segoe UI\", \"Helvetica Neue\", \"Lucida Grande\", sans-serif
7919
",
80-
"fontSize": 15,
20+
"fontSize": "15px",
8121
"fontWeight": 300,
8222
"lineHeight": 1.45,
8323
}
@@ -87,13 +27,14 @@ exports[`Default`] = `
8727
Object {
8828
"borderBottom": "1px solid #eee",
8929
"marginBottom": 10,
30+
"paddingTop": 10,
9031
}
9132
}>
9233
<h1
9334
style={
9435
Object {
95-
"fontSize": 35,
96-
"margin": "20px 0 0 0",
36+
"fontSize": "35px",
37+
"margin": 0,
9738
"padding": 0,
9839
}
9940
}>
@@ -102,7 +43,7 @@ exports[`Default`] = `
10243
<h2
10344
style={
10445
Object {
105-
"fontSize": 22,
46+
"fontSize": "22px",
10647
"fontWeight": 400,
10748
"margin": "0 0 10px 0",
10849
"padding": 0,
@@ -111,10 +52,43 @@ exports[`Default`] = `
11152
Default
11253
</h2>
11354
</div>
55+
</div>
56+
</div>
57+
<div>
58+
<div>
59+
<span
60+
className="slds-badge"
61+
onClick={[Function]}>
62+
Badge Label
63+
</span>
64+
</div>
65+
</div>
66+
<div
67+
style={
68+
Object {
69+
"padding": "16px",
70+
}
71+
}>
72+
<div
73+
style={
74+
Object {
75+
"WebkitFontSmoothing": "antialiased",
76+
"color": "#444",
77+
"fontFamily": "
78+
-apple-system, \".SFNSText-Regular\", \"San Francisco\", \"Roboto\",
79+
\"Segoe UI\", \"Helvetica Neue\", \"Lucida Grande\", sans-serif
80+
",
81+
"fontSize": "15px",
82+
"fontWeight": 300,
83+
"lineHeight": 1.45,
84+
}
85+
}>
11486
<div
11587
style={
11688
Object {
117-
"marginBottom": 0,
89+
"borderTop": "1px solid rgb(238, 238, 238)",
90+
"marginTop": "10px",
91+
"padding": "16px 0",
11892
}
11993
}>
12094
<p
@@ -126,7 +100,7 @@ exports[`Default`] = `
126100
-apple-system, \".SFNSText-Regular\", \"San Francisco\", \"Roboto\",
127101
\"Segoe UI\", \"Helvetica Neue\", \"Lucida Grande\", sans-serif
128102
",
129-
"fontSize": 15,
103+
"fontSize": "15px",
130104
}
131105
}>
132106
Default badge
@@ -137,7 +111,7 @@ exports[`Default`] = `
137111
style={
138112
Object {
139113
"borderBottom": "1px solid #EEE",
140-
"fontSize": 25,
114+
"fontSize": "25px",
141115
"margin": "20px 0 0 0",
142116
"padding": "0 0 5px 0",
143117
}
@@ -251,7 +225,7 @@ exports[`Default`] = `
251225
style={
252226
Object {
253227
"borderBottom": "1px solid #EEE",
254-
"fontSize": 25,
228+
"fontSize": "25px",
255229
"margin": "20px 0 0 0",
256230
"padding": "0 0 5px 0",
257231
}

0 commit comments

Comments
 (0)