@pingux/astro 1.27.0-alpha.17 → 1.27.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/components/MultivaluesField/MultivaluesField.js +10 -10
- package/lib/cjs/index.js +2 -67
- package/lib/cjs/recipes/FlippableCaretMenuButton.stories.js +30 -38
- package/lib/cjs/recipes/MaskedValue.stories.js +5 -8
- package/lib/cjs/recipes/NeutralInput.stories.js +3 -6
- package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +33 -38
- package/lib/cjs/recipes/RowLineChart.stories.js +70 -58
- package/lib/cjs/styles/variants/variants.js +1 -4
- package/lib/components/MultivaluesField/MultivaluesField.js +10 -10
- package/lib/index.js +1 -4
- package/lib/recipes/FlippableCaretMenuButton.stories.js +30 -38
- package/lib/recipes/MaskedValue.stories.js +5 -8
- package/lib/recipes/NeutralInput.stories.js +3 -6
- package/lib/recipes/OneWayToBidirectionalArrow.stories.js +33 -38
- package/lib/recipes/RowLineChart.stories.js +70 -58
- package/lib/styles/variants/variants.js +1 -3
- package/package.json +1 -1
- package/lib/cjs/components/DataTable/DataTable.js +0 -477
- package/lib/cjs/components/DataTable/DataTable.stories.js +0 -310
- package/lib/cjs/components/DataTable/DataTable.styles.js +0 -156
- package/lib/cjs/components/DataTable/DataTable.test.js +0 -1307
- package/lib/cjs/components/DataTable/DataTableChip.js +0 -63
- package/lib/cjs/components/DataTable/DataTableChip.test.js +0 -38
- package/lib/cjs/components/DataTable/DataTableMenu.js +0 -51
- package/lib/cjs/components/DataTable/DataTableMenu.test.js +0 -20
- package/lib/cjs/components/DataTable/DataTableMultiLine.js +0 -75
- package/lib/cjs/components/DataTable/DataTableMultiLine.test.js +0 -30
- package/lib/cjs/components/DataTable/DataTableVirtualizer.js +0 -188
- package/lib/cjs/components/DataTable/index.js +0 -54
- package/lib/cjs/context/DataTableContext/index.js +0 -31
- package/lib/components/DataTable/DataTable.js +0 -431
- package/lib/components/DataTable/DataTable.stories.js +0 -273
- package/lib/components/DataTable/DataTable.styles.js +0 -137
- package/lib/components/DataTable/DataTable.test.js +0 -1256
- package/lib/components/DataTable/DataTableChip.js +0 -33
- package/lib/components/DataTable/DataTableChip.test.js +0 -31
- package/lib/components/DataTable/DataTableMenu.js +0 -24
- package/lib/components/DataTable/DataTableMenu.test.js +0 -13
- package/lib/components/DataTable/DataTableMultiLine.js +0 -46
- package/lib/components/DataTable/DataTableMultiLine.test.js +0 -22
- package/lib/components/DataTable/DataTableVirtualizer.js +0 -157
- package/lib/components/DataTable/index.js +0 -5
- package/lib/context/DataTableContext/index.js +0 -5
@@ -19,29 +19,6 @@ var items = [{
|
|
19
19
|
name: 'Third Option',
|
20
20
|
id: '3'
|
21
21
|
}];
|
22
|
-
var sx = {
|
23
|
-
actionIcon: {
|
24
|
-
color: 'neutral.30'
|
25
|
-
},
|
26
|
-
dragVerticalIcon: {
|
27
|
-
color: 'neutral.50'
|
28
|
-
},
|
29
|
-
iconButton: {
|
30
|
-
ml: 'xs'
|
31
|
-
},
|
32
|
-
iconButtonToggleContainer: {
|
33
|
-
mx: 'sm',
|
34
|
-
flexShrink: 0
|
35
|
-
},
|
36
|
-
iconContainer: {
|
37
|
-
alignItems: 'center',
|
38
|
-
ml: '12px',
|
39
|
-
mr: '12px'
|
40
|
-
},
|
41
|
-
outerContainer: {
|
42
|
-
alignItems: 'center'
|
43
|
-
}
|
44
|
-
};
|
45
22
|
export var Default = function Default() {
|
46
23
|
var CustomOnSvg = function CustomOnSvg(props) {
|
47
24
|
return ___EmotionJSX("svg", _extends({
|
@@ -89,22 +66,24 @@ export var Default = function Default() {
|
|
89
66
|
};
|
90
67
|
|
91
68
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, {
|
92
|
-
sx:
|
69
|
+
sx: {
|
70
|
+
alignItems: 'center'
|
71
|
+
},
|
93
72
|
isRow: true
|
94
73
|
}, ___EmotionJSX(Icon, {
|
95
74
|
icon: DragVerticalIcon,
|
96
75
|
size: 25,
|
97
|
-
|
76
|
+
color: "neutral.50"
|
98
77
|
}), ___EmotionJSX(ComboBoxField, {
|
99
78
|
items: items,
|
100
79
|
defaultSelectedKey: "Last Name",
|
101
|
-
"aria-label": "Row one value",
|
102
80
|
containerProps: {
|
103
81
|
width: '275px'
|
104
82
|
},
|
105
83
|
labelProps: {
|
106
84
|
mb: 0
|
107
85
|
},
|
86
|
+
"aria-label": "Row one value",
|
108
87
|
controlProps: {
|
109
88
|
'aria-label': 'test'
|
110
89
|
}
|
@@ -114,7 +93,10 @@ export var Default = function Default() {
|
|
114
93
|
"data-id": item.name
|
115
94
|
}, item.name);
|
116
95
|
}), ___EmotionJSX(Box, {
|
117
|
-
sx:
|
96
|
+
sx: {
|
97
|
+
mx: 'sm',
|
98
|
+
flexShrink: 0
|
99
|
+
}
|
118
100
|
}, ___EmotionJSX(IconButtonToggle, {
|
119
101
|
toggledIcon: CustomOnSvg,
|
120
102
|
defaultIcon: CustomOffSvg,
|
@@ -144,29 +126,35 @@ export var Default = function Default() {
|
|
144
126
|
}, item.name);
|
145
127
|
}), ___EmotionJSX(Box, {
|
146
128
|
isRow: true,
|
147
|
-
|
129
|
+
alignItems: "center",
|
130
|
+
sx: {
|
131
|
+
marginLeft: '12px',
|
132
|
+
marginRight: '12px'
|
133
|
+
}
|
148
134
|
}, ___EmotionJSX(IconButton, {
|
149
135
|
"aria-label": "Edit"
|
150
136
|
}, ___EmotionJSX(Icon, {
|
151
137
|
icon: CogsIcon,
|
152
|
-
|
138
|
+
color: "neutral.30",
|
153
139
|
size: 20,
|
154
140
|
title: "edit icon"
|
155
141
|
})), ___EmotionJSX(IconButton, {
|
156
|
-
|
142
|
+
ml: "5px",
|
157
143
|
"aria-label": "Delete"
|
158
144
|
}, ___EmotionJSX(Icon, {
|
159
145
|
icon: DeleteIcon,
|
160
|
-
|
146
|
+
color: "neutral.30",
|
161
147
|
size: 20,
|
162
148
|
title: "delete icon"
|
163
149
|
})))), ___EmotionJSX(Box, {
|
164
|
-
sx:
|
150
|
+
sx: {
|
151
|
+
alignItems: 'center'
|
152
|
+
},
|
165
153
|
isRow: true
|
166
154
|
}, ___EmotionJSX(Icon, {
|
167
155
|
icon: DragVerticalIcon,
|
168
156
|
size: 25,
|
169
|
-
|
157
|
+
color: "neutral.50"
|
170
158
|
}), ___EmotionJSX(ComboBoxField, {
|
171
159
|
items: items,
|
172
160
|
defaultSelectedKey: "Last Name",
|
@@ -186,7 +174,10 @@ export var Default = function Default() {
|
|
186
174
|
"data-id": item.name
|
187
175
|
}, item.name);
|
188
176
|
}), ___EmotionJSX(Box, {
|
189
|
-
sx:
|
177
|
+
sx: {
|
178
|
+
mx: 'sm',
|
179
|
+
flexShrink: 0
|
180
|
+
}
|
190
181
|
}, ___EmotionJSX(IconButtonToggle, {
|
191
182
|
toggledIcon: CustomRightSvg,
|
192
183
|
defaultIcon: CustomRightSvg,
|
@@ -216,20 +207,24 @@ export var Default = function Default() {
|
|
216
207
|
}, item.name);
|
217
208
|
}), ___EmotionJSX(Box, {
|
218
209
|
isRow: true,
|
219
|
-
|
210
|
+
alignItems: "center",
|
211
|
+
sx: {
|
212
|
+
marginLeft: '12px',
|
213
|
+
marginRight: '12px'
|
214
|
+
}
|
220
215
|
}, ___EmotionJSX(IconButton, {
|
221
216
|
"aria-label": "Edit"
|
222
217
|
}, ___EmotionJSX(Icon, {
|
223
218
|
icon: CogsIcon,
|
224
|
-
|
219
|
+
color: "neutral.30",
|
225
220
|
size: 20,
|
226
221
|
title: "edit icon"
|
227
222
|
})), ___EmotionJSX(IconButton, {
|
228
|
-
|
223
|
+
ml: "5px",
|
229
224
|
"aria-label": "Delete"
|
230
225
|
}, ___EmotionJSX(Icon, {
|
231
226
|
icon: DeleteIcon,
|
232
|
-
|
227
|
+
color: "neutral.30",
|
233
228
|
size: 20,
|
234
229
|
title: "delete icon"
|
235
230
|
})))));
|
@@ -138,34 +138,6 @@ var zeroData = [{
|
|
138
138
|
id: 12,
|
139
139
|
value: 0
|
140
140
|
}];
|
141
|
-
var sx = {
|
142
|
-
container: {
|
143
|
-
backgroundColor: 'accent.99',
|
144
|
-
alignItems: 'center',
|
145
|
-
justifyContent: 'space-between',
|
146
|
-
pr: '20px'
|
147
|
-
},
|
148
|
-
button: {
|
149
|
-
ml: 'md',
|
150
|
-
pr: 'md'
|
151
|
-
},
|
152
|
-
chartTitleContainer: {
|
153
|
-
ml: '20px',
|
154
|
-
pr: 'md'
|
155
|
-
},
|
156
|
-
chartContainer: {
|
157
|
-
width: '100%',
|
158
|
-
height: '100%'
|
159
|
-
},
|
160
|
-
chart: {
|
161
|
-
width: '50',
|
162
|
-
height: '18'
|
163
|
-
},
|
164
|
-
chartTrendContainer: {
|
165
|
-
ml: 'md',
|
166
|
-
width: '50px'
|
167
|
-
}
|
168
|
-
};
|
169
141
|
export var Default = function Default() {
|
170
142
|
var _useResizeObserver = useResizeObserver(),
|
171
143
|
ref = _useResizeObserver.ref,
|
@@ -189,7 +161,10 @@ export var Default = function Default() {
|
|
189
161
|
|
190
162
|
var EmptyData = ___EmotionJSX(Box, {
|
191
163
|
isRow: true,
|
192
|
-
|
164
|
+
bg: "accent.99",
|
165
|
+
alignItems: "center",
|
166
|
+
justifyContent: "space-between",
|
167
|
+
pr: 20,
|
193
168
|
ref: ref
|
194
169
|
}, ___EmotionJSX(Box, {
|
195
170
|
p: "md",
|
@@ -203,7 +178,8 @@ export var Default = function Default() {
|
|
203
178
|
alignItems: "center"
|
204
179
|
}, ___EmotionJSX(Box, _extends({
|
205
180
|
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
206
|
-
|
181
|
+
ml: 20,
|
182
|
+
pr: 15
|
207
183
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
208
184
|
variant: "expandableRow.lineChart.title"
|
209
185
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
@@ -216,7 +192,8 @@ export var Default = function Default() {
|
|
216
192
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
217
193
|
variant: "expandableRow.chartWrapper",
|
218
194
|
onPress: action('seeContributingDataAction'),
|
219
|
-
|
195
|
+
ml: 15,
|
196
|
+
pr: 15,
|
220
197
|
"aria-label": "line-chart button"
|
221
198
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
222
199
|
variant: "boxes.expandableRow.lineChart.divider"
|
@@ -225,9 +202,11 @@ export var Default = function Default() {
|
|
225
202
|
}, ___EmotionJSX(Box, {
|
226
203
|
variant: "boxes.expandableRow.lineChart.chart"
|
227
204
|
}, ___EmotionJSX(ResponsiveContainer, {
|
228
|
-
|
205
|
+
width: "100%",
|
206
|
+
height: "100%"
|
229
207
|
}, ___EmotionJSX(LineChart, {
|
230
|
-
|
208
|
+
width: 50,
|
209
|
+
height: 18,
|
231
210
|
data: chartData
|
232
211
|
}, ___EmotionJSX(Line, {
|
233
212
|
type: "monotone",
|
@@ -238,7 +217,8 @@ export var Default = function Default() {
|
|
238
217
|
variant: "expandableRow.lineChart.chartLabel"
|
239
218
|
}, "No data yet")), ___EmotionJSX(Box, {
|
240
219
|
size: "sm",
|
241
|
-
|
220
|
+
ml: 15,
|
221
|
+
width: 50
|
242
222
|
}, ___EmotionJSX(Text, {
|
243
223
|
variant: "expandableRow.lineChart.trend"
|
244
224
|
}, "+ 0%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
@@ -249,7 +229,10 @@ export var Default = function Default() {
|
|
249
229
|
|
250
230
|
var FullData = ___EmotionJSX(Box, {
|
251
231
|
isRow: true,
|
252
|
-
|
232
|
+
bg: "accent.99",
|
233
|
+
alignItems: "center",
|
234
|
+
justifyContent: "space-between",
|
235
|
+
pr: 20,
|
253
236
|
mt: 20
|
254
237
|
}, ___EmotionJSX(Box, {
|
255
238
|
p: "md",
|
@@ -263,7 +246,8 @@ export var Default = function Default() {
|
|
263
246
|
alignItems: "center"
|
264
247
|
}, ___EmotionJSX(Box, _extends({
|
265
248
|
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
266
|
-
|
249
|
+
ml: 20,
|
250
|
+
pr: 15
|
267
251
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
268
252
|
variant: "expandableRow.lineChart.title"
|
269
253
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
@@ -276,7 +260,8 @@ export var Default = function Default() {
|
|
276
260
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
277
261
|
variant: "expandableRow.chartWrapper",
|
278
262
|
onPress: action('seeContributingDataAction'),
|
279
|
-
|
263
|
+
ml: 15,
|
264
|
+
pr: 15,
|
280
265
|
"aria-label": "line-chart button"
|
281
266
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
282
267
|
variant: "boxes.expandableRow.lineChart.divider"
|
@@ -286,9 +271,11 @@ export var Default = function Default() {
|
|
286
271
|
variant: "boxes.expandableRow.lineChart.chart",
|
287
272
|
width: 50
|
288
273
|
}, ___EmotionJSX(ResponsiveContainer, {
|
289
|
-
|
274
|
+
width: "100%",
|
275
|
+
height: "100%"
|
290
276
|
}, ___EmotionJSX(LineChart, {
|
291
|
-
|
277
|
+
width: 50,
|
278
|
+
height: 18,
|
292
279
|
data: chartData
|
293
280
|
}, ___EmotionJSX(Line, {
|
294
281
|
type: "monotone",
|
@@ -299,7 +286,8 @@ export var Default = function Default() {
|
|
299
286
|
variant: "expandableRow.lineChart.chartLabel"
|
300
287
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
301
288
|
size: "sm",
|
302
|
-
|
289
|
+
ml: 15,
|
290
|
+
width: 50
|
303
291
|
}, ___EmotionJSX(Text, {
|
304
292
|
variant: "expandableRow.lineChart.trend"
|
305
293
|
}, "+ 8.6%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
@@ -310,7 +298,10 @@ export var Default = function Default() {
|
|
310
298
|
|
311
299
|
var PartialData = ___EmotionJSX(Box, {
|
312
300
|
isRow: true,
|
313
|
-
|
301
|
+
bg: "accent.99",
|
302
|
+
alignItems: "center",
|
303
|
+
justifyContent: "space-between",
|
304
|
+
pr: 20,
|
314
305
|
mt: 20
|
315
306
|
}, ___EmotionJSX(Box, {
|
316
307
|
p: "md",
|
@@ -324,7 +315,8 @@ export var Default = function Default() {
|
|
324
315
|
alignItems: "center"
|
325
316
|
}, ___EmotionJSX(Box, _extends({
|
326
317
|
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
327
|
-
|
318
|
+
ml: 20,
|
319
|
+
pr: 15
|
328
320
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
329
321
|
variant: "expandableRow.lineChart.title"
|
330
322
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
@@ -337,7 +329,8 @@ export var Default = function Default() {
|
|
337
329
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
338
330
|
variant: "expandableRow.chartWrapper",
|
339
331
|
onPress: action('seeContributingDataAction'),
|
340
|
-
|
332
|
+
ml: 15,
|
333
|
+
pr: 15,
|
341
334
|
"aria-label": "line-chart button"
|
342
335
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
343
336
|
variant: "boxes.expandableRow.lineChart.divider"
|
@@ -347,9 +340,11 @@ export var Default = function Default() {
|
|
347
340
|
variant: "boxes.expandableRow.lineChart.chart",
|
348
341
|
width: 50
|
349
342
|
}, ___EmotionJSX(ResponsiveContainer, {
|
350
|
-
|
343
|
+
width: "100%",
|
344
|
+
height: "100%"
|
351
345
|
}, ___EmotionJSX(LineChart, {
|
352
|
-
|
346
|
+
width: 50,
|
347
|
+
height: 18,
|
353
348
|
data: partialDataData
|
354
349
|
}, ___EmotionJSX(Line, {
|
355
350
|
type: "monotone",
|
@@ -360,7 +355,8 @@ export var Default = function Default() {
|
|
360
355
|
variant: "expandableRow.lineChart.chartLabel"
|
361
356
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
362
357
|
size: "sm",
|
363
|
-
|
358
|
+
ml: 15,
|
359
|
+
width: 50
|
364
360
|
}, ___EmotionJSX(Text, {
|
365
361
|
variant: "expandableRow.lineChart.trend"
|
366
362
|
}, "- 8.6%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
@@ -371,7 +367,10 @@ export var Default = function Default() {
|
|
371
367
|
|
372
368
|
var ZeroData = ___EmotionJSX(Box, {
|
373
369
|
isRow: true,
|
374
|
-
|
370
|
+
bg: "accent.99",
|
371
|
+
alignItems: "center",
|
372
|
+
justifyContent: "space-between",
|
373
|
+
pr: 20,
|
375
374
|
mt: 20
|
376
375
|
}, ___EmotionJSX(Box, {
|
377
376
|
p: "md",
|
@@ -385,7 +384,8 @@ export var Default = function Default() {
|
|
385
384
|
alignItems: "center"
|
386
385
|
}, ___EmotionJSX(Box, _extends({
|
387
386
|
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
388
|
-
|
387
|
+
ml: 20,
|
388
|
+
pr: 15
|
389
389
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
390
390
|
variant: "expandableRow.lineChart.title"
|
391
391
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
@@ -398,7 +398,8 @@ export var Default = function Default() {
|
|
398
398
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
399
399
|
variant: "expandableRow.chartWrapper",
|
400
400
|
onPress: action('seeContributingDataAction'),
|
401
|
-
|
401
|
+
ml: 15,
|
402
|
+
pr: 15,
|
402
403
|
"aria-label": "line-chart button"
|
403
404
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
404
405
|
variant: "boxes.expandableRow.lineChart.divider"
|
@@ -408,9 +409,11 @@ export var Default = function Default() {
|
|
408
409
|
variant: "boxes.expandableRow.lineChart.chart",
|
409
410
|
width: 50
|
410
411
|
}, ___EmotionJSX(ResponsiveContainer, {
|
411
|
-
|
412
|
+
width: "100%",
|
413
|
+
height: "100%"
|
412
414
|
}, ___EmotionJSX(LineChart, {
|
413
|
-
|
415
|
+
width: 50,
|
416
|
+
height: 18,
|
414
417
|
data: zeroData
|
415
418
|
}, ___EmotionJSX(Line, {
|
416
419
|
type: "monotone",
|
@@ -421,7 +424,8 @@ export var Default = function Default() {
|
|
421
424
|
variant: "expandableRow.lineChart.chartLabel"
|
422
425
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
423
426
|
size: "sm",
|
424
|
-
|
427
|
+
ml: 15,
|
428
|
+
width: 50
|
425
429
|
}, ___EmotionJSX(Text, {
|
426
430
|
variant: "expandableRow.lineChart.trend"
|
427
431
|
}, "+ 0%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
@@ -432,7 +436,10 @@ export var Default = function Default() {
|
|
432
436
|
|
433
437
|
var ZeroValues = ___EmotionJSX(Box, {
|
434
438
|
isRow: true,
|
435
|
-
|
439
|
+
bg: "accent.99",
|
440
|
+
alignItems: "center",
|
441
|
+
justifyContent: "space-between",
|
442
|
+
pr: 20,
|
436
443
|
mt: 20
|
437
444
|
}, ___EmotionJSX(Box, {
|
438
445
|
p: "md",
|
@@ -446,7 +453,8 @@ export var Default = function Default() {
|
|
446
453
|
alignItems: "center"
|
447
454
|
}, ___EmotionJSX(Box, _extends({
|
448
455
|
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
449
|
-
|
456
|
+
ml: 20,
|
457
|
+
pr: 15
|
450
458
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
451
459
|
variant: "expandableRow.lineChart.title"
|
452
460
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
@@ -459,7 +467,8 @@ export var Default = function Default() {
|
|
459
467
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
460
468
|
variant: "expandableRow.chartWrapper",
|
461
469
|
onPress: action('seeContributingDataAction'),
|
462
|
-
|
470
|
+
ml: 15,
|
471
|
+
pr: 15,
|
463
472
|
"aria-label": "line-chart button"
|
464
473
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
465
474
|
variant: "boxes.expandableRow.lineChart.divider"
|
@@ -469,9 +478,11 @@ export var Default = function Default() {
|
|
469
478
|
variant: "boxes.expandableRow.lineChart.chart",
|
470
479
|
width: 50
|
471
480
|
}, ___EmotionJSX(ResponsiveContainer, {
|
472
|
-
|
481
|
+
width: "100%",
|
482
|
+
height: "100%"
|
473
483
|
}, ___EmotionJSX(LineChart, {
|
474
|
-
|
484
|
+
width: 50,
|
485
|
+
height: 18,
|
475
486
|
data: zeroValuesData
|
476
487
|
}, ___EmotionJSX(Line, {
|
477
488
|
type: "monotone",
|
@@ -482,7 +493,8 @@ export var Default = function Default() {
|
|
482
493
|
variant: "expandableRow.lineChart.chartLabel"
|
483
494
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
484
495
|
size: "sm",
|
485
|
-
|
496
|
+
ml: 15,
|
497
|
+
width: 50
|
486
498
|
}, ___EmotionJSX(Text, {
|
487
499
|
variant: "expandableRow.lineChart.trend"
|
488
500
|
}, "+ 0%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
@@ -35,7 +35,6 @@ import table from './table';
|
|
35
35
|
import * as tabs from './tabs';
|
36
36
|
import tooltip from './tooltip';
|
37
37
|
import collapsiblePanel from './collapsiblePanel';
|
38
|
-
import dataTable from './../../components/DataTable/DataTable.styles';
|
39
38
|
export default _objectSpread(_objectSpread({
|
40
39
|
accordion: accordion,
|
41
40
|
boxes: boxes,
|
@@ -59,6 +58,5 @@ export default _objectSpread(_objectSpread({
|
|
59
58
|
stepper: stepper,
|
60
59
|
table: table
|
61
60
|
}, tabs), {}, {
|
62
|
-
tooltip: tooltip
|
63
|
-
dataTable: dataTable
|
61
|
+
tooltip: tooltip
|
64
62
|
});
|