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
f28cc871
Commit
f28cc871
authored
Feb 21, 2019
by
Dominik Prokop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build
parent
1bbf7cc2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
5 deletions
+12
-5
packages/grafana-ui/src/components/ColorPicker/ColorPickerPopover.tsx
+1
-1
packages/grafana-ui/src/components/DeleteButton/DeleteButton.story.tsx
+1
-1
packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.tsx
+2
-1
packages/grafana-ui/src/components/Tooltip/Popper.tsx
+1
-1
public/app/plugins/datasource/graphite/FunctionEditor.tsx
+7
-1
No files found.
packages/grafana-ui/src/components/ColorPicker/ColorPickerPopover.tsx
View file @
f28cc871
...
@@ -4,7 +4,7 @@ import { getColorName, getColorFromHexRgbOrName } from '../../utils/namedColorsP
...
@@ -4,7 +4,7 @@ import { getColorName, getColorFromHexRgbOrName } from '../../utils/namedColorsP
import
{
ColorPickerProps
,
warnAboutColorPickerPropsDeprecation
}
from
'./ColorPicker'
;
import
{
ColorPickerProps
,
warnAboutColorPickerPropsDeprecation
}
from
'./ColorPicker'
;
import
{
PopperContentProps
}
from
'../Tooltip/PopperController'
;
import
{
PopperContentProps
}
from
'../Tooltip/PopperController'
;
import
SpectrumPalette
from
'./SpectrumPalette'
;
import
SpectrumPalette
from
'./SpectrumPalette'
;
import
{
GrafanaThemeType
}
from
'
@grafana/ui
'
;
import
{
GrafanaThemeType
}
from
'
../../types/theme
'
;
export
interface
Props
<
T
>
extends
ColorPickerProps
,
PopperContentProps
{
export
interface
Props
<
T
>
extends
ColorPickerProps
,
PopperContentProps
{
customPickers
?:
T
;
customPickers
?:
T
;
...
...
packages/grafana-ui/src/components/DeleteButton/DeleteButton.story.tsx
View file @
f28cc871
import
React
,
{
FunctionComponent
}
from
'react'
;
import
React
,
{
FunctionComponent
}
from
'react'
;
import
{
storiesOf
}
from
'@storybook/react'
;
import
{
storiesOf
}
from
'@storybook/react'
;
import
{
DeleteButton
}
from
'
@grafana/ui
'
;
import
{
DeleteButton
}
from
'
./DeleteButton
'
;
const
CenteredStory
:
FunctionComponent
<
{}
>
=
({
children
})
=>
{
const
CenteredStory
:
FunctionComponent
<
{}
>
=
({
children
})
=>
{
return
(
return
(
...
...
packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.tsx
View file @
f28cc871
...
@@ -3,7 +3,8 @@ import { Threshold } from '../../types';
...
@@ -3,7 +3,8 @@ import { Threshold } from '../../types';
import
{
ColorPicker
}
from
'..'
;
import
{
ColorPicker
}
from
'..'
;
import
{
PanelOptionsGroup
}
from
'..'
;
import
{
PanelOptionsGroup
}
from
'..'
;
import
{
colors
}
from
'../../utils'
;
import
{
colors
}
from
'../../utils'
;
import
{
getColorFromHexRgbOrName
,
ThemeContext
}
from
'@grafana/ui'
;
import
{
ThemeContext
}
from
'../../themes/ThemeContext'
;
import
{
getColorFromHexRgbOrName
}
from
'../../utils/namedColorsPalette'
;
export
interface
Props
{
export
interface
Props
{
thresholds
:
Threshold
[];
thresholds
:
Threshold
[];
...
...
packages/grafana-ui/src/components/Tooltip/Popper.tsx
View file @
f28cc871
import
React
,
{
PureComponent
}
from
'react'
;
import
React
,
{
PureComponent
}
from
'react'
;
import
*
as
PopperJS
from
'popper.js'
;
import
*
as
PopperJS
from
'popper.js'
;
import
{
Manager
,
Popper
as
ReactPopper
,
PopperArrowProps
}
from
'react-popper'
;
import
{
Manager
,
Popper
as
ReactPopper
,
PopperArrowProps
}
from
'react-popper'
;
import
{
Portal
}
from
'
@grafana/ui
'
;
import
{
Portal
}
from
'
../Portal/Portal
'
;
import
Transition
from
'react-transition-group/Transition'
;
import
Transition
from
'react-transition-group/Transition'
;
import
{
PopperContent
}
from
'./PopperController'
;
import
{
PopperContent
}
from
'./PopperController'
;
...
...
public/app/plugins/datasource/graphite/FunctionEditor.tsx
View file @
f28cc871
...
@@ -23,7 +23,13 @@ class FunctionEditor extends React.PureComponent<FunctionEditorProps, FunctionEd
...
@@ -23,7 +23,13 @@ class FunctionEditor extends React.PureComponent<FunctionEditorProps, FunctionEd
}
}
renderContent
=
({
updatePopperPosition
})
=>
{
renderContent
=
({
updatePopperPosition
})
=>
{
const
{
onMoveLeft
,
onMoveRight
,
func
:
{
def
:
{
name
,
description
}
}
}
=
this
.
props
;
const
{
onMoveLeft
,
onMoveRight
,
func
:
{
def
:
{
name
,
description
},
},
}
=
this
.
props
;
const
{
showingDescription
}
=
this
.
state
;
const
{
showingDescription
}
=
this
.
state
;
if
(
showingDescription
)
{
if
(
showingDescription
)
{
...
...
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