@veracity/vui 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/avatar/avatar.d.ts +3 -4
- package/avatar/avatar.js +2 -2
- package/avatar/avatar.types.d.ts +2 -6
- package/box/box.d.ts +3 -4
- package/box/box.js +3 -4
- package/box/box.types.d.ts +2 -4
- package/button/button.d.ts +3 -4
- package/button/button.js +5 -6
- package/button/button.types.d.ts +2 -4
- package/button/buttonGroup.d.ts +3 -2
- package/button/buttonGroup.js +3 -4
- package/button/buttonGroup.types.d.ts +2 -4
- package/button/theme.d.ts +1 -0
- package/button/theme.js +1 -0
- package/checkbox/checkbox.d.ts +3 -2
- package/checkbox/checkbox.js +5 -7
- package/checkbox/checkbox.types.d.ts +4 -6
- package/checkbox/checkboxGroup.d.ts +3 -2
- package/checkbox/checkboxGroup.js +3 -4
- package/checkbox/checkboxGroup.types.d.ts +2 -4
- package/divider/divider.d.ts +3 -2
- package/divider/divider.js +3 -4
- package/divider/divider.types.d.ts +2 -4
- package/heading/heading.d.ts +3 -4
- package/heading/heading.js +2 -4
- package/heading/heading.types.d.ts +2 -4
- package/icons/baseIcons/fal/falSignIn.d.ts +3 -0
- package/icons/baseIcons/fal/falSignIn.js +7 -0
- package/icons/baseIcons/types.d.ts +1 -1
- package/input/input.d.ts +4 -5
- package/input/input.js +2 -2
- package/input/input.types.d.ts +2 -4
- package/label/label.d.ts +3 -4
- package/label/label.js +3 -5
- package/label/label.types.d.ts +2 -4
- package/link/link.d.ts +3 -4
- package/link/link.js +2 -4
- package/link/link.types.d.ts +2 -4
- package/list/list.d.ts +3 -2
- package/list/list.js +3 -4
- package/list/list.types.d.ts +2 -4
- package/list/listItem.d.ts +3 -2
- package/list/listItem.js +3 -4
- package/list/listItem.types.d.ts +2 -4
- package/p/p.d.ts +3 -4
- package/p/p.js +2 -4
- package/p/p.types.d.ts +2 -4
- package/package.json +1 -1
- package/radio/radio.d.ts +3 -2
- package/radio/radio.js +5 -7
- package/radio/radio.types.d.ts +4 -6
- package/radio/radioGroup.d.ts +3 -2
- package/radio/radioGroup.js +3 -4
- package/radio/radioGroup.types.d.ts +2 -4
- package/skeleton/skeleton.d.ts +3 -2
- package/skeleton/skeleton.js +3 -4
- package/skeleton/skeleton.types.d.ts +2 -4
- package/spinner/spinner.js +3 -4
- package/spinner/spinner.types.d.ts +2 -2
- package/svg/svg.d.ts +4 -3
- package/svg/svg.js +3 -4
- package/svg/svg.types.d.ts +2 -11
- package/switch/switch.d.ts +3 -2
- package/switch/switch.js +3 -4
- package/switch/switch.types.d.ts +2 -4
- package/switch/switchButton.d.ts +5 -4
- package/switch/switchButton.js +6 -9
- package/switch/switchButton.types.d.ts +2 -8
- package/system/animations.d.ts +9 -7
- package/system/backgrounds.d.ts +8 -8
- package/system/borders.d.ts +138 -129
- package/system/colors.d.ts +1 -2
- package/system/effects.d.ts +15 -12
- package/system/flexboxes.d.ts +43 -54
- package/system/index.d.ts +2 -0
- package/system/index.js +7 -0
- package/system/interactivity.d.ts +17 -23
- package/system/layout.d.ts +69 -74
- package/system/sizing.d.ts +27 -27
- package/system/space.d.ts +89 -87
- package/system/system.d.ts +17 -0
- package/system/system.js +5 -0
- package/system/transforms.d.ts +53 -53
- package/system/transitions.d.ts +20 -25
- package/system/typography.d.ts +68 -61
- package/t/t.d.ts +3 -4
- package/t/t.js +2 -4
- package/t/t.types.d.ts +2 -4
- package/textarea/textarea.d.ts +3 -4
- package/textarea/textarea.js +3 -4
- package/textarea/textarea.types.d.ts +2 -4
- package/theme/components.d.ts +1 -0
- package/theme/defaultTheme.d.ts +1 -0
- package/tile/tile.types.d.ts +2 -4
package/system/animations.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp, VariantsType } from '@xstyled/system';
|
|
2
2
|
import { VuiTheme } from '../theme';
|
|
3
|
-
export declare type AnimationGetter
|
|
4
|
-
declare type AnimationProp
|
|
5
|
-
export interface AnimationProps
|
|
6
|
-
animation?: AnimationProp
|
|
7
|
-
hoverAnimation?: AnimationProp
|
|
3
|
+
export declare type AnimationGetter = VariantsType<VuiTheme['animations']>;
|
|
4
|
+
declare type AnimationProp = SystemProp<AnimationGetter, VuiTheme>;
|
|
5
|
+
export interface AnimationProps {
|
|
6
|
+
animation?: AnimationProp;
|
|
7
|
+
hoverAnimation?: AnimationProp;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export interface AnimationsProps extends AnimationProps {
|
|
10
|
+
}
|
|
11
|
+
export {};
|
package/system/backgrounds.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp } from '@xstyled/system';
|
|
2
2
|
import { ColorGetter } from './colors';
|
|
3
3
|
import { VuiTheme } from '../theme';
|
|
4
|
-
declare type BackgroundColorProp
|
|
5
|
-
export interface BackgroundColorProps
|
|
6
|
-
activeBg?: BackgroundColorProp
|
|
7
|
-
bg?: BackgroundColorProp
|
|
8
|
-
disabledBg?: BackgroundColorProp
|
|
9
|
-
hoverBg?: BackgroundColorProp
|
|
4
|
+
declare type BackgroundColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
5
|
+
export interface BackgroundColorProps {
|
|
6
|
+
activeBg?: BackgroundColorProp;
|
|
7
|
+
bg?: BackgroundColorProp;
|
|
8
|
+
disabledBg?: BackgroundColorProp;
|
|
9
|
+
hoverBg?: BackgroundColorProp;
|
|
10
10
|
}
|
|
11
|
-
export interface BackgroundsProps
|
|
11
|
+
export interface BackgroundsProps extends BackgroundColorProps {
|
|
12
12
|
}
|
|
13
13
|
export {};
|
package/system/borders.d.ts
CHANGED
|
@@ -1,133 +1,142 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp, VariantsType } from '@xstyled/system';
|
|
2
2
|
import { ColorGetter } from './colors';
|
|
3
3
|
import { VuiTheme } from '../theme';
|
|
4
|
-
export declare type BorderGetter
|
|
5
|
-
export declare type BorderStyleGetter
|
|
6
|
-
export declare type BorderWidthGetter
|
|
7
|
-
export declare type RadiusGetter
|
|
8
|
-
export declare type RingWidthGetter
|
|
9
|
-
declare type BorderProp
|
|
10
|
-
export interface BorderProps
|
|
11
|
-
border?: BorderProp
|
|
12
|
-
hoverBorder?: BorderProp
|
|
13
|
-
}
|
|
14
|
-
declare type BorderTopProp
|
|
15
|
-
export interface BorderTopProps
|
|
16
|
-
borderTop?: BorderTopProp
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
declare type
|
|
43
|
-
export interface
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
declare type
|
|
68
|
-
export interface
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
declare type
|
|
98
|
-
export interface
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
declare type
|
|
118
|
-
export interface
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
4
|
+
export declare type BorderGetter = VariantsType<VuiTheme['borders']>;
|
|
5
|
+
export declare type BorderStyleGetter = VariantsType<unknown>;
|
|
6
|
+
export declare type BorderWidthGetter = VariantsType<unknown>;
|
|
7
|
+
export declare type RadiusGetter = VariantsType<VuiTheme['radii']>;
|
|
8
|
+
export declare type RingWidthGetter = VariantsType<VuiTheme['ringWidths']>;
|
|
9
|
+
declare type BorderProp = SystemProp<BorderGetter, VuiTheme>;
|
|
10
|
+
export interface BorderProps {
|
|
11
|
+
border?: BorderProp;
|
|
12
|
+
hoverBorder?: BorderProp;
|
|
13
|
+
}
|
|
14
|
+
declare type BorderTopProp = SystemProp<BorderGetter, VuiTheme>;
|
|
15
|
+
export interface BorderTopProps {
|
|
16
|
+
borderTop?: BorderTopProp;
|
|
17
|
+
}
|
|
18
|
+
declare type BorderRightProp = SystemProp<BorderGetter, VuiTheme>;
|
|
19
|
+
export interface BorderRightProps {
|
|
20
|
+
borderRight?: BorderRightProp;
|
|
21
|
+
}
|
|
22
|
+
declare type BorderBottomProp = SystemProp<BorderGetter, VuiTheme>;
|
|
23
|
+
export interface BorderBottomProps {
|
|
24
|
+
borderBottom?: BorderBottomProp;
|
|
25
|
+
}
|
|
26
|
+
declare type BorderLeftProp = SystemProp<BorderGetter, VuiTheme>;
|
|
27
|
+
export interface BorderLeftProps {
|
|
28
|
+
borderLeft?: BorderLeftProp;
|
|
29
|
+
}
|
|
30
|
+
declare type BorderColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
31
|
+
export interface BorderColorProps {
|
|
32
|
+
borderColor?: BorderColorProp;
|
|
33
|
+
disabledBorderColor?: BorderColorProp;
|
|
34
|
+
focusBorderColor?: BorderColorProp;
|
|
35
|
+
hoverBorderColor?: BorderColorProp;
|
|
36
|
+
focusWithinBorderColor?: BorderColorProp;
|
|
37
|
+
}
|
|
38
|
+
declare type BorderTopColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
39
|
+
export interface BorderTopColorProps {
|
|
40
|
+
borderTopColor?: BorderTopColorProp;
|
|
41
|
+
}
|
|
42
|
+
declare type BorderRightColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
43
|
+
export interface BorderRightColorProps {
|
|
44
|
+
borderRightColor?: BorderRightColorProp;
|
|
45
|
+
}
|
|
46
|
+
declare type BorderBottomColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
47
|
+
export interface BorderBottomColorProps {
|
|
48
|
+
borderBottomColor?: BorderBottomColorProp;
|
|
49
|
+
}
|
|
50
|
+
declare type BorderLeftColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
51
|
+
export interface BorderLeftColorProps {
|
|
52
|
+
borderLeftColor?: BorderLeftColorProp;
|
|
53
|
+
}
|
|
54
|
+
declare type BorderWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
55
|
+
export interface BorderWidthProps {
|
|
56
|
+
borderWidth?: BorderWidthProp;
|
|
57
|
+
hoverBorderWidth?: BorderWidthProp;
|
|
58
|
+
}
|
|
59
|
+
declare type BorderTopWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
60
|
+
export interface BorderTopWidthProps {
|
|
61
|
+
borderTopWidth?: BorderTopWidthProp;
|
|
62
|
+
}
|
|
63
|
+
declare type BorderRightWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
64
|
+
export interface BorderRightWidthProps {
|
|
65
|
+
borderRightWidth?: BorderRightWidthProp;
|
|
66
|
+
}
|
|
67
|
+
declare type BorderBottomWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
68
|
+
export interface BorderBottomWidthProps {
|
|
69
|
+
borderBottomWidth?: BorderBottomWidthProp;
|
|
70
|
+
}
|
|
71
|
+
declare type BorderLeftWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
72
|
+
export interface BorderLeftWidthProps {
|
|
73
|
+
borderLeftWidth?: BorderLeftWidthProp;
|
|
74
|
+
}
|
|
75
|
+
declare type BorderStyleProp = SystemProp<BorderStyleGetter, VuiTheme>;
|
|
76
|
+
export interface BorderStyleProps {
|
|
77
|
+
borderStyle?: BorderStyleProp;
|
|
78
|
+
hoverBorderStyle?: BorderStyleProp;
|
|
79
|
+
}
|
|
80
|
+
declare type BorderRadiusProp = SystemProp<RadiusGetter, VuiTheme>;
|
|
81
|
+
export interface BorderRadiusProps {
|
|
82
|
+
borderRadius?: BorderRadiusProp;
|
|
83
|
+
hoverBorderRadius?: BorderRadiusProp;
|
|
84
|
+
}
|
|
85
|
+
declare type OutlineProp = SystemProp<BorderGetter, VuiTheme>;
|
|
86
|
+
export interface OutlineProps {
|
|
87
|
+
outline?: OutlineProp;
|
|
88
|
+
}
|
|
89
|
+
declare type OutlineColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
90
|
+
export interface OutlineColorProps {
|
|
91
|
+
outlineColor?: OutlineColorProp;
|
|
92
|
+
}
|
|
93
|
+
declare type OutlineWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
94
|
+
export interface OutlineWidthProps {
|
|
95
|
+
outlineWidth?: OutlineWidthProp;
|
|
96
|
+
}
|
|
97
|
+
declare type OutlineStyleProp = SystemProp<BorderStyleGetter, VuiTheme>;
|
|
98
|
+
export interface OutlineStyleProps {
|
|
99
|
+
outlineStyle?: OutlineStyleProp;
|
|
100
|
+
}
|
|
101
|
+
declare type DivideXProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
102
|
+
export interface DivideXProps {
|
|
103
|
+
divideX?: DivideXProp;
|
|
104
|
+
}
|
|
105
|
+
declare type DivideYProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
106
|
+
export interface DivideYProps {
|
|
107
|
+
divideY?: DivideYProp;
|
|
108
|
+
}
|
|
109
|
+
declare type DivideXReverseProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
110
|
+
export interface DivideXReverseProps {
|
|
111
|
+
divideXReverse?: DivideXReverseProp;
|
|
112
|
+
}
|
|
113
|
+
declare type DivideYReverseProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
114
|
+
export interface DivideYReverseProps {
|
|
115
|
+
divideYReverse?: DivideYReverseProp;
|
|
116
|
+
}
|
|
117
|
+
declare type DivideColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
118
|
+
export interface DivideColorProps {
|
|
119
|
+
divideColor?: DivideColorProp;
|
|
120
|
+
hoverDivideColor?: DivideColorProp;
|
|
121
|
+
}
|
|
122
|
+
declare type DivideStyleProp = SystemProp<BorderStyleGetter, VuiTheme>;
|
|
123
|
+
export interface DivideStyleProps {
|
|
124
|
+
divideStyle?: DivideStyleProp;
|
|
125
|
+
}
|
|
126
|
+
declare type RingProp = SystemProp<RingWidthGetter, VuiTheme>;
|
|
127
|
+
export interface RingProps {
|
|
128
|
+
ring?: RingProp;
|
|
129
|
+
focusRing?: RingProp;
|
|
130
|
+
focusVisibleRing?: RingProp;
|
|
131
|
+
focusWithinRing?: RingProp;
|
|
132
|
+
}
|
|
133
|
+
declare type RingColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
134
|
+
export interface RingColorProps {
|
|
135
|
+
ringColor?: RingColorProp;
|
|
136
|
+
focusRingColor?: RingColorProp;
|
|
137
|
+
focusVisibleRingColor?: RingColorProp;
|
|
138
|
+
focusWithinRingColor?: RingColorProp;
|
|
139
|
+
}
|
|
140
|
+
export interface BordersProps extends BorderProps, BorderTopProps, BorderRightProps, BorderBottomProps, BorderLeftProps, BorderColorProps, BorderTopColorProps, BorderRightColorProps, BorderBottomColorProps, BorderLeftColorProps, BorderWidthProps, BorderTopWidthProps, BorderRightWidthProps, BorderBottomWidthProps, BorderLeftWidthProps, BorderStyleProps, BorderRadiusProps, OutlineProps, OutlineColorProps, OutlineWidthProps, OutlineStyleProps, DivideXProps, DivideYProps, DivideXReverseProps, DivideYReverseProps, DivideColorProps, DivideStyleProps, RingProps, RingColorProps {
|
|
132
141
|
}
|
|
133
142
|
export {};
|
package/system/colors.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ITheme } from '@xstyled/system';
|
|
2
1
|
import { VuiTheme } from '../theme';
|
|
3
2
|
import { AnyString } from '../utils';
|
|
4
|
-
export declare type ColorGetter
|
|
3
|
+
export declare type ColorGetter = keyof VuiTheme['colors'] | AnyString;
|
package/system/effects.d.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp, VariantsType } from '@xstyled/system';
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
3
|
import { VuiTheme } from '../theme';
|
|
4
|
-
export declare type ShadowGetter
|
|
5
|
-
declare type OpacityProp
|
|
6
|
-
export interface OpacityProps
|
|
7
|
-
opacity?: OpacityProp
|
|
8
|
-
hoverOpacity?: OpacityProp
|
|
4
|
+
export declare type ShadowGetter = VariantsType<VuiTheme['shadows']>;
|
|
5
|
+
declare type OpacityProp = SystemProp<CSS.Property.Opacity, VuiTheme>;
|
|
6
|
+
export interface OpacityProps {
|
|
7
|
+
opacity?: OpacityProp;
|
|
8
|
+
hoverOpacity?: OpacityProp;
|
|
9
9
|
}
|
|
10
|
-
declare type BoxShadowProp
|
|
11
|
-
export interface BoxShadowProps
|
|
12
|
-
boxShadow?: BoxShadowProp
|
|
13
|
-
|
|
14
|
-
hoverBoxShadow?: BoxShadowProp<T>;
|
|
10
|
+
declare type BoxShadowProp = SystemProp<ShadowGetter, VuiTheme>;
|
|
11
|
+
export interface BoxShadowProps {
|
|
12
|
+
boxShadow?: BoxShadowProp;
|
|
13
|
+
hoverBoxShadow?: BoxShadowProp;
|
|
15
14
|
}
|
|
16
|
-
|
|
15
|
+
declare type TextShadowProp = SystemProp<ShadowGetter, VuiTheme>;
|
|
16
|
+
export interface TextShadowProps {
|
|
17
|
+
textShadow?: TextShadowProp;
|
|
18
|
+
}
|
|
19
|
+
export interface EffectsProps extends OpacityProps, BoxShadowProps, TextShadowProps {
|
|
17
20
|
}
|
|
18
21
|
export {};
|
package/system/flexboxes.d.ts
CHANGED
|
@@ -1,72 +1,61 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp } from '@xstyled/system';
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
3
|
import { DisplayProps } from './layout';
|
|
4
4
|
import { VuiTheme } from '../theme';
|
|
5
|
-
declare type AlignItemsProp
|
|
6
|
-
export interface AlignItemsProps
|
|
7
|
-
alignItems?: AlignItemsProp
|
|
8
|
-
hoverAlignItems?: AlignItemsProp<T>;
|
|
5
|
+
declare type AlignItemsProp = SystemProp<CSS.Property.AlignItems, VuiTheme>;
|
|
6
|
+
export interface AlignItemsProps {
|
|
7
|
+
alignItems?: AlignItemsProp;
|
|
9
8
|
}
|
|
10
|
-
declare type AlignContentProp
|
|
11
|
-
export interface AlignContentProps
|
|
12
|
-
alignContent?: AlignContentProp
|
|
13
|
-
hoverAlignContent?: AlignContentProp<T>;
|
|
9
|
+
declare type AlignContentProp = SystemProp<CSS.Property.AlignContent, VuiTheme>;
|
|
10
|
+
export interface AlignContentProps {
|
|
11
|
+
alignContent?: AlignContentProp;
|
|
14
12
|
}
|
|
15
|
-
declare type JustifyContentProp
|
|
16
|
-
export interface JustifyContentProps
|
|
17
|
-
justifyContent?: JustifyContentProp
|
|
18
|
-
hoverJustifyContent?: JustifyContentProp<T>;
|
|
13
|
+
declare type JustifyContentProp = SystemProp<CSS.Property.JustifyContent, VuiTheme>;
|
|
14
|
+
export interface JustifyContentProps {
|
|
15
|
+
justifyContent?: JustifyContentProp;
|
|
19
16
|
}
|
|
20
|
-
declare type JustifyItemsProp
|
|
21
|
-
export interface JustifyItemsProps
|
|
22
|
-
justifyItems?: JustifyItemsProp
|
|
23
|
-
hoverJustifyItems?: JustifyItemsProp<T>;
|
|
17
|
+
declare type JustifyItemsProp = SystemProp<CSS.Property.JustifyItems, VuiTheme>;
|
|
18
|
+
export interface JustifyItemsProps {
|
|
19
|
+
justifyItems?: JustifyItemsProp;
|
|
24
20
|
}
|
|
25
|
-
declare type FlexWrapProp
|
|
26
|
-
export interface FlexWrapProps
|
|
27
|
-
flexWrap?: FlexWrapProp
|
|
28
|
-
hoverFlexWrap?: FlexWrapProp<T>;
|
|
21
|
+
declare type FlexWrapProp = SystemProp<CSS.Property.FlexWrap, VuiTheme>;
|
|
22
|
+
export interface FlexWrapProps {
|
|
23
|
+
flexWrap?: FlexWrapProp;
|
|
29
24
|
}
|
|
30
|
-
declare type FlexGrowProp
|
|
31
|
-
export interface FlexGrowProps
|
|
32
|
-
flexGrow?: FlexGrowProp
|
|
33
|
-
hoverFlexGrow?: FlexGrowProp<T>;
|
|
25
|
+
declare type FlexGrowProp = SystemProp<CSS.Property.FlexGrow, VuiTheme>;
|
|
26
|
+
export interface FlexGrowProps {
|
|
27
|
+
flexGrow?: FlexGrowProp;
|
|
34
28
|
}
|
|
35
|
-
declare type FlexShrinkProp
|
|
36
|
-
export interface FlexShrinkProps
|
|
37
|
-
flexShrink?: FlexShrinkProp
|
|
38
|
-
hoverFlexShrink?: FlexShrinkProp<T>;
|
|
29
|
+
declare type FlexShrinkProp = SystemProp<CSS.Property.FlexShrink, VuiTheme>;
|
|
30
|
+
export interface FlexShrinkProps {
|
|
31
|
+
flexShrink?: FlexShrinkProp;
|
|
39
32
|
}
|
|
40
|
-
declare type FlexBasisProp
|
|
41
|
-
export interface FlexBasisProps
|
|
42
|
-
flexBasis?: FlexBasisProp
|
|
43
|
-
hoverFlexBasis?: FlexBasisProp
|
|
33
|
+
declare type FlexBasisProp = SystemProp<CSS.Property.FlexBasis, VuiTheme>;
|
|
34
|
+
export interface FlexBasisProps {
|
|
35
|
+
flexBasis?: FlexBasisProp;
|
|
36
|
+
hoverFlexBasis?: FlexBasisProp;
|
|
44
37
|
}
|
|
45
|
-
declare type FlexDirectionProp
|
|
46
|
-
export interface FlexDirectionProps
|
|
47
|
-
flexDirection?: FlexDirectionProp
|
|
48
|
-
hoverFlexDirection?: FlexDirectionProp<T>;
|
|
38
|
+
declare type FlexDirectionProp = SystemProp<CSS.Property.FlexDirection, VuiTheme>;
|
|
39
|
+
export interface FlexDirectionProps {
|
|
40
|
+
flexDirection?: FlexDirectionProp;
|
|
49
41
|
}
|
|
50
|
-
declare type FlexProp
|
|
51
|
-
export interface FlexProps
|
|
52
|
-
flex?: FlexProp
|
|
53
|
-
hoverFlex?: FlexProp
|
|
42
|
+
declare type FlexProp = SystemProp<CSS.Property.Flex, VuiTheme>;
|
|
43
|
+
export interface FlexProps {
|
|
44
|
+
flex?: FlexProp;
|
|
45
|
+
hoverFlex?: FlexProp;
|
|
54
46
|
}
|
|
55
|
-
declare type JustifySelfProp
|
|
56
|
-
export interface JustifySelfProps
|
|
57
|
-
justifySelf?: JustifySelfProp
|
|
58
|
-
hoverJustifySelf?: JustifySelfProp<T>;
|
|
47
|
+
declare type JustifySelfProp = SystemProp<CSS.Property.JustifySelf, VuiTheme>;
|
|
48
|
+
export interface JustifySelfProps {
|
|
49
|
+
justifySelf?: JustifySelfProp;
|
|
59
50
|
}
|
|
60
|
-
declare type AlignSelfProp
|
|
61
|
-
export interface AlignSelfProps
|
|
62
|
-
alignSelf?: AlignSelfProp
|
|
63
|
-
hoverAlignSelf?: AlignSelfProp<T>;
|
|
51
|
+
declare type AlignSelfProp = SystemProp<CSS.Property.AlignSelf, VuiTheme>;
|
|
52
|
+
export interface AlignSelfProps {
|
|
53
|
+
alignSelf?: AlignSelfProp;
|
|
64
54
|
}
|
|
65
|
-
declare type OrderProp
|
|
66
|
-
export interface OrderProps
|
|
67
|
-
order?: OrderProp
|
|
68
|
-
hoverOrder?: OrderProp<T>;
|
|
55
|
+
declare type OrderProp = SystemProp<CSS.Property.Order, VuiTheme>;
|
|
56
|
+
export interface OrderProps {
|
|
57
|
+
order?: OrderProp;
|
|
69
58
|
}
|
|
70
|
-
export interface FlexboxesProps
|
|
59
|
+
export interface FlexboxesProps extends DisplayProps, AlignItemsProps, AlignContentProps, JustifyContentProps, JustifyItemsProps, FlexWrapProps, FlexGrowProps, FlexShrinkProps, FlexBasisProps, FlexDirectionProps, FlexProps, JustifySelfProps, AlignSelfProps, OrderProps {
|
|
71
60
|
}
|
|
72
61
|
export {};
|
package/system/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export * from './interactivity';
|
|
|
9
9
|
export * from './layout';
|
|
10
10
|
export * from './sizing';
|
|
11
11
|
export * from './space';
|
|
12
|
+
export * from './system';
|
|
12
13
|
export * from './transforms';
|
|
13
14
|
export * from './transitions';
|
|
14
15
|
export * from './typography';
|
|
16
|
+
export { default as system } from './system';
|
package/system/index.js
CHANGED
|
@@ -9,7 +9,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
+
};
|
|
12
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.system = void 0;
|
|
13
17
|
__exportStar(require("./animations"), exports);
|
|
14
18
|
__exportStar(require("./backgrounds"), exports);
|
|
15
19
|
__exportStar(require("./borders"), exports);
|
|
@@ -21,6 +25,9 @@ __exportStar(require("./interactivity"), exports);
|
|
|
21
25
|
__exportStar(require("./layout"), exports);
|
|
22
26
|
__exportStar(require("./sizing"), exports);
|
|
23
27
|
__exportStar(require("./space"), exports);
|
|
28
|
+
__exportStar(require("./system"), exports);
|
|
24
29
|
__exportStar(require("./transforms"), exports);
|
|
25
30
|
__exportStar(require("./transitions"), exports);
|
|
26
31
|
__exportStar(require("./typography"), exports);
|
|
32
|
+
var system_1 = require("./system");
|
|
33
|
+
Object.defineProperty(exports, "system", { enumerable: true, get: function () { return __importDefault(system_1).default; } });
|
|
@@ -1,32 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp } from '@xstyled/system';
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
3
|
import { VuiTheme } from '../theme';
|
|
4
|
-
declare type AppearanceProp
|
|
5
|
-
export interface AppearanceProps
|
|
6
|
-
appearance?: AppearanceProp
|
|
7
|
-
hoverAppearance?: AppearanceProp<T>;
|
|
4
|
+
declare type AppearanceProp = SystemProp<CSS.Property.Appearance, VuiTheme>;
|
|
5
|
+
export interface AppearanceProps {
|
|
6
|
+
appearance?: AppearanceProp;
|
|
8
7
|
}
|
|
9
|
-
declare type CursorProp
|
|
10
|
-
export interface CursorProps
|
|
11
|
-
cursor?: CursorProp
|
|
12
|
-
hoverCursor?: CursorProp<T>;
|
|
8
|
+
declare type CursorProp = SystemProp<CSS.Property.Cursor, VuiTheme>;
|
|
9
|
+
export interface CursorProps {
|
|
10
|
+
cursor?: CursorProp;
|
|
13
11
|
}
|
|
14
|
-
declare type PointerEventsProp
|
|
15
|
-
export interface PointerEventsProps
|
|
16
|
-
pointerEvents?: PointerEventsProp
|
|
17
|
-
disabledPointerEvents?: PointerEventsProp<T>;
|
|
18
|
-
hoverPointerEvents?: PointerEventsProp<T>;
|
|
12
|
+
declare type PointerEventsProp = SystemProp<CSS.Property.PointerEvents, VuiTheme>;
|
|
13
|
+
export interface PointerEventsProps {
|
|
14
|
+
pointerEvents?: PointerEventsProp;
|
|
19
15
|
}
|
|
20
|
-
declare type ResizeProp
|
|
21
|
-
export interface ResizeProps
|
|
22
|
-
resize?: ResizeProp
|
|
23
|
-
hoverResize?: ResizeProp<T>;
|
|
16
|
+
declare type ResizeProp = SystemProp<CSS.Property.Resize, VuiTheme>;
|
|
17
|
+
export interface ResizeProps {
|
|
18
|
+
resize?: ResizeProp;
|
|
24
19
|
}
|
|
25
|
-
declare type UserSelectProp
|
|
26
|
-
export interface UserSelectProps
|
|
27
|
-
userSelect?: UserSelectProp
|
|
28
|
-
hoverUserSelect?: UserSelectProp<T>;
|
|
20
|
+
declare type UserSelectProp = SystemProp<CSS.Property.UserSelect, VuiTheme>;
|
|
21
|
+
export interface UserSelectProps {
|
|
22
|
+
userSelect?: UserSelectProp;
|
|
29
23
|
}
|
|
30
|
-
export interface InteractivityProps
|
|
24
|
+
export interface InteractivityProps extends AppearanceProps, CursorProps, PointerEventsProps, ResizeProps, UserSelectProps {
|
|
31
25
|
}
|
|
32
26
|
export {};
|