Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Commit 0fb8f4a

Browse files
committed
fix: paths to relative
1 parent d4b50fc commit 0fb8f4a

37 files changed

+112
-110
lines changed

src/abstract/BoxBorder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { reduceHtmlClasses } from '@/functions/reduceHtmlClasses'
1+
import { reduceHtmlClasses } from '../functions/reduceHtmlClasses'
22
import { BorderSide, BorderSides } from './BorderSide'
33
export interface BoxBorderI {
44
bottom?: BorderSide

src/abstract/Colors.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Color } from '@/abstract/Color'
1+
import { Color } from '../abstract/Color'
22
import { ColorNames } from './ColorNames'
33

44
export class Colors {

src/components/Align.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Alignment } from '@/abstract/Alignment'
2-
import { Key } from '@/abstract/Key'
31
import { Component, defineComponent, h } from 'vue'
2+
import { Alignment } from '../abstract/Alignment'
3+
import { Key } from '../abstract/Key'
44

55
export interface AlignI {
66
child: Component

src/components/ButtonStyleButton.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// ABSTRACT WIDGET! DO NOT USE IT
22

3+
import { Component, defineComponent, h } from 'vue'
4+
import { ConstrainedBox, InkWell, Material, Opacity, Padding } from '.'
35
import {
46
BoxConstraints,
57
ButtonStyle,
68
Key,
79
OpacityDecoration,
810
OpacityDecorationSteps,
911
SystemMouseCursors,
10-
} from '@/abstract'
11-
import { Component, defineComponent, h } from 'vue'
12-
import { ConstrainedBox, InkWell, Material, Opacity, Padding } from '.'
12+
} from '../abstract'
1313

1414
export interface ButtonStyleButtonI {
1515
child: Component

src/components/Center.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Alignment } from '@/abstract/Alignment'
2-
import { Key } from '@/abstract/Key'
31
import { Component, defineComponent, h } from 'vue'
2+
import { Alignment } from '../abstract/Alignment'
3+
import { Key } from '../abstract/Key'
44
import { Align } from './Align'
55

66
export interface CenterI {

src/components/Checkbox.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import { defineComponent, h, Ref, watch } from 'vue'
12
import {
23
Color,
34
Colors,
45
SystemMouseCursor,
56
SystemMouseCursors,
6-
} from '@/abstract'
7-
import { Key } from '@/abstract/Key'
8-
import { defineComponent, h, Ref, watch } from 'vue'
7+
} from '../abstract'
8+
import { Key } from '../abstract/Key'
99

1010
interface CheckboxI {
1111
key?: Maybe<Key>

src/components/CheckboxListTile.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Color, EdgeInsets, SystemMouseCursors } from '@/abstract'
2-
import { Key } from '@/abstract/Key'
3-
import { ListTileControlAffinity } from '@/abstract/ListTile'
41
import { Component, defineComponent, h, ref, Ref } from 'vue'
2+
import { Color, EdgeInsets, SystemMouseCursors } from '../abstract'
3+
import { Key } from '../abstract/Key'
4+
import { ListTileControlAffinity } from '../abstract/ListTile'
55
import { Checkbox } from './Checkbox'
66
import { ListTile } from './ListTile'
77

src/components/ColoredBox.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Color, Colors, Key } from '@/abstract'
21
import { Component, defineComponent, h } from 'vue'
2+
import { Color, Colors, Key } from '../abstract'
33

44
interface ColoredBoxI {
55
child: Component

src/components/Column.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Axis } from '@/abstract/Axis'
21
import { defineComponent, h } from 'vue'
2+
import { Axis } from '../abstract/Axis'
33
import { ColumnI, FlexHelper } from './Flex'
44

