Skip to content

Commit

Permalink
change type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
eljefe223 committed Dec 18, 2023
1 parent 1af9437 commit b8a75fa
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* An Accordion Item header font size can be small, medium, large, and extra-large
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ButtonAppearance, ButtonShape, ButtonSize } from '../button/button.options.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';
import type { AnchorOptions } from './anchor-button.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/avatar/avatar.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* The Avatar "active" state
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/badge/badge.options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { StartEndOptions } from '../patterns/index.js';
import { StaticallyComposableHTML, ValuesOf } from '../utils/index.js';
import type { StaticallyComposableHTML, ValuesOf } from '../utils/index.js';
import type { Badge } from './badge.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/button/button.options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { StartEndOptions } from '../patterns/index.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';
import type { Button } from './button.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/checkbox/checkbox.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Checkbox shape
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ButtonAppearance, ButtonShape, ButtonSize } from '../button/button.options.js';
import type { ButtonOptions } from '../button/button.options.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Compound Button Appearance constants
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BadgeOptions } from '../badge/badge.options.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* CounterBadge options
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/dialog/dialog.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Dialog modal type
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/divider/divider.options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Orientation } from '@microsoft/fast-web-utilities';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Divider roles
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/image/image.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Image fit
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/label/label.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* A Labels font size can be small, medium, or large
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ButtonOptions } from '../button/index.js';
import { ButtonAppearance, ButtonShape, ButtonSize } from '../button/button.options.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Menu Button Appearance constants
Expand Down
3 changes: 2 additions & 1 deletion packages/web-components/src/patterns/start-end.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//Copied from @microsoft/fast-foundation

import { CaptureType, html, ref } from '@microsoft/fast-element';
import { StaticallyComposableHTML, staticallyCompose } from '../utils/index.js';
import type { StaticallyComposableHTML } from '../utils/index.js';
import { staticallyCompose } from '../utils/index.js';

/**
* Start configuration options
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StaticallyComposableHTML, ValuesOf } from '../utils/index.js';
import type { StaticallyComposableHTML, ValuesOf } from '../utils/index.js';
import { ProgressBar } from './progress-bar.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/spinner/spinner.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* SpinnerAppearance constants
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/switch/switch.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* SwitchLabelPosition Constants
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/switch/switch.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { attr, observable } from '@microsoft/fast-element';
import { keyEnter, keySpace } from '@microsoft/fast-web-utilities';
import { StaticallyComposableHTML } from '../utils/index.js';
import type { StaticallyComposableHTML } from '../utils/index.js';
import { SwitchLabelPosition } from './switch.options.js';
import { FormAssociatedSwitch } from './switch.form-associated.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/tabs/tabs.options.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Orientation } from '@microsoft/fast-web-utilities';
import { StartEndOptions } from '../patterns/index.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';
import { Tabs } from './tabs.js';

export const TabsAppearance = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* TextInput size constants
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/text/text.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* TextSize constants
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ButtonAppearance, ButtonShape, ButtonSize } from '../button/button.options.js';
import type { ButtonOptions } from '../button/index.js';
import { ValuesOf } from '../utils/index.js';
import type { ValuesOf } from '../utils/index.js';

/**
* Toggle Button Appearance constants
Expand Down

0 comments on commit b8a75fa

Please sign in to comment.