Skip to content

Commit

Permalink
update imports from fast-components
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdholt committed May 10, 2020
1 parent 0ee9bdb commit 268ff8f
Show file tree
Hide file tree
Showing 21 changed files with 53 additions and 77 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { customElement } from "@microsoft/fast-element";
import { Anchor } from "@microsoft/fast-components";
// update the below once #3091 is merged
import { AnchorTemplate as template } from "@microsoft/fast-components/dist/anchor/anchor.template";
import { Anchor, AnchorTemplate as template } from "@microsoft/fast-components";
import { AnchorStyles as styles } from "./anchor.styles";

// Anchor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
accentForegroundRestBehavior,
disabledCursor,
focusVisible,
forcedColorsStylesheetBehavior,
neutralFillActiveBehavior,
neutralFillFocusBehavior,
neutralFillHoverBehavior,
Expand All @@ -22,10 +23,8 @@ import {
neutralOutlineActiveBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import {
AccentButtonStyles,
BaseButtonStyles,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { customElement } from "@microsoft/fast-element";
import { Button } from "@microsoft/fast-components";
// update the below once #3091 is merged
import { ButtonTemplate as template } from "@microsoft/fast-components/dist/button/button.template";
import { Button, ButtonTemplate as template } from "@microsoft/fast-components";
import { ButtonStyles as styles } from "./button.styles";

// Button
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { css } from "@microsoft/fast-element";
import { display, elevation, neutralLayerCardBehavior } from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";
import {
display,
elevation,
forcedColorsStylesheetBehavior,
neutralLayerCardBehavior,
SystemColors,
} from "@microsoft/fast-components";

export const CardStyles = css`
${display("block")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillInputHoverBehavior,
neutralFillInputRestBehavior,
neutralForegroundRestBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";

export const CheckboxStyles = css`
${display("inline-flex")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillStealthActiveBehavior,
neutralFillStealthHoverBehavior,
neutralFillStealthRestBehavior,
Expand All @@ -11,11 +13,8 @@ import {
neutralOutlineActiveBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const FlipperStyles = css`
${display("inline-flex")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ import { css } from "@microsoft/fast-element";
import {
accentFillRestBehavior,
display,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillRestBehavior,
neutralForegroundHintBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const ProgressRingStyles = css`
${display("flex")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import { css } from "@microsoft/fast-element";
import {
accentFillRestBehavior,
display,
forcedColorsStylesheetBehavior,
neutralFillRestBehavior,
neutralForegroundHintBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const ProgressStyles = css`
${display("flex")} :host {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { customElement } from "@microsoft/fast-element";
// update the below imports once #3091 is merged
import {
RadioGroup,
RadioGroupTemplate as template,
} from "@microsoft/fast-components/dist/radio-group";
import { RadioGroup, RadioGroupTemplate as template } from "@microsoft/fast-components";
import { RadioGroupStyles as styles } from "./radio-group.styles";

@customElement({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { customElement } from "@microsoft/fast-element";
// update the below imports once #3091 is merged
import { Radio, RadioTemplate as template } from "@microsoft/fast-components/dist/radio";
import { Radio, RadioTemplate as template } from "@microsoft/fast-components";
import { RadioStyles as styles } from "./radio.styles";

@customElement({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillInputHoverBehavior,
neutralFillInputRestBehavior,
neutralForegroundRestBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const RadioStyles = css`
${display("inline-flex")} :host {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { customElement } from "@microsoft/fast-element";
import {
SliderLabel,
SliderLabelTemplate as template,
} from "@microsoft/fast-components/dist/slider-label";
import { SliderLabel, SliderLabelTemplate as template } from "@microsoft/fast-components";
import { SliderLabelStyles as styles } from "./slider-label.styles";

@customElement({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { css } from "@microsoft/fast-element";
import { display, neutralOutlineRestBehavior } from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";
import {
display,
forcedColorsStylesheetBehavior,
heightNumber,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";

export const SliderLabelStyles = css`
${display("block")} :host {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { customElement } from "@microsoft/fast-element";
import {
Slider,
SliderTemplate as template,
} from "@microsoft/fast-components/dist/slider";
import { Slider, SliderTemplate as template } from "@microsoft/fast-components";
import { SliderStyles as styles } from "./slider.styles";

@customElement({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralForegroundActiveBehavior,
neutralForegroundHoverBehavior,
neutralForegroundRestBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const SliderStyles = css`
:host([hidden]) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { css } from "@microsoft/fast-element";
import { display, focusVisible } from "@microsoft/fast-components";
// update the below once #3091 is merged
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { display, focusVisible, heightNumber } from "@microsoft/fast-components";

export const BaseButtonStyles = css`
${display("inline-block")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillInputActiveBehavior,
neutralFillInputHoverBehavior,
neutralFillInputRestBehavior,
neutralForegroundRestBehavior,
neutralOutlineActiveBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const SwitchStyles = css`
:host([hidden]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ import { css } from "@microsoft/fast-element";
import {
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFocusBehavior,
neutralForegroundActiveBehavior,
neutralForegroundHoverBehavior,
neutralForegroundRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const TabStyles = css`
${display("inline-flex")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import { css } from "@microsoft/fast-element";
import {
accentFillRestBehavior,
display,
forcedColorsStylesheetBehavior,
neutralForegroundRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const TabsStyles = css`
${display("grid")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillHoverBehavior,
neutralFillInputHoverBehavior,
neutralFillInputRestBehavior,
Expand All @@ -12,9 +14,6 @@ import {
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const TextAreaStyles = css`
${display("inline-block")} :host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import {
disabledCursor,
display,
focusVisible,
forcedColorsStylesheetBehavior,
heightNumber,
neutralFillHoverBehavior,
neutralFillInputHoverBehavior,
neutralFillInputRestBehavior,
Expand All @@ -11,11 +13,8 @@ import {
neutralForegroundRestBehavior,
neutralOutlineHoverBehavior,
neutralOutlineRestBehavior,
SystemColors,
} from "@microsoft/fast-components";
// update the below imports once #3091 is merged
import { SystemColors } from "@microsoft/fast-components/dist/styles/system-colors";
import { heightNumber } from "@microsoft/fast-components/dist/styles/size";
import { forcedColorsStylesheetBehavior } from "@microsoft/fast-components/dist/styles/match-media-stylesheet-behavior";

export const TextFieldStyles = css`
${display("inline-block")} :host {
Expand Down

0 comments on commit 268ff8f

Please sign in to comment.