playbook_ui 13.31.0.pre.alpha.PLAY882formpillprimaryandneutral3201 → 13.31.0.pre.alpha.PLAY10863202
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +5 -108
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +2 -11
- data/app/pb_kits/playbook/pb_form_pill/form_pill.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +1 -5
- data/app/pb_kits/playbook/pb_table/_table.tsx +1 -1
- data/app/pb_kits/playbook/pb_table/index.ts +4 -4
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_body.tsx +1 -1
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_cell.tsx +1 -1
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_head.tsx +1 -1
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_header.tsx +1 -1
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +1 -1
- data/app/pb_kits/playbook/pb_table/table.test.js +2 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +45 -27
- data/app/pb_kits/playbook/pb_textarea/index.tsx +3 -3
- data/app/pb_kits/playbook/pb_time/_time.tsx +3 -3
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -1
- data/app/pb_kits/playbook/pb_timeline/_item.tsx +1 -1
- data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
- data/app/pb_kits/playbook/pb_title/_title.tsx +2 -1
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +10 -10
- data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +1 -1
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +3 -3
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +3 -4
- data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +2 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +5 -4
- data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.tsx +12 -4
- data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +11 -7
- data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.tsx +8 -3
- data/app/pb_kits/playbook/pb_typeahead/components/MenuList.tsx +6 -1
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +26 -21
- data/app/pb_kits/playbook/pb_typeahead/components/Option.tsx +21 -6
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx +13 -6
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.tsx +7 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_menu_list.jsx +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +7 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +2 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/index.ts +33 -33
- data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +6 -6
- data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.tsx +236 -235
- data/app/pb_kits/playbook/pb_user_badge/badges/veteran.tsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +68 -63
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +2 -2
- data/dist/playbook-rails.js +2 -2
- data/lib/playbook/version.rb +1 -1
- metadata +1 -2
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.test.jsx +0 -53
@@ -1,356 +1,357 @@
|
|
1
1
|
import * as React from "react"
|
2
2
|
|
3
|
-
const MillionDollar = () => (
|
3
|
+
const MillionDollar = (): React.ReactElement => (
|
4
4
|
<svg
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
viewBox="0 0 242.9 242.9"
|
6
|
+
xmlSpace="preserve"
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
8
8
|
>
|
9
|
-
<circle
|
10
|
-
|
11
|
-
|
9
|
+
<circle
|
10
|
+
cx={121.5}
|
11
|
+
cy={121.5}
|
12
|
+
r={121.5}
|
12
13
|
/>
|
13
14
|
<linearGradient
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
gradientUnits="userSpaceOnUse"
|
16
|
+
id="a"
|
17
|
+
x1={42.483}
|
18
|
+
x2={200.309}
|
19
|
+
y1={35.645}
|
20
|
+
y2={35.645}
|
20
21
|
>
|
21
22
|
<stop
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
offset={0}
|
24
|
+
style={{
|
25
|
+
stopColor: "#e6b711",
|
26
|
+
}}
|
26
27
|
/>
|
27
28
|
<stop
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
offset={0.128}
|
30
|
+
style={{
|
31
|
+
stopColor: "#eac23c",
|
32
|
+
}}
|
32
33
|
/>
|
33
34
|
<stop
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
offset={0.278}
|
36
|
+
style={{
|
37
|
+
stopColor: "#ec6",
|
38
|
+
}}
|
38
39
|
/>
|
39
40
|
<stop
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
41
|
+
offset={0.413}
|
42
|
+
style={{
|
43
|
+
stopColor: "#f1d485",
|
44
|
+
}}
|
44
45
|
/>
|
45
46
|
<stop
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
offset={0.527}
|
48
|
+
style={{
|
49
|
+
stopColor: "#f2d998",
|
50
|
+
}}
|
50
51
|
/>
|
51
52
|
<stop
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
offset={0.607}
|
54
|
+
style={{
|
55
|
+
stopColor: "#f3db9f",
|
56
|
+
}}
|
56
57
|
/>
|
57
58
|
<stop
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
59
|
+
offset={1}
|
60
|
+
style={{
|
61
|
+
stopColor: "#e6b711",
|
62
|
+
}}
|
62
63
|
/>
|
63
64
|
</linearGradient>
|
64
65
|
<path
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
66
|
+
d="M56.4 53.8c16.9-16.2 39.8-26.2 65-26.2 25.2 0 48.1 10 64.9 26.2h14c-19.1-22.2-47.4-36.3-78.9-36.3-31.5 0-59.8 14.1-78.9 36.3h13.9z"
|
67
|
+
style={{
|
68
|
+
fill: "url(#a)",
|
69
|
+
}}
|
69
70
|
/>
|
70
71
|
<linearGradient
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
72
|
+
gradientUnits="userSpaceOnUse"
|
73
|
+
id="b"
|
74
|
+
x1={17.407}
|
75
|
+
x2={44.897}
|
76
|
+
y1={132.179}
|
77
|
+
y2={132.179}
|
77
78
|
>
|
78
79
|
<stop
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
80
|
+
offset={0}
|
81
|
+
style={{
|
82
|
+
stopColor: "#e6b711",
|
83
|
+
}}
|
83
84
|
/>
|
84
85
|
<stop
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
86
|
+
offset={0.128}
|
87
|
+
style={{
|
88
|
+
stopColor: "#eac23c",
|
89
|
+
}}
|
89
90
|
/>
|
90
91
|
<stop
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
92
|
+
offset={0.278}
|
93
|
+
style={{
|
94
|
+
stopColor: "#ec6",
|
95
|
+
}}
|
95
96
|
/>
|
96
97
|
<stop
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
98
|
+
offset={0.413}
|
99
|
+
style={{
|
100
|
+
stopColor: "#f1d485",
|
101
|
+
}}
|
101
102
|
/>
|
102
103
|
<stop
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
104
|
+
offset={0.527}
|
105
|
+
style={{
|
106
|
+
stopColor: "#f2d998",
|
107
|
+
}}
|
107
108
|
/>
|
108
109
|
<stop
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
110
|
+
offset={0.607}
|
111
|
+
style={{
|
112
|
+
stopColor: "#f3db9f",
|
113
|
+
}}
|
113
114
|
/>
|
114
115
|
<stop
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
116
|
+
offset={1}
|
117
|
+
style={{
|
118
|
+
stopColor: "#e6b711",
|
119
|
+
}}
|
119
120
|
/>
|
120
121
|
</linearGradient>
|
121
122
|
<path
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
123
|
+
d="M44.9 175.7c-10.9-15.3-17.3-34-17.3-54.2 0-14.1 3.1-27.5 8.8-39.5H25.3c-5 12.2-7.8 25.5-7.8 39.5 0 22.7 7.3 43.8 19.8 60.9l7.6-6.7z"
|
124
|
+
style={{
|
125
|
+
fill: "url(#b)",
|
126
|
+
}}
|
126
127
|
/>
|
127
128
|
<linearGradient
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
129
|
+
gradientUnits="userSpaceOnUse"
|
130
|
+
id="c"
|
131
|
+
x1={52.914}
|
132
|
+
x2={189.715}
|
133
|
+
y1={212.573}
|
134
|
+
y2={212.573}
|
134
135
|
>
|
135
136
|
<stop
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
137
|
+
offset={0}
|
138
|
+
style={{
|
139
|
+
stopColor: "#e6b711",
|
140
|
+
}}
|
140
141
|
/>
|
141
142
|
<stop
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
143
|
+
offset={0.128}
|
144
|
+
style={{
|
145
|
+
stopColor: "#eac23c",
|
146
|
+
}}
|
146
147
|
/>
|
147
148
|
<stop
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
149
|
+
offset={0.278}
|
150
|
+
style={{
|
151
|
+
stopColor: "#ec6",
|
152
|
+
}}
|
152
153
|
/>
|
153
154
|
<stop
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
155
|
+
offset={0.413}
|
156
|
+
style={{
|
157
|
+
stopColor: "#f1d485",
|
158
|
+
}}
|
158
159
|
/>
|
159
160
|
<stop
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
161
|
+
offset={0.527}
|
162
|
+
style={{
|
163
|
+
stopColor: "#f2d998",
|
164
|
+
}}
|
164
165
|
/>
|
165
166
|
<stop
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
167
|
+
offset={0.607}
|
168
|
+
style={{
|
169
|
+
stopColor: "#f3db9f",
|
170
|
+
}}
|
170
171
|
/>
|
171
172
|
<stop
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
173
|
+
offset={1}
|
174
|
+
style={{
|
175
|
+
stopColor: "#e6b711",
|
176
|
+
}}
|
176
177
|
/>
|
177
178
|
</linearGradient>
|
178
179
|
<path
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
180
|
+
d="M173 199.8c-14.8 9.8-32.5 15.5-51.6 15.5s-37-5.8-51.8-15.6H52.9c18.3 16.1 42.3 25.8 68.5 25.8 26.1 0 50-9.7 68.3-25.7H173z"
|
181
|
+
style={{
|
182
|
+
fill: "url(#c)",
|
183
|
+
}}
|
183
184
|
/>
|
184
185
|
<linearGradient
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
186
|
+
gradientUnits="userSpaceOnUse"
|
187
|
+
id="d"
|
188
|
+
x1={31.123}
|
189
|
+
x2={207.766}
|
190
|
+
y1={136.159}
|
191
|
+
y2={136.159}
|
191
192
|
>
|
192
193
|
<stop
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
194
|
+
offset={0}
|
195
|
+
style={{
|
196
|
+
stopColor: "#e6b711",
|
197
|
+
}}
|
197
198
|
/>
|
198
199
|
<stop
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
200
|
+
offset={0.128}
|
201
|
+
style={{
|
202
|
+
stopColor: "#eac23c",
|
203
|
+
}}
|
203
204
|
/>
|
204
205
|
<stop
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
206
|
+
offset={0.278}
|
207
|
+
style={{
|
208
|
+
stopColor: "#ec6",
|
209
|
+
}}
|
209
210
|
/>
|
210
211
|
<stop
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
212
|
+
offset={0.413}
|
213
|
+
style={{
|
214
|
+
stopColor: "#f1d485",
|
215
|
+
}}
|
215
216
|
/>
|
216
217
|
<stop
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
218
|
+
offset={0.527}
|
219
|
+
style={{
|
220
|
+
stopColor: "#f2d998",
|
221
|
+
}}
|
221
222
|
/>
|
222
223
|
<stop
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
224
|
+
offset={0.607}
|
225
|
+
style={{
|
226
|
+
stopColor: "#f3db9f",
|
227
|
+
}}
|
227
228
|
/>
|
228
229
|
<stop
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
230
|
+
offset={1}
|
231
|
+
style={{
|
232
|
+
stopColor: "#e6b711",
|
233
|
+
}}
|
233
234
|
/>
|
234
235
|
</linearGradient>
|
235
236
|
<path
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
237
|
+
d="M139.2 193v-1.8c5-.4 10.2-.5 13.4-5 3.8-5.2 3.2-15.4 3.2-21.5V78.5l-47.3 120.4L61.2 81.2v61.1c0 13.6.5 35.1 12.5 44.2 4.3 3.2 9 3.9 14.2 4.7v1.8H31.1v-1.8c1.6-.4 3.2-.7 4.8-1.1 22.6-5.7 22.9-32.4 22.9-51.1v-37.8c0-6.1.5-13.3-3.2-18.5-4.5-6.1-13.4-7.2-20.4-7.5v-1.8H96l29.6 75.4 29.9-75.4h52.3v1.8c-4.8.4-10.2.9-13.4 5-3.8 4.8-3.2 15.9-3.2 21.9v62.5c0 6.3-.7 16.1 3.2 21.5 3.2 4.3 6.2 4.7 11.2 5v1.8h-66.4z"
|
238
|
+
style={{
|
239
|
+
fill: "url(#d)",
|
240
|
+
}}
|
240
241
|
/>
|
241
242
|
<linearGradient
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
243
|
+
gradientUnits="userSpaceOnUse"
|
244
|
+
id="e"
|
245
|
+
x1={30.453}
|
246
|
+
x2={213.794}
|
247
|
+
y1={63.629}
|
248
|
+
y2={63.629}
|
248
249
|
>
|
249
250
|
<stop
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
251
|
+
offset={0}
|
252
|
+
style={{
|
253
|
+
stopColor: "#e6b711",
|
254
|
+
}}
|
254
255
|
/>
|
255
256
|
<stop
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
257
|
+
offset={0.128}
|
258
|
+
style={{
|
259
|
+
stopColor: "#eac23c",
|
260
|
+
}}
|
260
261
|
/>
|
261
262
|
<stop
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
263
|
+
offset={0.278}
|
264
|
+
style={{
|
265
|
+
stopColor: "#ec6",
|
266
|
+
}}
|
266
267
|
/>
|
267
268
|
<stop
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
269
|
+
offset={0.413}
|
270
|
+
style={{
|
271
|
+
stopColor: "#f1d485",
|
272
|
+
}}
|
272
273
|
/>
|
273
274
|
<stop
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
275
|
+
offset={0.527}
|
276
|
+
style={{
|
277
|
+
stopColor: "#f2d998",
|
278
|
+
}}
|
278
279
|
/>
|
279
280
|
<stop
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
281
|
+
offset={0.607}
|
282
|
+
style={{
|
283
|
+
stopColor: "#f3db9f",
|
284
|
+
}}
|
284
285
|
/>
|
285
286
|
<stop
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
287
|
+
offset={1}
|
288
|
+
style={{
|
289
|
+
stopColor: "#e6b711",
|
290
|
+
}}
|
290
291
|
/>
|
291
292
|
</linearGradient>
|
292
293
|
<path
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
294
|
+
d="M30.5 60.6h183.3v6.1H30.5z"
|
295
|
+
style={{
|
296
|
+
fill: "url(#e)",
|
297
|
+
}}
|
297
298
|
/>
|
298
299
|
<linearGradient
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
300
|
+
gradientUnits="userSpaceOnUse"
|
301
|
+
id="f"
|
302
|
+
x1={196.676}
|
303
|
+
x2={225.538}
|
304
|
+
y1={132.923}
|
305
|
+
y2={132.923}
|
305
306
|
>
|
306
307
|
<stop
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
308
|
+
offset={0}
|
309
|
+
style={{
|
310
|
+
stopColor: "#e6b711",
|
311
|
+
}}
|
311
312
|
/>
|
312
313
|
<stop
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
314
|
+
offset={0.128}
|
315
|
+
style={{
|
316
|
+
stopColor: "#eac23c",
|
317
|
+
}}
|
317
318
|
/>
|
318
319
|
<stop
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
320
|
+
offset={0.278}
|
321
|
+
style={{
|
322
|
+
stopColor: "#ec6",
|
323
|
+
}}
|
323
324
|
/>
|
324
325
|
<stop
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
326
|
+
offset={0.413}
|
327
|
+
style={{
|
328
|
+
stopColor: "#f1d485",
|
329
|
+
}}
|
329
330
|
/>
|
330
331
|
<stop
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
332
|
+
offset={0.527}
|
333
|
+
style={{
|
334
|
+
stopColor: "#f2d998",
|
335
|
+
}}
|
335
336
|
/>
|
336
337
|
<stop
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
338
|
+
offset={0.607}
|
339
|
+
style={{
|
340
|
+
stopColor: "#f3db9f",
|
341
|
+
}}
|
341
342
|
/>
|
342
343
|
<stop
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
344
|
+
offset={1}
|
345
|
+
style={{
|
346
|
+
stopColor: "#e6b711",
|
347
|
+
}}
|
347
348
|
/>
|
348
349
|
</linearGradient>
|
349
350
|
<path
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
351
|
+
d="M196.7 177.5c11.5-15.6 18.7-35.2 18.7-56 0-14.1-3.1-27.5-8.8-39.5h11.1c5 12.2 7.8 25.5 7.8 39.5 0 23.4-7.8 45-20.9 62.4l-7.9-6.4z"
|
352
|
+
style={{
|
353
|
+
fill: "url(#f)",
|
354
|
+
}}
|
354
355
|
/>
|
355
356
|
</svg>
|
356
357
|
)
|