Merge pull request #4107 from influxdata/resuable/import-css-modules
Update CSS Importspull/4108/head
commit
51d3e418b1
|
@ -6,7 +6,7 @@ import Container from 'src/reusable_ui/components/overlays/OverlayContainer'
|
||||||
import Heading from 'src/reusable_ui/components/overlays/OverlayHeading'
|
import Heading from 'src/reusable_ui/components/overlays/OverlayHeading'
|
||||||
import Body from 'src/reusable_ui/components/overlays/OverlayBody'
|
import Body from 'src/reusable_ui/components/overlays/OverlayBody'
|
||||||
import DragAndDrop from 'src/shared/components/DragAndDrop'
|
import DragAndDrop from 'src/shared/components/DragAndDrop'
|
||||||
import ImportDashboardMappings from 'src/dashboards/components/ImportDashboardMappings'
|
import ImportDashboardMappings from 'src/dashboards/components/import_dashboard_mappings/ImportDashboardMappings'
|
||||||
import {notifyDashboardImportFailed} from 'src/shared/copy/notifications'
|
import {notifyDashboardImportFailed} from 'src/shared/copy/notifications'
|
||||||
|
|
||||||
import {Dashboard, Cell, Source} from 'src/types'
|
import {Dashboard, Cell, Source} from 'src/types'
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.dash-map--source,
|
.dash-map--source,
|
||||||
.dash-map--header,
|
.dash-map--header,
|
||||||
.dash-map--cell {
|
.dash-map--cell {
|
|
@ -25,6 +25,9 @@ import {
|
||||||
SourceItemValue,
|
SourceItemValue,
|
||||||
} from 'src/types/dashboards'
|
} from 'src/types/dashboards'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/dashboards/components/import_dashboard_mappings/ImportDashboardMappings.scss'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
cells: Cell[]
|
cells: Cell[]
|
||||||
source: Source
|
source: Source
|
|
@ -3,10 +3,7 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import 'src/style/modules/influx-colors';
|
@import 'src/style/modules/modules';
|
||||||
@import 'src/style/modules/variables';
|
|
||||||
@import 'src/style/modules/mixins';
|
|
||||||
@import 'src/style/layout/page-header';
|
|
||||||
|
|
||||||
$rename-dash-title-padding: 7px;
|
$rename-dash-title-padding: 7px;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
|
// Libraries
|
||||||
import React, {Component, KeyboardEvent} from 'react'
|
import React, {Component, KeyboardEvent} from 'react'
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
import './RenameDashboard.scss'
|
// Constants
|
||||||
import {
|
import {
|
||||||
DASHBOARD_NAME_MAX_LENGTH,
|
DASHBOARD_NAME_MAX_LENGTH,
|
||||||
DEFAULT_DASHBOARD_NAME,
|
DEFAULT_DASHBOARD_NAME,
|
||||||
} from 'src/dashboards/constants/index'
|
} from 'src/dashboards/constants/index'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/dashboards/components/rename_dashboard/RenameDashboard.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
onRename: (name: string) => void
|
onRename: (name: string) => void
|
||||||
name: string
|
name: string
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-family: $ix-text-font;
|
font-family: $ix-text-font;
|
||||||
|
|
|
@ -11,6 +11,11 @@ import {
|
||||||
IconFont,
|
IconFont,
|
||||||
} from 'src/reusable_ui/types'
|
} from 'src/reusable_ui/types'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/Button/Button.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
text: string
|
text: string
|
||||||
onClick?: () => void
|
onClick?: () => void
|
||||||
|
@ -22,6 +27,7 @@ interface Props {
|
||||||
titleText?: string
|
titleText?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ErrorHandling
|
||||||
class Button extends Component<Props> {
|
class Button extends Component<Props> {
|
||||||
public static defaultProps: Partial<Props> = {
|
public static defaultProps: Partial<Props> = {
|
||||||
color: ComponentColor.Default,
|
color: ComponentColor.Default,
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
Card Selector Card
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
$card-select--gutter: 4px;
|
$card-select--gutter: 4px;
|
||||||
|
|
||||||
$card-breakpoint-col-2: 600px;
|
$card-breakpoint-col-2: 600px;
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent} from 'react'
|
import React, {PureComponent} from 'react'
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import classnames from 'classnames'
|
||||||
|
|
||||||
|
// Types
|
||||||
import {CardSelectCardProps} from 'src/types/cardSelect'
|
import {CardSelectCardProps} from 'src/types/cardSelect'
|
||||||
|
|
||||||
import classnames from 'classnames'
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/card_select/CardSelectCard.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface State {
|
interface State {
|
||||||
checked: boolean
|
checked: boolean
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
Card Selector Wrapper
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.card-select--wrapper {
|
.card-select--wrapper {
|
||||||
border: none;
|
border: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
/* Dropdown Menu */
|
/* Dropdown Menu */
|
||||||
.dropdown--menu-container {
|
.dropdown--menu-container {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -18,6 +18,9 @@ import {
|
||||||
IconFont,
|
IconFont,
|
||||||
} from 'src/reusable_ui/types'
|
} from 'src/reusable_ui/types'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/dropdowns/Dropdown.scss'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
/* Button */
|
/* Button */
|
||||||
.dropdown--button {
|
.dropdown--button {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -11,6 +11,10 @@ import {
|
||||||
DropdownChild,
|
DropdownChild,
|
||||||
} from 'src/reusable_ui/types'
|
} from 'src/reusable_ui/types'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/Button/Button.scss'
|
||||||
|
import 'src/reusable_ui/components/dropdowns/DropdownButton.scss'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$grid--form-gutter: 6px;
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
|
$grid--form-gutter: 6px;
|
||||||
|
|
||||||
.form--wrapper {
|
.form--wrapper {
|
||||||
width: calc(100% + #{$grid--form-gutter * 2});
|
width: calc(100% + #{$grid--form-gutter * 2});
|
||||||
|
|
|
@ -8,6 +8,9 @@ import FormLabel from 'src/reusable_ui/components/form_layout/FormLabel'
|
||||||
import FormDivider from 'src/reusable_ui/components/form_layout/FormDivider'
|
import FormDivider from 'src/reusable_ui/components/form_layout/FormDivider'
|
||||||
import FormFooter from 'src/reusable_ui/components/form_layout/FormFooter'
|
import FormFooter from 'src/reusable_ui/components/form_layout/FormFooter'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/form_layout/Form.scss'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
$input-bg: $g2-kevlar;
|
$input-bg: $g2-kevlar;
|
||||||
$input-disabled-bg: $g3-castle;
|
$input-disabled-bg: $g3-castle;
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,9 @@ import classnames from 'classnames'
|
||||||
// Types
|
// Types
|
||||||
import {ComponentStatus, ComponentSize, IconFont} from 'src/reusable_ui/types'
|
import {ComponentStatus, ComponentSize, IconFont} from 'src/reusable_ui/types'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/inputs/Input.scss'
|
||||||
|
|
||||||
export enum InputType {
|
export enum InputType {
|
||||||
Text = 'text',
|
Text = 'text',
|
||||||
Number = 'number',
|
Number = 'number',
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
$overlay-title-height: $chronograf-page-header-height;
|
$overlay-title-height: $chronograf-page-header-height;
|
||||||
$overlay-gutter: 30px;
|
$overlay-gutter: 30px;
|
||||||
$overlay-min-height: 150px;
|
$overlay-min-height: 150px;
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
import React, {Component} from 'react'
|
import React, {Component} from 'react'
|
||||||
import classnames from 'classnames'
|
import classnames from 'classnames'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/overlays/Overlay.scss'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
$panel-gutter: 30px;
|
$panel-gutter: 30px;
|
||||||
$panel-background: $g3-castle;
|
$panel-background: $g3-castle;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@ import PanelHeader from 'src/reusable_ui/components/panel/PanelHeader'
|
||||||
import PanelBody from 'src/reusable_ui/components/panel/PanelBody'
|
import PanelBody from 'src/reusable_ui/components/panel/PanelBody'
|
||||||
import PanelFooter from 'src/reusable_ui/components/panel/PanelFooter'
|
import PanelFooter from 'src/reusable_ui/components/panel/PanelFooter'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/panel/Panel.scss'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
export enum PanelType {
|
export enum PanelType {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.slide-toggle {
|
.slide-toggle {
|
||||||
background-color: $g1-raven;
|
background-color: $g1-raven;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -5,6 +5,9 @@ import classnames from 'classnames'
|
||||||
// Types
|
// Types
|
||||||
import {ComponentColor, ComponentSize} from 'src/reusable_ui/types'
|
import {ComponentColor, ComponentSize} from 'src/reusable_ui/types'
|
||||||
|
|
||||||
|
// Styles
|
||||||
|
import 'src/reusable_ui/components/slide_toggle/SlideToggle.scss'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
@import 'src/style/modules/influx-colors';
|
/*
|
||||||
|
Wizard Progress Connector Styles
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.wizard-progress-connector {
|
.wizard-progress-connector {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent} from 'react'
|
import React, {PureComponent} from 'react'
|
||||||
import {ConnectorState} from 'src/reusable_ui/constants/wizard'
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
|
|
||||||
|
// Types
|
||||||
|
import {ConnectorState} from 'src/reusable_ui/constants/wizard'
|
||||||
|
|
||||||
|
// Styles
|
||||||
import 'src/reusable_ui/components/wizard/ProgressConnector.scss'
|
import 'src/reusable_ui/components/wizard/ProgressConnector.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
status: ConnectorState
|
status: ConnectorState
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
@import 'src/style/modules/variables';
|
/*
|
||||||
|
Wizard Button Bar Styles
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.wizard-button-bar {
|
.wizard-button-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent} from 'react'
|
import React, {PureComponent} from 'react'
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
|
|
||||||
|
// Styles
|
||||||
import 'src/reusable_ui/components/wizard/WizardButtonBar.scss'
|
import 'src/reusable_ui/components/wizard/WizardButtonBar.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
decrement?: () => void
|
decrement?: () => void
|
||||||
nextLabel?: string
|
nextLabel?: string
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
@import 'src/style/modules/influx-colors';
|
/*
|
||||||
@import 'src/style/modules/variables';
|
Wizard Controller Styles
|
||||||
@import 'src/style/modules/mixins';
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.wizard-step-title {
|
.wizard-step-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -1,11 +1,18 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent, ReactElement} from 'react'
|
import React, {PureComponent, ReactElement} from 'react'
|
||||||
|
|
||||||
|
// Components
|
||||||
import WizardProgressBar from 'src/reusable_ui/components/wizard/WizardProgressBar'
|
import WizardProgressBar from 'src/reusable_ui/components/wizard/WizardProgressBar'
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
|
// Types
|
||||||
import {WizardStepProps, Step} from 'src/types/wizard'
|
import {WizardStepProps, Step} from 'src/types/wizard'
|
||||||
import {StepStatus} from 'src/reusable_ui/constants/wizard'
|
import {StepStatus} from 'src/reusable_ui/constants/wizard'
|
||||||
|
|
||||||
|
// Styles
|
||||||
import 'src/reusable_ui/components/wizard/WizardController.scss'
|
import 'src/reusable_ui/components/wizard/WizardController.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface State {
|
interface State {
|
||||||
steps: Step[]
|
steps: Step[]
|
||||||
currentStepIndex: number
|
currentStepIndex: number
|
||||||
|
@ -20,7 +27,7 @@ interface Props {
|
||||||
@ErrorHandling
|
@ErrorHandling
|
||||||
class WizardController extends PureComponent<Props, State> {
|
class WizardController extends PureComponent<Props, State> {
|
||||||
public static defaultProps: Partial<Props> = {
|
public static defaultProps: Partial<Props> = {
|
||||||
skipLinkText: 'skip',
|
skipLinkText: 'Skip',
|
||||||
}
|
}
|
||||||
|
|
||||||
public static getDerivedStateFromProps(props: Props, state: State) {
|
public static getDerivedStateFromProps(props: Props, state: State) {
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
@import 'src/style/modules/influx-colors';
|
/*
|
||||||
@import 'src/style/modules/variables';
|
Full Screen Wizard Styles
|
||||||
@import 'src/style/modules/mixins';
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.wizard-container {
|
.wizard-container {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent, ReactElement} from 'react'
|
import React, {PureComponent, ReactElement} from 'react'
|
||||||
|
|
||||||
|
// Components
|
||||||
import SplashPage from 'src/shared/components/SplashPage'
|
import SplashPage from 'src/shared/components/SplashPage'
|
||||||
import WizardController from 'src/reusable_ui/components/wizard/WizardController'
|
import WizardController from 'src/reusable_ui/components/wizard/WizardController'
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
|
|
||||||
|
// Types
|
||||||
import {WizardStepProps} from 'src/types/wizard'
|
import {WizardStepProps} from 'src/types/wizard'
|
||||||
|
|
||||||
|
// Styles
|
||||||
import 'src/reusable_ui/components/wizard/WizardFullScreen.scss'
|
import 'src/reusable_ui/components/wizard/WizardFullScreen.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
children: Array<ReactElement<WizardStepProps>>
|
children: Array<ReactElement<WizardStepProps>>
|
||||||
title: string
|
title: string
|
||||||
|
|
|
@ -1,11 +1,16 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent, ReactElement} from 'react'
|
import React, {PureComponent, ReactElement} from 'react'
|
||||||
|
|
||||||
|
// Components
|
||||||
import OverlayBody from 'src/reusable_ui/components/overlays/OverlayBody'
|
import OverlayBody from 'src/reusable_ui/components/overlays/OverlayBody'
|
||||||
import OverlayContainer from 'src/reusable_ui/components/overlays/OverlayContainer'
|
import OverlayContainer from 'src/reusable_ui/components/overlays/OverlayContainer'
|
||||||
import OverlayTechnology from 'src/reusable_ui/components/overlays/OverlayTechnology'
|
import OverlayTechnology from 'src/reusable_ui/components/overlays/OverlayTechnology'
|
||||||
import WizardController from 'src/reusable_ui/components/wizard/WizardController'
|
import WizardController from 'src/reusable_ui/components/wizard/WizardController'
|
||||||
import OverlayHeading from 'src/reusable_ui/components/overlays/OverlayHeading'
|
import OverlayHeading from 'src/reusable_ui/components/overlays/OverlayHeading'
|
||||||
|
|
||||||
|
// Types
|
||||||
import {WizardStepProps} from 'src/types/wizard'
|
import {WizardStepProps} from 'src/types/wizard'
|
||||||
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
@import 'src/style/modules/influx-colors';
|
/*
|
||||||
@import 'src/style/modules/variables';
|
Wizard Progress Bar Styles
|
||||||
@import 'src/style/modules/mixins';
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.wizard-progress-bar {
|
.wizard-progress-bar {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent} from 'react'
|
import React, {PureComponent} from 'react'
|
||||||
import ProgressConnector from 'src/reusable_ui/components/wizard/ProgressConnector'
|
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
|
|
||||||
|
// Components
|
||||||
|
import ProgressConnector from 'src/reusable_ui/components/wizard/ProgressConnector'
|
||||||
|
|
||||||
|
// Types
|
||||||
import {Step} from 'src/types/wizard'
|
import {Step} from 'src/types/wizard'
|
||||||
import {ConnectorState, StepStatus} from 'src/reusable_ui/constants/wizard'
|
import {ConnectorState, StepStatus} from 'src/reusable_ui/constants/wizard'
|
||||||
|
|
||||||
|
// Types
|
||||||
import 'src/reusable_ui/components/wizard/WizardProgressBar.scss'
|
import 'src/reusable_ui/components/wizard/WizardProgressBar.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
steps: Step[]
|
steps: Step[]
|
||||||
currentStepIndex: number
|
currentStepIndex: number
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
@import 'src/style/modules/variables';
|
/*
|
||||||
|
Wizard Step Styles
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import 'src/style/modules/modules';
|
||||||
|
|
||||||
.wizard-step-content {
|
.wizard-step-content {
|
||||||
margin: $ix-marg-b 0;
|
margin: $ix-marg-b 0;
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
|
// Libraries
|
||||||
import React, {PureComponent, ReactNode} from 'react'
|
import React, {PureComponent, ReactNode} from 'react'
|
||||||
|
|
||||||
|
// Components
|
||||||
import FancyScrollbar from 'src/shared/components/FancyScrollbar'
|
import FancyScrollbar from 'src/shared/components/FancyScrollbar'
|
||||||
import WizardButtonBar from 'src/reusable_ui/components/wizard/WizardButtonBar'
|
import WizardButtonBar from 'src/reusable_ui/components/wizard/WizardButtonBar'
|
||||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
|
||||||
|
|
||||||
|
// Styles
|
||||||
import 'src/reusable_ui/components/wizard/WizardStep.scss'
|
import 'src/reusable_ui/components/wizard/WizardStep.scss'
|
||||||
|
|
||||||
|
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
title: string
|
title: string
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
// Reusable UI Components
|
|
||||||
@import 'components/Button/Button';
|
|
||||||
@import 'components/dropdowns/Dropdown';
|
|
||||||
@import 'components/dropdowns/DropdownButton';
|
|
||||||
@import 'components/form_layout/Form';
|
|
||||||
@import 'components/inputs/Input';
|
|
||||||
@import 'components/overlays/Overlay';
|
|
||||||
@import 'components/panel/Panel';
|
|
||||||
@import 'components/slide_toggle/SlideToggle';
|
|
||||||
@import 'components/card_select/CardSelectCard.scss';
|
|
||||||
@import 'components/card_select/CardSelectList.scss';
|
|
|
@ -71,10 +71,6 @@
|
||||||
@import 'components/kapacitor-logs-table';
|
@import 'components/kapacitor-logs-table';
|
||||||
@import 'components/dropdown-placeholder';
|
@import 'components/dropdown-placeholder';
|
||||||
@import 'components/histogram-chart';
|
@import 'components/histogram-chart';
|
||||||
@import 'components/import-dashboard-mappings';
|
|
||||||
|
|
||||||
// Reusable UI Components
|
|
||||||
@import '../reusable_ui/styles';
|
|
||||||
|
|
||||||
// Pages
|
// Pages
|
||||||
@import 'pages/config-endpoints';
|
@import 'pages/config-endpoints';
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
Page Header
|
Page Header
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
$page-header-size: 19px;
|
|
||||||
$page-header-weight: 400 !important;
|
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
height: $chronograf-page-header-height;
|
height: $chronograf-page-header-height;
|
||||||
|
|
|
@ -10,6 +10,9 @@ $page-wrapper-padding: 60px;
|
||||||
$page-wrapper-max-width: 1300px;
|
$page-wrapper-max-width: 1300px;
|
||||||
$chronograf-page-header-height: 60px;
|
$chronograf-page-header-height: 60px;
|
||||||
|
|
||||||
|
$page-header-size: 19px;
|
||||||
|
$page-header-weight: 400 !important;
|
||||||
|
|
||||||
$ix-marg-a: 4px;
|
$ix-marg-a: 4px;
|
||||||
$ix-marg-b: 8px;
|
$ix-marg-b: 8px;
|
||||||
$ix-marg-c: 16px;
|
$ix-marg-c: 16px;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {shallow} from 'enzyme'
|
import {shallow} from 'enzyme'
|
||||||
|
|
||||||
import ImportDashboardMappings from 'src/dashboards/components/ImportDashboardMappings'
|
import ImportDashboardMappings from 'src/dashboards/components/import_dashboard_mappings/ImportDashboardMappings'
|
||||||
import {source, cell, query} from 'test/fixtures'
|
import {source, cell, query} from 'test/fixtures'
|
||||||
|
|
||||||
const setup = (override = {}) => {
|
const setup = (override = {}) => {
|
||||||
|
|
Loading…
Reference in New Issue