mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* refactor(loginpage): migrate custom button styles to use Button component * refactor(certificationkey): prefer grafana-ui form elements over html elements and classnames * refactor(axisselector): prefer grafana-ui Button component over html button element * refactor(input-datasource): replace use of btn class with grafana-ui components * chore(grafana-ui): delete deprecated ToggleButtonGroup component * refactor: replace btn and cta-form__close class usage with IconButton * chore(closebutton): post master merge use v2 theme * refactor(permissionlist): remove usage of .btn classname * Wip * docs(styling): update styling and theme docs import paths * refactor(alerting): remote btn classnames from TestRuleResult * refactor(apikeys): prefer grafana-ui Button components over btn classNames * refactor(folders): prefer grafana-ui Button components over btn classNames * refactor(teams): prefer grafana-ui Button components over btn classNames * refactor(datasources): prefer grafana-ui Button components over btn classNames * refactor: prefer grafana-ui Button components over btn classNames * Minor style tweak to service buttons * test: update snapshots related to button changes * chore(input-datasource): remove unused import declaration * refactor(loginservicebuttons): rename theme.palette to theme.colors Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
89 lines
1.4 KiB
Plaintext
89 lines
1.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Render should render component 1`] = `
|
|
<table
|
|
className="filter-table"
|
|
>
|
|
<tbody />
|
|
</table>
|
|
`;
|
|
|
|
exports[`Render should render table 1`] = `
|
|
<table
|
|
className="filter-table"
|
|
>
|
|
<tbody>
|
|
<tr
|
|
key="0-0"
|
|
>
|
|
<td
|
|
className="width-1"
|
|
>
|
|
<Icon
|
|
name="apps"
|
|
/>
|
|
</td>
|
|
<td>
|
|
<span>
|
|
Graphite Carbon Metrics
|
|
</span>
|
|
</td>
|
|
<td
|
|
style={
|
|
Object {
|
|
"textAlign": "right",
|
|
}
|
|
}
|
|
>
|
|
<Button
|
|
onClick={[Function]}
|
|
size="sm"
|
|
variant="secondary"
|
|
>
|
|
Import
|
|
</Button>
|
|
</td>
|
|
</tr>
|
|
<tr
|
|
key="0-1"
|
|
>
|
|
<td
|
|
className="width-1"
|
|
>
|
|
<Icon
|
|
name="apps"
|
|
/>
|
|
</td>
|
|
<td>
|
|
<a
|
|
href=""
|
|
>
|
|
Graphite Carbon Metrics
|
|
</a>
|
|
</td>
|
|
<td
|
|
style={
|
|
Object {
|
|
"textAlign": "right",
|
|
}
|
|
}
|
|
>
|
|
<Button
|
|
onClick={[Function]}
|
|
size="sm"
|
|
variant="secondary"
|
|
>
|
|
Update
|
|
</Button>
|
|
<Button
|
|
icon="trash-alt"
|
|
onClick={[Function]}
|
|
size="sm"
|
|
variant="destructive"
|
|
/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
`;
|