55
export const Column = ({

src/components/ConstrainedBox.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Key } from '@/abstract'
2-
import { BoxConstraints } from '@/abstract/BoxConstraints'
31
import { Component, defineComponent, h } from 'vue'
2+
import { Key } from '../abstract'
3+
import { BoxConstraints } from '../abstract/BoxConstraints'
44
export const ConstrainedBox = ({
55
child,
66
key,

src/components/Container.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { Alignment, SizedBoxHeight, SizedBoxWidth } from '@/abstract'
2-
import { BoxConstraints } from '@/abstract/BoxConstraints'
3-
import { BoxDecoration } from '@/abstract/BoxDecoration'
4-
import { Color } from '@/abstract/Color'
5-
import { EdgeInsets, EdgeInsetsStep } from '@/abstract/EdgeInsets'
61
import { Component, defineComponent, h } from 'vue'
2+
import { Alignment, SizedBoxHeight, SizedBoxWidth } from '../abstract'
3+
import { BoxConstraints } from '../abstract/BoxConstraints'
4+
import { BoxDecoration } from '../abstract/BoxDecoration'
5+
import { Color } from '../abstract/Color'
6+
import { EdgeInsets, EdgeInsetsStep } from '../abstract/EdgeInsets'
77
interface ContainerI {
88
child?: Component
99
padding?: Maybe<EdgeInsets>

src/components/Divider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { DividerDecoration, DividerI } from '@/abstract/DividerDecoration'
21
import { defineComponent, h } from 'vue'
2+
import { DividerDecoration, DividerI } from '../abstract/DividerDecoration'
33

44
// FIXME: it is not working because in tail wind
55
// there is no such class

src/components/DropdownButton.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { onClickOutside } from '@vueuse/core'
2+
import { Component, computed, defineComponent, h, ref, Ref } from 'vue'
13
import {
24
BoxDecoration,
35
BoxShadow,
@@ -7,11 +9,9 @@ import {
79
MainAxisAlignment,
810
MainAxisSize,
911
TextEditingController,
10-
} from '@/abstract'
11-
import { DropdownFieldController } from '@/abstract/DropdownFieldController'
12-
import { unifyValue } from '@/functions/unifyValue'
13-
import { onClickOutside } from '@vueuse/core'
14-
import { Component, computed, defineComponent, h, ref, Ref } from 'vue'
12+
} from '../abstract'
13+
import { DropdownFieldController } from '../abstract/DropdownFieldController'
14+
import { unifyValue } from '../functions/unifyValue'
1515
import { Container } from './Container'
1616
import { DropdownMenuItemConstructor } from './DropdownMenuItem'
1717
import { GestureDetector } from './GestureDetector'

src/components/DropdownMenuItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Alignment, SystemMouseCursors } from '@/abstract'
21
import { Component, defineComponent, h } from 'vue'
2+
import { Alignment, SystemMouseCursors } from '../abstract'
33
import { Container } from './Container'
44
import { GestureDetector } from './GestureDetector'
55
import { MouseRegion } from './MouseRegion'

src/components/FittedBox.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Alignment } from '@/abstract/Alignment'
2-
import { BoxFit } from '@/abstract/BoxFit'
31
import { Component, defineComponent, h } from 'vue'
2+
import { Alignment } from '../abstract/Alignment'
3+
import { BoxFit } from '../abstract/BoxFit'
44

55
export const FittedBox = ({
66
child,

src/components/Flex.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { Axis } from '@/abstract/Axis'
2-
import { CrossAxisAlignment } from '@/abstract/CrossAxisAlignment'
3-
import { DividerDecoration } from '@/abstract/DividerDecoration'
4-
import { MainAxisAlignment } from '@/abstract/MainAxisAlignment'
5-
import { MainAxisSize } from '@/abstract/MainAxisSize'
6-
import { VerticalDirection } from '@/abstract/VerticalDirection'
71
import { Component, defineComponent, h } from 'vue'
2+
import { Axis } from '../abstract/Axis'
3+
import { CrossAxisAlignment } from '../abstract/CrossAxisAlignment'
4+
import { DividerDecoration } from '../abstract/DividerDecoration'
5+
import { MainAxisAlignment } from '../abstract/MainAxisAlignment'
6+
import { MainAxisSize } from '../abstract/MainAxisSize'
7+
import { VerticalDirection } from '../abstract/VerticalDirection'
88

99
export interface FlexBaseI {
1010
mainAxisAlignment?: Maybe<MainAxisAlignment>

src/components/GestureDetector.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Key } from '@/abstract'
21
import { Component, defineComponent, h } from 'vue'
2+
import { Key } from '../abstract'
33
export interface GestureDetectorI {
44
child: Component
55
key?: Maybe<Key>

src/components/Icon.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Color, EdgeInsetsStep } from '@/abstract'
2-
import { Key } from '@/abstract/Key'
31
import { defineComponent, h } from 'vue'
2+
import { Color, EdgeInsetsStep } from '../abstract'
3+
import { Key } from '../abstract/Key'
44

55
export enum Icons {
66
arrow_drop_down = '',

src/components/InkWell.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { BorderRadius } from '@/abstract/BorderRadius'
2-
import { Color } from '@/abstract/Color'
3-
import { Key } from '@/abstract/Key'
4-
import { SystemMouseCursors } from '@/abstract/MouseCursor'
51
import { Component, defineComponent, h } from 'vue'
2+
import { BorderRadius } from '../abstract/BorderRadius'
3+
import { Color } from '../abstract/Color'
4+
import { Key } from '../abstract/Key'
5+
import { SystemMouseCursors } from '../abstract/MouseCursor'
66
import { GestureDetector, GestureDetectorI } from './GestureDetector'
77
import { MouseRegion } from './MouseRegion'
88
export interface InkWellI extends GestureDetectorI {

src/components/ListTile.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Component, defineComponent, h, Ref } from 'vue'
12
import {
23
Alignment,
34
Color,
@@ -7,9 +8,8 @@ import {
78
OpacityDecoration,
89
OpacityDecorationSteps,
910
SystemMouseCursors,
10-
} from '@/abstract'
11-
import { Key } from '@/abstract/Key'
12-
import { Component, defineComponent, h, Ref } from 'vue'
11+
} from '../abstract'
12+
import { Key } from '../abstract/Key'
1313
import { Align } from './Align'
1414
import { Column } from './Column'
1515
import { Container } from './Container'

src/components/Margin.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { EdgeInsets } from '@/abstract/EdgeInsets'
2-
import { Key } from '@/abstract/Key'
31
import { Component, defineComponent, h } from 'vue'
2+
import { EdgeInsets } from '../abstract/EdgeInsets'
3+
import { Key } from '../abstract/Key'
44

55
export const Margin = ({
66
child,

src/components/Material.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { BorderRadius, BoxBorder, BoxShadow, Color } from '@/abstract'
2-
import { TextStyle } from '@/abstract/TextStyle'
31
import { Component, defineComponent, h } from 'vue'
2+
import { BorderRadius, BoxBorder, BoxShadow, Color } from '../abstract'
3+
import { TextStyle } from '../abstract/TextStyle'
44
export interface MaterialI {
55
child: Component
66
elevation?: Maybe<BoxShadow>

src/components/MouseRegion.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Key } from '@/abstract'
2-
import { SystemMouseCursor, SystemMouseCursors } from '@/abstract/MouseCursor'
31
import { Component, defineComponent, h } from 'vue'
2+
import { Key } from '../abstract'
3+
import { SystemMouseCursor, SystemMouseCursors } from '../abstract/MouseCursor'
44

55
interface MouseRegionI {
66
child: Component

src/components/Opacity.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Key } from '@/abstract/Key'
2-
import { OpacityDecoration } from '@/abstract/OpacityDecoration'
31
import { Component, defineComponent, h } from 'vue'
2+
import { Key } from '../abstract/Key'
3+
import { OpacityDecoration } from '../abstract/OpacityDecoration'
44

55
interface OpacityI {
66
child: Component

src/components/Padding.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { EdgeInsets } from '@/abstract/EdgeInsets'
2-
import { Key } from '@/abstract/Key'
31
import { Component, defineComponent, h } from 'vue'
2+
import { EdgeInsets } from '../abstract/EdgeInsets'
3+
import { Key } from '../abstract/Key'
44

55
export const Padding = ({
66
child,

src/components/Positioned.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { EdgeInsets, EdgeInsetsStep } from '@/abstract'
2-
import { Key } from '@/abstract/Key'
31
import { Component, defineComponent, h } from 'vue'
2+
import { EdgeInsets, EdgeInsetsStep } from '../abstract'
3+
import { Key } from '../abstract/Key'
44

55
interface PositionedI {
66
child: Component

src/components/Row.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Axis } from '@/abstract/Axis'
21
import { defineComponent, h } from 'vue'
2+
import { Axis } from '../abstract/Axis'
33
import { FlexHelper, RowI } from './Flex'
44

55
export const Row = ({

src/components/SizedBox.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { EdgeInsetsStep } from '@/abstract/EdgeInsets'
2-
import { Key } from '@/abstract/Key'
3-
import { SizedBoxHeight, SizedBoxWidth } from '@/abstract/SizedBox'
41
import { Component, defineComponent, h } from 'vue'
2+
import { EdgeInsetsStep } from '../abstract/EdgeInsets'
3+
import { Key } from '../abstract/Key'
4+
import { SizedBoxHeight, SizedBoxWidth } from '../abstract/SizedBox'
55

66
interface SizedBoxI {
77
child: Component

src/components/Stack.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Key } from '@/abstract/Key'
21
import { Component, defineComponent, h } from 'vue'
2+
import { Key } from '../abstract/Key'
33

44
interface StackI {
55
children: Component[]

src/components/Text.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { TextStyle } from '@/abstract'
2-
import { TextAlign } from '@/abstract/TextAlign'
3-
import { TextOverflow } from '@/abstract/TextOverflow'
41
import { defineComponent, h, Ref } from 'vue'
2+
import { TextStyle } from '../abstract'
3+
import { TextAlign } from '../abstract/TextAlign'
4+
import { TextOverflow } from '../abstract/TextOverflow'
55

66
interface TextI {
77
text: Ref<string | boolean | number>

src/components/TextButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { BoxShadow, ButtonStyle } from '@/abstract'
21
import { defineComponent, h } from 'vue'
2+
import { BoxShadow, ButtonStyle } from '../abstract'
33
import { ButtonStyleButton, ButtonStyleButtonI } from './ButtonStyleButton'
44
export const TextButton = ({
55
child,

src/components/TextField.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { InputDecoration } from '@/abstract/InputDecoration'
2-
import { Key } from '@/abstract/Key'
3-
import { TextEditingController } from '@/abstract/TextEditingController'
4-
import { TextInputType, TextInputTypes } from '@/abstract/TextInputType'
51
import { defineComponent, h, watch } from 'vue'
2+
import { InputDecoration } from '../abstract/InputDecoration'
3+
import { Key } from '../abstract/Key'
4+
import { TextEditingController } from '../abstract/TextEditingController'
5+
import { TextInputType, TextInputTypes } from '../abstract/TextInputType'
66

77
interface TextFieldI {
88
key?: Maybe<Key>

src/components/VerticalDivider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { DividerDecoration, DividerI } from '@/abstract/DividerDecoration'
21
import { defineComponent, h } from 'vue'
2+
import { DividerDecoration, DividerI } from '../abstract/DividerDecoration'
33

44
// FIXME: it is not working because in tail wind
55
// there is no such class

src/components/Visibility.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Key } from '@/abstract/Key'
21
import { Component, defineComponent, h, Ref } from 'vue'
2+
import { Key } from '../abstract/Key'
33

44
interface VisibilityI {
55
child: Component

0 commit comments

Comments
 (0)