Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
639dc6c3
Commit
639dc6c3
authored
Jan 16, 2019
by
Hugo Häggmark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved Label to grafana/ui/components
parent
6edc4e9f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
13 deletions
+9
-13
packages/grafana-ui/src/components/Label/Label.tsx
+1
-1
packages/grafana-ui/src/components/index.ts
+1
-0
public/app/core/components/SharedPreferences/SharedPreferences.tsx
+1
-2
public/app/features/datasources/settings/BasicSettings.tsx
+2
-1
public/app/features/teams/TeamSettings.tsx
+1
-1
public/app/plugins/panel/gauge/GaugeOptionsEditor.tsx
+1
-2
public/app/plugins/panel/gauge/MappingRow.tsx
+1
-3
public/app/plugins/panel/gauge/ValueOptions.tsx
+1
-3
No files found.
p
ublic/app/core
/components/Label/Label.tsx
→
p
ackages/grafana-ui/src
/components/Label/Label.tsx
View file @
639dc6c3
import
React
,
{
SFC
,
ReactNode
}
from
'react'
;
import
{
Tooltip
}
from
'
@grafana/ui
'
;
import
{
Tooltip
}
from
'
../Tooltip/Tooltip
'
;
interface
Props
{
tooltip
?:
string
;
...
...
packages/grafana-ui/src/components/index.ts
View file @
639dc6c3
...
...
@@ -2,6 +2,7 @@ export { DeleteButton } from './DeleteButton/DeleteButton';
export
{
Tooltip
}
from
'./Tooltip/Tooltip'
;
export
{
Portal
}
from
'./Portal/Portal'
;
export
{
CustomScrollbar
}
from
'./CustomScrollbar/CustomScrollbar'
;
export
{
Label
}
from
'./Label/Label'
;
// Select
export
{
Select
,
AsyncSelect
,
SelectOptionItem
}
from
'./Select/Select'
;
...
...
public/app/core/components/SharedPreferences/SharedPreferences.tsx
View file @
639dc6c3
import
React
,
{
PureComponent
}
from
'react'
;
import
{
Select
,
Label
}
from
'@grafana/ui'
;
import
{
Label
}
from
'app/core/components/Label/Label'
;
import
{
Select
}
from
'@grafana/ui'
;
import
{
getBackendSrv
,
BackendSrv
}
from
'app/core/services/backend_srv'
;
import
{
DashboardSearchHit
}
from
'app/types'
;
...
...
public/app/features/datasources/settings/BasicSettings.tsx
View file @
639dc6c3
import
React
,
{
SFC
}
from
'react'
;
import
{
Label
}
from
'app/core/components/Label/Label'
;
import
{
Label
}
from
'@grafana/ui'
;
import
{
Switch
}
from
'../../../core/components/Switch/Switch'
;
export
interface
Props
{
...
...
public/app/features/teams/TeamSettings.tsx
View file @
639dc6c3
import
React
from
'react'
;
import
{
connect
}
from
'react-redux'
;
import
{
Label
}
from
'@grafana/ui'
;
import
{
Label
}
from
'app/core/components/Label/Label'
;
import
{
SharedPreferences
}
from
'app/core/components/SharedPreferences/SharedPreferences'
;
import
{
updateTeam
}
from
'./state/actions'
;
import
{
getRouteParamsId
}
from
'app/core/selectors/location'
;
...
...
public/app/plugins/panel/gauge/GaugeOptionsEditor.tsx
View file @
639dc6c3
import
React
,
{
PureComponent
}
from
'react'
;
import
{
GaugeOptions
,
PanelOptionsProps
,
PanelOptionsGroup
}
from
'@grafana/ui'
;
import
{
GaugeOptions
,
PanelOptionsProps
,
PanelOptionsGroup
,
Label
}
from
'@grafana/ui'
;
import
{
Switch
}
from
'app/core/components/Switch/Switch'
;
import
{
Label
}
from
'../../../core/components/Label/Label'
;
export
default
class
GaugeOptionsEditor
extends
PureComponent
<
PanelOptionsProps
<
GaugeOptions
>>
{
onToggleThresholdLabels
=
()
=>
...
...
public/app/plugins/panel/gauge/MappingRow.tsx
View file @
639dc6c3
import
React
,
{
PureComponent
}
from
'react'
;
import
{
MappingType
,
RangeMap
,
Select
,
ValueMap
}
from
'@grafana/ui'
;
import
{
Label
}
from
'app/core/components/Label/Label'
;
import
{
MappingType
,
RangeMap
,
Select
,
ValueMap
,
Label
}
from
'@grafana/ui'
;
interface
Props
{
mapping
:
ValueMap
|
RangeMap
;
...
...
public/app/plugins/panel/gauge/ValueOptions.tsx
View file @
639dc6c3
import
React
,
{
PureComponent
}
from
'react'
;
import
{
GaugeOptions
,
PanelOptionsProps
,
PanelOptionsGroup
}
from
'@grafana/ui'
;
import
{
GaugeOptions
,
PanelOptionsProps
,
PanelOptionsGroup
,
Label
,
Select
}
from
'@grafana/ui'
;
import
{
Label
}
from
'app/core/components/Label/Label'
;
import
{
Select
}
from
'@grafana/ui'
;
import
UnitPicker
from
'app/core/components/Select/UnitPicker'
;
const
statOptions
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment