@veracity/vui 0.3.1 → 0.3.2
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 +2 -2
- package/avatar/avatar.js +9 -29
- package/avatar/avatar.types.d.ts +9 -2
- package/avatar/helpers.d.ts +2 -0
- package/avatar/helpers.js +26 -0
- package/avatar/index.d.ts +1 -1
- package/avatar/index.js +1 -1
- package/avatar/theme.d.ts +1 -0
- package/avatar/theme.js +7 -0
- package/box/box.d.ts +2 -2
- package/box/box.js +9 -8
- package/box/box.types.d.ts +13 -2
- package/box/index.d.ts +1 -1
- package/box/index.js +1 -1
- package/box/theme.d.ts +1 -0
- package/box/theme.js +2 -0
- package/button/button.d.ts +7 -3
- package/button/button.js +24 -14
- package/button/button.types.d.ts +12 -30
- package/button/buttonIcon.d.ts +1 -0
- package/button/buttonIcon.js +3 -5
- package/button/buttonText.d.ts +1 -0
- package/button/buttonText.js +3 -5
- package/button/buttons.js +1 -1
- package/button/index.d.ts +2 -2
- package/button/index.js +3 -3
- package/button/theme.d.ts +1 -0
- package/button/theme.js +5 -3
- package/buttonGroup/buttonGroup.d.ts +5 -2
- package/buttonGroup/buttonGroup.js +12 -8
- package/buttonGroup/buttonGroup.types.d.ts +4 -2
- package/buttonGroup/helpers.d.ts +1 -1
- package/buttonGroup/helpers.js +1 -1
- package/buttonGroup/index.d.ts +1 -1
- package/buttonGroup/index.js +2 -2
- package/card/card.d.ts +4 -0
- package/card/card.js +8 -0
- package/card/card.types.d.ts +3 -2
- package/card/index.d.ts +1 -1
- package/card/index.js +1 -1
- package/card/theme.d.ts +1 -0
- package/card/theme.js +2 -0
- package/checkbox/checkbox.d.ts +5 -4
- package/checkbox/checkbox.js +20 -10
- package/checkbox/checkbox.types.d.ts +21 -4
- package/checkbox/checkboxGroup.d.ts +5 -2
- package/checkbox/checkboxGroup.js +11 -7
- package/checkbox/checkboxGroup.types.d.ts +9 -2
- package/checkbox/index.d.ts +1 -1
- package/checkbox/index.js +2 -2
- package/checkbox/theme.d.ts +1 -0
- package/checkbox/theme.js +2 -0
- package/core/index.d.ts +4 -5
- package/core/index.js +4 -12
- package/core/media.d.ts +38 -0
- package/core/media.js +79 -0
- package/core/styled.d.ts +3 -0
- package/core/styled.js +21 -3
- package/core/theme.d.ts +41 -0
- package/core/theme.js +94 -0
- package/core/vui.d.ts +31 -0
- package/core/vui.js +20 -0
- package/core/vuiProvider/fontFaces.js +4 -0
- package/core/{globalStyle.d.ts → vuiProvider/globalStyle.d.ts} +7 -0
- package/core/{globalStyle.js → vuiProvider/globalStyle.js} +17 -9
- package/core/vuiProvider/index.d.ts +5 -0
- package/{styles → core/vuiProvider}/index.js +8 -2
- package/core/{resetCSS.d.ts → vuiProvider/resetCSS.d.ts} +1 -0
- package/core/{resetCSS.js → vuiProvider/resetCSS.js} +2 -1
- package/core/vuiProvider/vuiProvider.d.ts +13 -0
- package/core/{vuiProvider.js → vuiProvider/vuiProvider.js} +3 -2
- package/divider/divider.d.ts +2 -2
- package/divider/divider.js +5 -4
- package/divider/divider.types.d.ts +5 -2
- package/divider/index.d.ts +1 -1
- package/divider/index.js +1 -1
- package/divider/theme.d.ts +1 -0
- package/divider/theme.js +2 -0
- package/footer/consts.d.ts +3 -0
- package/footer/consts.js +3 -0
- package/footer/footer.d.ts +3 -1
- package/footer/footer.js +21 -10
- package/footer/footer.types.d.ts +5 -0
- package/footer/footerColumn.d.ts +122 -121
- package/footer/footerColumn.js +1 -0
- package/footer/footerHeading.d.ts +1 -0
- package/footer/footerHeading.js +1 -0
- package/footer/footerLink.d.ts +1 -0
- package/footer/footerLink.js +1 -0
- package/footer/footerRow.d.ts +1 -0
- package/footer/footerRow.js +1 -0
- package/footer/footerSection.d.ts +1 -0
- package/footer/footerSection.js +2 -1
- package/footer/footerTrademark.d.ts +1 -0
- package/footer/footerTrademark.js +1 -0
- package/footer/index.d.ts +2 -1
- package/footer/index.js +2 -2
- package/footer/theme.d.ts +1 -0
- package/footer/theme.js +2 -0
- package/header/context.d.ts +4 -0
- package/header/context.js +23 -0
- package/header/header.d.ts +34 -0
- package/header/header.js +118 -0
- package/header/header.types.d.ts +84 -0
- package/header/headerContent.d.ts +4 -0
- package/header/headerContent.js +28 -0
- package/header/headerCreateAccount.d.ts +4 -0
- package/header/headerCreateAccount.js +44 -0
- package/header/headerDivider.d.ts +4 -0
- package/header/headerDivider.js +28 -0
- package/header/headerLink.d.ts +4 -0
- package/header/headerLink.js +43 -0
- package/header/headerLinks.d.ts +4 -0
- package/header/headerLinks.js +41 -0
- package/header/headerLogo.d.ts +4 -0
- package/header/headerLogo.js +48 -0
- package/header/headerMobileContent.d.ts +4 -0
- package/header/headerMobileContent.js +30 -0
- package/header/headerMobileToggle.d.ts +4 -0
- package/header/headerMobileToggle.js +34 -0
- package/header/headerNotifications.d.ts +4 -0
- package/header/headerNotifications.js +52 -0
- package/header/headerProfile.d.ts +4 -0
- package/header/headerProfile.js +101 -0
- package/header/headerProfile.types.d.ts +35 -0
- package/header/headerServices.d.ts +4 -0
- package/header/headerServices.js +51 -0
- package/header/headerSignIn.d.ts +4 -0
- package/header/headerSignIn.js +40 -0
- package/header/index.d.ts +17 -0
- package/header/index.js +34 -0
- package/header/loggedInHeader.d.ts +4 -0
- package/header/loggedInHeader.js +53 -0
- package/header/loggedOutHeader.d.ts +4 -0
- package/header/loggedOutHeader.js +54 -0
- package/header/theme.d.ts +32 -0
- package/header/theme.js +52 -0
- package/heading/heading.d.ts +2 -2
- package/heading/heading.js +5 -4
- package/heading/heading.types.d.ts +7 -2
- package/heading/headings.js +1 -1
- package/heading/index.d.ts +1 -1
- package/heading/index.js +2 -2
- package/heading/theme.d.ts +1 -0
- package/heading/theme.js +2 -0
- package/icon/helpers.js +2 -2
- package/icon/icon.d.ts +1 -0
- package/icon/icon.js +2 -2
- package/icon/icon.types.d.ts +7 -4
- package/icon/index.d.ts +1 -1
- package/icon/index.js +1 -1
- package/icon/theme.d.ts +1 -0
- package/icon/theme.js +2 -0
- package/icons/baseIcons/fal/falFileInvoiceDollar.d.ts +3 -0
- package/icons/baseIcons/fal/falFileInvoiceDollar.js +7 -0
- package/icons/baseIcons/icons.d.ts +1 -0
- package/icons/baseIcons/icons.js +5 -3
- package/icons/baseIcons/types.d.ts +1 -1
- package/icons/cache.d.ts +15 -0
- package/icons/{library.js → cache.js} +10 -6
- package/icons/index.d.ts +1 -1
- package/icons/index.js +3 -3
- package/icons/types.d.ts +10 -3
- package/image/image.d.ts +2 -0
- package/image/image.js +11 -2
- package/image/image.types.d.ts +3 -2
- package/image/index.d.ts +1 -1
- package/image/index.js +1 -1
- package/image/theme.d.ts +1 -0
- package/image/theme.js +2 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/input/helpers.d.ts +1 -0
- package/input/helpers.js +1 -0
- package/input/index.d.ts +1 -1
- package/input/index.js +2 -2
- package/input/input.d.ts +7 -3
- package/input/input.js +17 -7
- package/input/input.types.d.ts +33 -4
- package/input/inputIcon.d.ts +1 -0
- package/input/inputIcon.js +2 -1
- package/input/inputInput.d.ts +2 -2
- package/input/inputInput.js +10 -5
- package/input/theme.d.ts +1 -0
- package/input/theme.js +2 -0
- package/link/index.d.ts +1 -1
- package/link/index.js +2 -2
- package/link/link.d.ts +6 -3
- package/link/link.js +15 -9
- package/link/link.types.d.ts +12 -4
- package/link/linkIcon.d.ts +1 -0
- package/link/linkIcon.js +3 -5
- package/link/linkText.d.ts +1 -0
- package/link/linkText.js +3 -5
- package/link/theme.d.ts +6 -0
- package/link/theme.js +9 -1
- package/list/index.d.ts +1 -1
- package/list/index.js +2 -2
- package/list/list.d.ts +3 -3
- package/list/list.js +13 -8
- package/list/list.types.d.ts +29 -8
- package/list/listDivider.d.ts +1 -0
- package/list/listDivider.js +3 -5
- package/list/listHeading.d.ts +1 -0
- package/list/listHeading.js +4 -6
- package/list/listIcon.d.ts +1 -0
- package/list/listIcon.js +3 -5
- package/list/listItem.d.ts +5 -2
- package/list/listItem.js +52 -19
- package/list/listText.d.ts +1 -0
- package/list/listText.js +3 -5
- package/list/theme.d.ts +1 -0
- package/list/theme.js +5 -2
- package/menu/menu.d.ts +1 -0
- package/menu/menu.js +1 -0
- package/menu/menu.types.d.ts +3 -0
- package/menu/menuButton.d.ts +1 -0
- package/menu/menuButton.js +3 -4
- package/menu/menuItem.d.ts +1 -0
- package/menu/menuItem.js +2 -1
- package/menu/menuList.d.ts +1 -0
- package/menu/menuList.js +3 -4
- package/menu/theme.d.ts +16 -2
- package/menu/theme.js +18 -3
- package/notification/index.d.ts +2 -2
- package/notification/index.js +3 -3
- package/notification/notification.d.ts +5 -1
- package/notification/notification.js +12 -27
- package/notification/notification.types.d.ts +10 -2
- package/notification/notificationButton.d.ts +1 -0
- package/notification/notificationButton.js +4 -5
- package/notification/notificationIcon.d.ts +1 -0
- package/notification/notificationIcon.js +7 -7
- package/notification/notificationText.d.ts +1 -0
- package/notification/notificationText.js +3 -5
- package/notification/notificationTitle.d.ts +1 -0
- package/notification/notificationTitle.js +3 -5
- package/notification/theme.d.ts +1 -0
- package/notification/theme.js +2 -0
- package/p/index.d.ts +1 -1
- package/p/index.js +1 -1
- package/p/p.d.ts +2 -2
- package/p/p.js +5 -4
- package/p/p.types.d.ts +7 -2
- package/p/theme.d.ts +1 -0
- package/p/theme.js +2 -0
- package/package.json +1 -1
- package/panel/index.d.ts +1 -1
- package/panel/index.js +1 -1
- package/panel/panel.d.ts +4 -0
- package/panel/panel.js +4 -0
- package/panel/panel.types.d.ts +1 -2
- package/panel/theme.d.ts +1 -0
- package/panel/theme.js +2 -0
- package/popover/consts.d.ts +6 -0
- package/popover/consts.js +42 -0
- package/popover/index.d.ts +1 -1
- package/popover/index.js +1 -1
- package/popover/popover.d.ts +5 -1
- package/popover/popover.js +16 -1
- package/popover/popover.types.d.ts +4 -1
- package/popover/popoverContent.d.ts +2 -1
- package/popover/popoverContent.js +6 -1
- package/popover/popoverTrigger.d.ts +4 -0
- package/popover/popoverTrigger.js +4 -0
- package/popover/theme.d.ts +1 -0
- package/popover/theme.js +2 -0
- package/popover/usePopover.d.ts +5 -0
- package/popover/usePopover.js +21 -11
- package/popover/usePopover.types.d.ts +17 -6
- package/radio/index.d.ts +1 -1
- package/radio/index.js +2 -2
- package/radio/radio.d.ts +5 -4
- package/radio/radio.js +20 -10
- package/radio/radio.types.d.ts +19 -4
- package/radio/radioGroup.d.ts +5 -2
- package/radio/radioGroup.js +11 -7
- package/radio/radioGroup.types.d.ts +10 -2
- package/radio/theme.d.ts +1 -0
- package/radio/theme.js +2 -0
- package/skeleton/index.d.ts +1 -1
- package/skeleton/index.js +1 -1
- package/skeleton/skeleton.d.ts +2 -2
- package/skeleton/skeleton.js +4 -3
- package/skeleton/skeleton.types.d.ts +5 -2
- package/skeleton/theme.d.ts +1 -0
- package/skeleton/theme.js +2 -0
- package/spinner/index.d.ts +1 -1
- package/spinner/index.js +1 -1
- package/spinner/spinner.d.ts +6 -2
- package/spinner/spinner.js +12 -5
- package/spinner/spinner.types.d.ts +10 -6
- package/spinner/theme.d.ts +1 -0
- package/spinner/theme.js +2 -0
- package/svg/helpers.d.ts +1 -1
- package/svg/index.d.ts +1 -1
- package/svg/index.js +1 -1
- package/svg/svg.d.ts +6 -1
- package/svg/svg.js +14 -5
- package/svg/svg.types.d.ts +6 -4
- package/switch/context.d.ts +2 -2
- package/switch/index.d.ts +1 -1
- package/switch/index.js +2 -2
- package/switch/switch.d.ts +6 -3
- package/switch/switch.js +15 -12
- package/switch/switch.types.d.ts +37 -4
- package/switch/switchButton.d.ts +5 -5
- package/switch/switchButton.js +34 -26
- package/switch/switchLabel.d.ts +1 -0
- package/switch/switchLabel.js +3 -5
- package/switch/theme.d.ts +1 -0
- package/switch/theme.js +2 -0
- package/system/animations.d.ts +3 -4
- package/system/backgrounds.d.ts +4 -5
- package/system/borders.d.ts +60 -61
- package/system/custom.d.ts +4 -4
- package/system/effects.d.ts +7 -8
- package/system/flexboxGrids.d.ts +5 -6
- package/system/flexboxes.d.ts +28 -29
- package/system/grids.d.ts +25 -26
- package/system/index.d.ts +0 -1
- package/system/index.js +0 -6
- package/system/interactivity.d.ts +11 -12
- package/system/layout.d.ts +31 -32
- package/system/sizing.d.ts +13 -14
- package/system/space.d.ts +37 -38
- package/system/system.d.ts +4 -5
- package/system/system.js +3 -1
- package/system/tables.d.ts +5 -6
- package/system/transforms.d.ts +22 -23
- package/system/transitions.d.ts +11 -12
- package/system/typography.d.ts +33 -34
- package/t/index.d.ts +1 -1
- package/t/index.js +1 -1
- package/t/t.d.ts +2 -2
- package/t/t.js +5 -4
- package/t/t.types.d.ts +8 -2
- package/t/theme.d.ts +1 -0
- package/t/theme.js +2 -0
- package/tag/index.d.ts +1 -1
- package/tag/index.js +2 -2
- package/tag/tag.d.ts +6 -3
- package/tag/tag.js +14 -7
- package/tag/tag.types.d.ts +16 -2
- package/tag/tagButton.d.ts +1 -0
- package/tag/tagButton.js +4 -16
- package/tag/tagIcon.d.ts +1 -0
- package/tag/tagIcon.js +3 -5
- package/tag/tagText.d.ts +1 -0
- package/tag/tagText.js +3 -5
- package/tag/theme.d.ts +1 -0
- package/tag/theme.js +8 -0
- package/textarea/helpers.d.ts +1 -0
- package/textarea/helpers.js +1 -0
- package/textarea/index.d.ts +1 -1
- package/textarea/index.js +1 -1
- package/textarea/textarea.d.ts +5 -3
- package/textarea/textarea.js +23 -10
- package/textarea/textarea.types.d.ts +22 -2
- package/textarea/theme.d.ts +1 -0
- package/textarea/theme.js +2 -0
- package/theme/components.d.ts +76 -2
- package/theme/components.js +38 -36
- package/theme/defaultTheme.d.ts +81 -2
- package/theme/foundations/colors.d.ts +10 -0
- package/theme/foundations/colors.js +8 -2
- package/theme/foundations/index.d.ts +5 -0
- package/theme/foundations/shadows.js +3 -3
- package/theme/foundations/transformers.js +3 -2
- package/theme/index.d.ts +1 -3
- package/theme/index.js +4 -5
- package/theme/types.d.ts +3 -2
- package/utils/assertion.d.ts +5 -5
- package/utils/assertion.js +8 -4
- package/utils/object.d.ts +2 -2
- package/utils/object.js +3 -1
- package/utils/styles.d.ts +2 -2
- package/utils/styles.js +4 -4
- package/utils/types.d.ts +8 -3
- package/core/types/component.d.ts +0 -25
- package/core/types/index.d.ts +0 -2
- package/core/types/index.js +0 -14
- package/core/types/themeGet.d.ts +0 -24
- package/core/utils.d.ts +0 -56
- package/core/utils.js +0 -194
- package/core/vuiProvider.d.ts +0 -20
- package/icons/library.d.ts +0 -11
- package/popover/plugins.d.ts +0 -3
- package/popover/plugins.js +0 -24
- package/styles/fontFaces.js +0 -4
- package/styles/helpers.d.ts +0 -4
- package/styles/helpers.js +0 -8
- package/styles/index.d.ts +0 -3
- /package/{styles → core/vuiProvider}/animations.d.ts +0 -0
- /package/{styles → core/vuiProvider}/animations.js +0 -0
- /package/{styles → core/vuiProvider}/fontFaces.d.ts +0 -0
- /package/{core/types/component.js → header/header.types.js} +0 -0
- /package/{core/types/themeGet.js → header/headerProfile.types.js} +0 -0
package/system/animations.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ import { SystemProp, VariantsType } from '@xstyled/system';
|
|
|
2
2
|
import { VuiTheme } from '../theme';
|
|
3
3
|
export declare type AnimationGetter = VariantsType<VuiTheme['animations']>;
|
|
4
4
|
declare type AnimationProp = SystemProp<AnimationGetter, VuiTheme>;
|
|
5
|
-
export
|
|
5
|
+
export declare type AnimationProps = {
|
|
6
6
|
animation?: AnimationProp;
|
|
7
7
|
hoverAnimation?: AnimationProp;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
}
|
|
8
|
+
};
|
|
9
|
+
export declare type AnimationsProps = AnimationProps;
|
|
11
10
|
export {};
|
package/system/backgrounds.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { SystemProp } from '@xstyled/system';
|
|
2
|
-
import { ColorGetter } from './colors';
|
|
3
2
|
import { VuiTheme } from '../theme';
|
|
3
|
+
import { ColorGetter } from './colors';
|
|
4
4
|
declare type BackgroundColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
5
|
-
export
|
|
5
|
+
export declare type BackgroundColorProps = {
|
|
6
6
|
activeBg?: BackgroundColorProp;
|
|
7
7
|
bg?: BackgroundColorProp;
|
|
8
8
|
disabledBg?: BackgroundColorProp;
|
|
9
9
|
hoverBg?: BackgroundColorProp;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
}
|
|
10
|
+
};
|
|
11
|
+
export declare type BackgroundsProps = BackgroundColorProps;
|
|
13
12
|
export {};
|
package/system/borders.d.ts
CHANGED
|
@@ -1,144 +1,143 @@
|
|
|
1
1
|
import { SystemProp, VariantsType } from '@xstyled/system';
|
|
2
|
-
import { ColorGetter } from './colors';
|
|
3
2
|
import { VuiTheme } from '../theme';
|
|
3
|
+
import { ColorGetter } from './colors';
|
|
4
4
|
export declare type BorderGetter = VariantsType<VuiTheme['borders']>;
|
|
5
5
|
export declare type BorderStyleGetter = VariantsType<unknown>;
|
|
6
6
|
export declare type BorderWidthGetter = VariantsType<unknown>;
|
|
7
7
|
export declare type RadiusGetter = VariantsType<VuiTheme['radii']>;
|
|
8
8
|
export declare type RingWidthGetter = VariantsType<VuiTheme['ringWidths']>;
|
|
9
9
|
declare type BorderProp = SystemProp<BorderGetter, VuiTheme>;
|
|
10
|
-
export
|
|
10
|
+
export declare type BorderProps = {
|
|
11
11
|
border?: BorderProp;
|
|
12
12
|
hoverBorder?: BorderProp;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
declare type BorderTopProp = SystemProp<BorderGetter, VuiTheme>;
|
|
15
|
-
export
|
|
15
|
+
export declare type BorderTopProps = {
|
|
16
16
|
borderTop?: BorderTopProp;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
declare type BorderRightProp = SystemProp<BorderGetter, VuiTheme>;
|
|
19
|
-
export
|
|
19
|
+
export declare type BorderRightProps = {
|
|
20
20
|
borderRight?: BorderRightProp;
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
declare type BorderBottomProp = SystemProp<BorderGetter, VuiTheme>;
|
|
23
|
-
export
|
|
23
|
+
export declare type BorderBottomProps = {
|
|
24
24
|
borderBottom?: BorderBottomProp;
|
|
25
|
-
}
|
|
25
|
+
};
|
|
26
26
|
declare type BorderLeftProp = SystemProp<BorderGetter, VuiTheme>;
|
|
27
|
-
export
|
|
27
|
+
export declare type BorderLeftProps = {
|
|
28
28
|
borderLeft?: BorderLeftProp;
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
30
|
declare type BorderColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
31
|
-
export
|
|
31
|
+
export declare type BorderColorProps = {
|
|
32
32
|
borderColor?: BorderColorProp;
|
|
33
33
|
disabledBorderColor?: BorderColorProp;
|
|
34
34
|
focusBorderColor?: BorderColorProp;
|
|
35
35
|
hoverBorderColor?: BorderColorProp;
|
|
36
36
|
focusWithinBorderColor?: BorderColorProp;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
declare type BorderTopColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
39
|
-
export
|
|
39
|
+
export declare type BorderTopColorProps = {
|
|
40
40
|
borderTopColor?: BorderTopColorProp;
|
|
41
|
-
}
|
|
41
|
+
};
|
|
42
42
|
declare type BorderRightColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
43
|
-
export
|
|
43
|
+
export declare type BorderRightColorProps = {
|
|
44
44
|
borderRightColor?: BorderRightColorProp;
|
|
45
|
-
}
|
|
45
|
+
};
|
|
46
46
|
declare type BorderBottomColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
47
|
-
export
|
|
47
|
+
export declare type BorderBottomColorProps = {
|
|
48
48
|
borderBottomColor?: BorderBottomColorProp;
|
|
49
|
-
}
|
|
49
|
+
};
|
|
50
50
|
declare type BorderLeftColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
51
|
-
export
|
|
51
|
+
export declare type BorderLeftColorProps = {
|
|
52
52
|
borderLeftColor?: BorderLeftColorProp;
|
|
53
|
-
}
|
|
53
|
+
};
|
|
54
54
|
declare type BorderWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
55
|
-
export
|
|
55
|
+
export declare type BorderWidthProps = {
|
|
56
56
|
borderWidth?: BorderWidthProp;
|
|
57
57
|
hoverBorderWidth?: BorderWidthProp;
|
|
58
|
-
}
|
|
58
|
+
};
|
|
59
59
|
declare type BorderTopWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
60
|
-
export
|
|
60
|
+
export declare type BorderTopWidthProps = {
|
|
61
61
|
borderTopWidth?: BorderTopWidthProp;
|
|
62
|
-
}
|
|
62
|
+
};
|
|
63
63
|
declare type BorderRightWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
64
|
-
export
|
|
64
|
+
export declare type BorderRightWidthProps = {
|
|
65
65
|
borderRightWidth?: BorderRightWidthProp;
|
|
66
|
-
}
|
|
66
|
+
};
|
|
67
67
|
declare type BorderBottomWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
68
|
-
export
|
|
68
|
+
export declare type BorderBottomWidthProps = {
|
|
69
69
|
borderBottomWidth?: BorderBottomWidthProp;
|
|
70
|
-
}
|
|
70
|
+
};
|
|
71
71
|
declare type BorderLeftWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
72
|
-
export
|
|
72
|
+
export declare type BorderLeftWidthProps = {
|
|
73
73
|
borderLeftWidth?: BorderLeftWidthProp;
|
|
74
|
-
}
|
|
74
|
+
};
|
|
75
75
|
declare type BorderStyleProp = SystemProp<BorderStyleGetter, VuiTheme>;
|
|
76
|
-
export
|
|
76
|
+
export declare type BorderStyleProps = {
|
|
77
77
|
borderStyle?: BorderStyleProp;
|
|
78
78
|
hoverBorderStyle?: BorderStyleProp;
|
|
79
|
-
}
|
|
79
|
+
};
|
|
80
80
|
export declare type BorderRadiusProp = SystemProp<RadiusGetter, VuiTheme>;
|
|
81
|
-
export
|
|
81
|
+
export declare type BorderRadiusProps = {
|
|
82
82
|
borderRadius?: BorderRadiusProp;
|
|
83
83
|
hoverBorderRadius?: BorderRadiusProp;
|
|
84
|
-
}
|
|
84
|
+
};
|
|
85
85
|
declare type OutlineProp = SystemProp<BorderGetter, VuiTheme>;
|
|
86
|
-
export
|
|
86
|
+
export declare type OutlineProps = {
|
|
87
87
|
outline?: OutlineProp;
|
|
88
|
-
}
|
|
88
|
+
};
|
|
89
89
|
declare type OutlineColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
90
|
-
export
|
|
90
|
+
export declare type OutlineColorProps = {
|
|
91
91
|
outlineColor?: OutlineColorProp;
|
|
92
|
-
}
|
|
92
|
+
};
|
|
93
93
|
declare type OutlineWidthProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
94
|
-
export
|
|
94
|
+
export declare type OutlineWidthProps = {
|
|
95
95
|
outlineWidth?: OutlineWidthProp;
|
|
96
|
-
}
|
|
96
|
+
};
|
|
97
97
|
declare type OutlineStyleProp = SystemProp<BorderStyleGetter, VuiTheme>;
|
|
98
|
-
export
|
|
98
|
+
export declare type OutlineStyleProps = {
|
|
99
99
|
outlineStyle?: OutlineStyleProp;
|
|
100
|
-
}
|
|
100
|
+
};
|
|
101
101
|
declare type DivideXProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
102
|
-
export
|
|
102
|
+
export declare type DivideXProps = {
|
|
103
103
|
divideX?: DivideXProp;
|
|
104
|
-
}
|
|
104
|
+
};
|
|
105
105
|
declare type DivideYProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
106
|
-
export
|
|
106
|
+
export declare type DivideYProps = {
|
|
107
107
|
divideY?: DivideYProp;
|
|
108
|
-
}
|
|
108
|
+
};
|
|
109
109
|
declare type DivideXReverseProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
110
|
-
export
|
|
110
|
+
export declare type DivideXReverseProps = {
|
|
111
111
|
divideXReverse?: DivideXReverseProp;
|
|
112
|
-
}
|
|
112
|
+
};
|
|
113
113
|
declare type DivideYReverseProp = SystemProp<BorderWidthGetter, VuiTheme>;
|
|
114
|
-
export
|
|
114
|
+
export declare type DivideYReverseProps = {
|
|
115
115
|
divideYReverse?: DivideYReverseProp;
|
|
116
|
-
}
|
|
116
|
+
};
|
|
117
117
|
declare type DivideColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
118
|
-
export
|
|
118
|
+
export declare type DivideColorProps = {
|
|
119
119
|
divideColor?: DivideColorProp;
|
|
120
120
|
hoverDivideColor?: DivideColorProp;
|
|
121
|
-
}
|
|
121
|
+
};
|
|
122
122
|
declare type DivideStyleProp = SystemProp<BorderStyleGetter, VuiTheme>;
|
|
123
|
-
export
|
|
123
|
+
export declare type DivideStyleProps = {
|
|
124
124
|
divideStyle?: DivideStyleProp;
|
|
125
|
-
}
|
|
125
|
+
};
|
|
126
126
|
declare type RingProp = SystemProp<RingWidthGetter, VuiTheme>;
|
|
127
|
-
export
|
|
127
|
+
export declare type RingProps = {
|
|
128
128
|
ring?: RingProp;
|
|
129
129
|
focusRing?: RingProp;
|
|
130
130
|
focusVisibleRing?: RingProp;
|
|
131
131
|
focusWithinRing?: RingProp;
|
|
132
132
|
hoverRing?: RingProp;
|
|
133
|
-
}
|
|
133
|
+
};
|
|
134
134
|
declare type RingColorProp = SystemProp<ColorGetter, VuiTheme>;
|
|
135
|
-
export
|
|
135
|
+
export declare type RingColorProps = {
|
|
136
136
|
ringColor?: RingColorProp;
|
|
137
137
|
focusRingColor?: RingColorProp;
|
|
138
138
|
focusVisibleRingColor?: RingColorProp;
|
|
139
139
|
focusWithinRingColor?: RingColorProp;
|
|
140
140
|
hoverRingColor?: RingColorProp;
|
|
141
|
-
}
|
|
142
|
-
export
|
|
143
|
-
}
|
|
141
|
+
};
|
|
142
|
+
export declare type BordersProps = 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;
|
|
144
143
|
export {};
|
package/system/custom.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare type IsTruncatedProps = {
|
|
2
2
|
isTruncated?: boolean;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
4
|
/** Provides styling to truncate single-line text. */
|
|
5
5
|
export declare const isTruncated: import("@xstyled/styled-components").StyleGenerator;
|
|
6
|
-
export
|
|
6
|
+
export declare type MaxLinesProps = {
|
|
7
7
|
maxLines?: number;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
/** Provides styling to truncate multi-line text. */
|
|
10
10
|
export declare const maxLines: import("@xstyled/styled-components").StyleGenerator;
|
|
11
11
|
export declare type SpaceAroundProps = {
|
package/system/effects.d.ts
CHANGED
|
@@ -4,19 +4,18 @@ import { VuiTheme } from '../theme';
|
|
|
4
4
|
import { AnyString } from '../utils';
|
|
5
5
|
export declare type ShadowGetter = keyof VuiTheme['shadows'] | AnyString;
|
|
6
6
|
declare type OpacityProp = SystemProp<CSS.Property.Opacity, VuiTheme>;
|
|
7
|
-
export
|
|
7
|
+
export declare type OpacityProps = {
|
|
8
8
|
opacity?: OpacityProp;
|
|
9
9
|
hoverOpacity?: OpacityProp;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
declare type BoxShadowProp = SystemProp<ShadowGetter, VuiTheme>;
|
|
12
|
-
export
|
|
12
|
+
export declare type BoxShadowProps = {
|
|
13
13
|
boxShadow?: BoxShadowProp;
|
|
14
14
|
hoverBoxShadow?: BoxShadowProp;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
declare type TextShadowProp = SystemProp<ShadowGetter, VuiTheme>;
|
|
17
|
-
export
|
|
17
|
+
export declare type TextShadowProps = {
|
|
18
18
|
textShadow?: TextShadowProp;
|
|
19
|
-
}
|
|
20
|
-
export
|
|
21
|
-
}
|
|
19
|
+
};
|
|
20
|
+
export declare type EffectsProps = OpacityProps & BoxShadowProps & TextShadowProps;
|
|
22
21
|
export {};
|
package/system/flexboxGrids.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { SystemProp } from '@xstyled/system';
|
|
2
2
|
import { VuiTheme } from '../theme';
|
|
3
3
|
declare type RowProp = SystemProp<boolean, VuiTheme>;
|
|
4
|
-
export
|
|
4
|
+
export declare type RowProps = {
|
|
5
5
|
row?: RowProp;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
declare type ColProp = SystemProp<true | 'auto' | string | number, VuiTheme>;
|
|
8
|
-
export
|
|
8
|
+
export declare type ColProps = {
|
|
9
9
|
col?: ColProp;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
}
|
|
10
|
+
};
|
|
11
|
+
export declare type FlexboxGridsProps = RowProps & ColProps;
|
|
13
12
|
export {};
|
package/system/flexboxes.d.ts
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
import { SystemProp } from '@xstyled/system';
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
|
-
import { DisplayProps } from './layout';
|
|
4
3
|
import { VuiTheme } from '../theme';
|
|
4
|
+
import { DisplayProps } from './layout';
|
|
5
5
|
declare type AlignItemsProp = SystemProp<CSS.Property.AlignItems, VuiTheme>;
|
|
6
|
-
export
|
|
6
|
+
export declare type AlignItemsProps = {
|
|
7
7
|
alignItems?: AlignItemsProp;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
declare type AlignContentProp = SystemProp<CSS.Property.AlignContent, VuiTheme>;
|
|
10
|
-
export
|
|
10
|
+
export declare type AlignContentProps = {
|
|
11
11
|
alignContent?: AlignContentProp;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
declare type JustifyContentProp = SystemProp<CSS.Property.JustifyContent, VuiTheme>;
|
|
14
|
-
export
|
|
14
|
+
export declare type JustifyContentProps = {
|
|
15
15
|
justifyContent?: JustifyContentProp;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
declare type JustifyItemsProp = SystemProp<CSS.Property.JustifyItems, VuiTheme>;
|
|
18
|
-
export
|
|
18
|
+
export declare type JustifyItemsProps = {
|
|
19
19
|
justifyItems?: JustifyItemsProp;
|
|
20
|
-
}
|
|
20
|
+
};
|
|
21
21
|
declare type FlexWrapProp = SystemProp<CSS.Property.FlexWrap, VuiTheme>;
|
|
22
|
-
export
|
|
22
|
+
export declare type FlexWrapProps = {
|
|
23
23
|
flexWrap?: FlexWrapProp;
|
|
24
|
-
}
|
|
24
|
+
};
|
|
25
25
|
declare type FlexGrowProp = SystemProp<CSS.Property.FlexGrow, VuiTheme>;
|
|
26
|
-
export
|
|
26
|
+
export declare type FlexGrowProps = {
|
|
27
27
|
flexGrow?: FlexGrowProp;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
declare type FlexShrinkProp = SystemProp<CSS.Property.FlexShrink, VuiTheme>;
|
|
30
|
-
export
|
|
30
|
+
export declare type FlexShrinkProps = {
|
|
31
31
|
flexShrink?: FlexShrinkProp;
|
|
32
|
-
}
|
|
32
|
+
};
|
|
33
33
|
declare type FlexBasisProp = SystemProp<CSS.Property.FlexBasis, VuiTheme>;
|
|
34
|
-
export
|
|
34
|
+
export declare type FlexBasisProps = {
|
|
35
35
|
flexBasis?: FlexBasisProp;
|
|
36
36
|
hoverFlexBasis?: FlexBasisProp;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
declare type FlexDirectionProp = SystemProp<CSS.Property.FlexDirection, VuiTheme>;
|
|
39
|
-
export
|
|
39
|
+
export declare type FlexDirectionProps = {
|
|
40
40
|
flexDirection?: FlexDirectionProp;
|
|
41
|
-
}
|
|
41
|
+
};
|
|
42
42
|
declare type FlexProp = SystemProp<CSS.Property.Flex, VuiTheme>;
|
|
43
|
-
export
|
|
43
|
+
export declare type FlexProps = {
|
|
44
44
|
flex?: FlexProp;
|
|
45
45
|
hoverFlex?: FlexProp;
|
|
46
|
-
}
|
|
46
|
+
};
|
|
47
47
|
declare type JustifySelfProp = SystemProp<CSS.Property.JustifySelf, VuiTheme>;
|
|
48
|
-
export
|
|
48
|
+
export declare type JustifySelfProps = {
|
|
49
49
|
justifySelf?: JustifySelfProp;
|
|
50
|
-
}
|
|
50
|
+
};
|
|
51
51
|
declare type AlignSelfProp = SystemProp<CSS.Property.AlignSelf, VuiTheme>;
|
|
52
|
-
export
|
|
52
|
+
export declare type AlignSelfProps = {
|
|
53
53
|
alignSelf?: AlignSelfProp;
|
|
54
|
-
}
|
|
54
|
+
};
|
|
55
55
|
declare type OrderProp = SystemProp<CSS.Property.Order, VuiTheme>;
|
|
56
|
-
export
|
|
56
|
+
export declare type OrderProps = {
|
|
57
57
|
order?: OrderProp;
|
|
58
|
-
}
|
|
59
|
-
export
|
|
60
|
-
}
|
|
58
|
+
};
|
|
59
|
+
export declare type FlexboxesProps = DisplayProps & AlignItemsProps & AlignContentProps & JustifyContentProps & JustifyItemsProps & FlexWrapProps & FlexGrowProps & FlexShrinkProps & FlexBasisProps & FlexDirectionProps & FlexProps & JustifySelfProps & AlignSelfProps & OrderProps;
|
|
61
60
|
export {};
|
package/system/grids.d.ts
CHANGED
|
@@ -3,53 +3,52 @@ import * as CSS from 'csstype';
|
|
|
3
3
|
import { VuiTheme } from '../theme';
|
|
4
4
|
import { SpaceGetter } from './space';
|
|
5
5
|
declare type GapProp = SystemProp<SpaceGetter | CSS.Property.Gap, VuiTheme>;
|
|
6
|
-
export
|
|
6
|
+
export declare type GapProps = {
|
|
7
7
|
gap?: GapProp;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
declare type ColumnGapProp = SystemProp<SpaceGetter | CSS.Property.ColumnGap, VuiTheme>;
|
|
10
|
-
export
|
|
10
|
+
export declare type ColumnGapProps = {
|
|
11
11
|
columnGap?: ColumnGapProp;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
declare type RowGapProp = SystemProp<SpaceGetter | CSS.Property.RowGap, VuiTheme>;
|
|
14
|
-
export
|
|
14
|
+
export declare type RowGapProps = {
|
|
15
15
|
rowGap?: RowGapProp;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
declare type GridColumnProp = SystemProp<CSS.Property.GridColumn, VuiTheme>;
|
|
18
|
-
export
|
|
18
|
+
export declare type GridColumnProps = {
|
|
19
19
|
gridColumn?: GridColumnProp;
|
|
20
|
-
}
|
|
20
|
+
};
|
|
21
21
|
declare type GridRowProp = SystemProp<CSS.Property.GridRow, VuiTheme>;
|
|
22
|
-
export
|
|
22
|
+
export declare type GridRowProps = {
|
|
23
23
|
gridRow?: GridRowProp;
|
|
24
|
-
}
|
|
24
|
+
};
|
|
25
25
|
declare type GridAutoFlowProp = SystemProp<CSS.Property.GridAutoFlow, VuiTheme>;
|
|
26
|
-
export
|
|
26
|
+
export declare type GridAutoFlowProps = {
|
|
27
27
|
gridAutoFlow?: GridAutoFlowProp;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
declare type GridAutoColumnsProp = SystemProp<CSS.Property.GridAutoColumns, VuiTheme>;
|
|
30
|
-
export
|
|
30
|
+
export declare type GridAutoColumnsProps = {
|
|
31
31
|
gridAutoColumns?: GridAutoColumnsProp;
|
|
32
|
-
}
|
|
32
|
+
};
|
|
33
33
|
declare type GridAutoRowsProp = SystemProp<CSS.Property.GridAutoRows, VuiTheme>;
|
|
34
|
-
export
|
|
34
|
+
export declare type GridAutoRowsProps = {
|
|
35
35
|
gridAutoRows?: GridAutoRowsProp;
|
|
36
|
-
}
|
|
36
|
+
};
|
|
37
37
|
declare type GridTemplateColumnsProp = SystemProp<CSS.Property.GridTemplateColumns, VuiTheme>;
|
|
38
|
-
export
|
|
38
|
+
export declare type GridTemplateColumnsProps = {
|
|
39
39
|
gridTemplateColumns?: GridTemplateColumnsProp;
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
declare type GridTemplateRowsProp = SystemProp<CSS.Property.GridTemplateRows, VuiTheme>;
|
|
42
|
-
export
|
|
42
|
+
export declare type GridTemplateRowsProps = {
|
|
43
43
|
gridTemplateRows?: GridTemplateRowsProp;
|
|
44
|
-
}
|
|
44
|
+
};
|
|
45
45
|
declare type GridTemplateAreasProp = SystemProp<CSS.Property.GridTemplateAreas, VuiTheme>;
|
|
46
|
-
export
|
|
46
|
+
export declare type GridTemplateAreasProps = {
|
|
47
47
|
gridTemplateAreas?: GridTemplateAreasProp;
|
|
48
|
-
}
|
|
48
|
+
};
|
|
49
49
|
declare type GridAreaProp = SystemProp<CSS.Property.GridArea, VuiTheme>;
|
|
50
|
-
export
|
|
50
|
+
export declare type GridAreaProps = {
|
|
51
51
|
gridArea?: GridAreaProp;
|
|
52
|
-
}
|
|
53
|
-
export
|
|
54
|
-
}
|
|
52
|
+
};
|
|
53
|
+
export declare type GridsProps = GapProps & ColumnGapProps & RowGapProps & GridColumnProps & GridRowProps & GridAutoFlowProps & GridAutoColumnsProps & GridAutoRowsProps & GridTemplateColumnsProps & GridTemplateRowsProps & GridTemplateAreasProps & GridAreaProps;
|
|
55
54
|
export {};
|
package/system/index.d.ts
CHANGED
package/system/index.js
CHANGED
|
@@ -9,11 +9,7 @@ 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
|
-
};
|
|
15
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.system = void 0;
|
|
17
13
|
__exportStar(require("./animations"), exports);
|
|
18
14
|
__exportStar(require("./backgrounds"), exports);
|
|
19
15
|
__exportStar(require("./borders"), exports);
|
|
@@ -29,5 +25,3 @@ __exportStar(require("./system"), exports);
|
|
|
29
25
|
__exportStar(require("./transforms"), exports);
|
|
30
26
|
__exportStar(require("./transitions"), exports);
|
|
31
27
|
__exportStar(require("./typography"), exports);
|
|
32
|
-
var system_1 = require("./system");
|
|
33
|
-
Object.defineProperty(exports, "system", { enumerable: true, get: function () { return __importDefault(system_1).default; } });
|
|
@@ -2,25 +2,24 @@ import { SystemProp } from '@xstyled/system';
|
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
3
|
import { VuiTheme } from '../theme';
|
|
4
4
|
declare type AppearanceProp = SystemProp<CSS.Property.Appearance, VuiTheme>;
|
|
5
|
-
export
|
|
5
|
+
export declare type AppearanceProps = {
|
|
6
6
|
appearance?: AppearanceProp;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
declare type CursorProp = SystemProp<CSS.Property.Cursor, VuiTheme>;
|
|
9
|
-
export
|
|
9
|
+
export declare type CursorProps = {
|
|
10
10
|
cursor?: CursorProp;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
declare type PointerEventsProp = SystemProp<CSS.Property.PointerEvents, VuiTheme>;
|
|
13
|
-
export
|
|
13
|
+
export declare type PointerEventsProps = {
|
|
14
14
|
pointerEvents?: PointerEventsProp;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
declare type ResizeProp = SystemProp<CSS.Property.Resize, VuiTheme>;
|
|
17
|
-
export
|
|
17
|
+
export declare type ResizeProps = {
|
|
18
18
|
resize?: ResizeProp;
|
|
19
|
-
}
|
|
19
|
+
};
|
|
20
20
|
declare type UserSelectProp = SystemProp<CSS.Property.UserSelect, VuiTheme>;
|
|
21
|
-
export
|
|
21
|
+
export declare type UserSelectProps = {
|
|
22
22
|
userSelect?: UserSelectProp;
|
|
23
|
-
}
|
|
24
|
-
export
|
|
25
|
-
}
|
|
23
|
+
};
|
|
24
|
+
export declare type InteractivityProps = AppearanceProps & CursorProps & PointerEventsProps & ResizeProps & UserSelectProps;
|
|
26
25
|
export {};
|
package/system/layout.d.ts
CHANGED
|
@@ -4,70 +4,69 @@ import { VuiTheme } from '../theme';
|
|
|
4
4
|
export declare type InsetGetter = VariantsType<unknown>;
|
|
5
5
|
export declare type ZIndexGetter = VariantsType<VuiTheme['zIndices']>;
|
|
6
6
|
declare type DisplayProp = SystemProp<CSS.Property.Display, VuiTheme>;
|
|
7
|
-
export
|
|
7
|
+
export declare type DisplayProps = {
|
|
8
8
|
display?: DisplayProp;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
declare type FloatProp = SystemProp<CSS.Property.Float, VuiTheme>;
|
|
11
|
-
export
|
|
11
|
+
export declare type FloatProps = {
|
|
12
12
|
float?: FloatProp;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
declare type BoxSizingProp = SystemProp<CSS.Property.BoxSizing, VuiTheme>;
|
|
15
|
-
export
|
|
15
|
+
export declare type BoxSizingProps = {
|
|
16
16
|
boxSizing?: BoxSizingProp;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
declare type OverflowProp = SystemProp<CSS.Property.Overflow, VuiTheme>;
|
|
19
|
-
export
|
|
19
|
+
export declare type OverflowProps = {
|
|
20
20
|
overflow?: OverflowProp;
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
declare type OverflowXProp = SystemProp<CSS.Property.OverflowX, VuiTheme>;
|
|
23
|
-
export
|
|
23
|
+
export declare type OverflowXProps = {
|
|
24
24
|
overflowX?: OverflowXProp;
|
|
25
|
-
}
|
|
25
|
+
};
|
|
26
26
|
declare type OverflowYProp = SystemProp<CSS.Property.OverflowY, VuiTheme>;
|
|
27
|
-
export
|
|
27
|
+
export declare type OverflowYProps = {
|
|
28
28
|
overflowY?: OverflowYProp;
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
30
|
declare type ZIndexProp = SystemProp<ZIndexGetter | CSS.Property.ZIndex, VuiTheme>;
|
|
31
|
-
export
|
|
31
|
+
export declare type ZIndexProps = {
|
|
32
32
|
zIndex?: ZIndexProp;
|
|
33
|
-
}
|
|
33
|
+
};
|
|
34
34
|
declare type PositionProp = SystemProp<CSS.Property.Position, VuiTheme>;
|
|
35
|
-
export
|
|
35
|
+
export declare type PositionProps = {
|
|
36
36
|
position?: PositionProp;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
declare type TopProp = SystemProp<InsetGetter | CSS.Property.Top, VuiTheme>;
|
|
39
|
-
export
|
|
39
|
+
export declare type TopProps = {
|
|
40
40
|
top?: TopProp;
|
|
41
41
|
hoverTop?: TopProp;
|
|
42
|
-
}
|
|
42
|
+
};
|
|
43
43
|
declare type RightProp = SystemProp<InsetGetter | CSS.Property.Right, VuiTheme>;
|
|
44
|
-
export
|
|
44
|
+
export declare type RightProps = {
|
|
45
45
|
right?: RightProp;
|
|
46
46
|
hoverRight?: RightProp;
|
|
47
|
-
}
|
|
47
|
+
};
|
|
48
48
|
declare type BottomProp = SystemProp<InsetGetter | CSS.Property.Bottom, VuiTheme>;
|
|
49
|
-
export
|
|
49
|
+
export declare type BottomProps = {
|
|
50
50
|
bottom?: BottomProp;
|
|
51
51
|
hoverBottom?: BottomProp;
|
|
52
|
-
}
|
|
52
|
+
};
|
|
53
53
|
declare type LeftProp = SystemProp<InsetGetter | CSS.Property.Left, VuiTheme>;
|
|
54
|
-
export
|
|
54
|
+
export declare type LeftProps = {
|
|
55
55
|
left?: LeftProp;
|
|
56
56
|
hoverLeft?: LeftProp;
|
|
57
|
-
}
|
|
57
|
+
};
|
|
58
58
|
declare type VisibilityProp = SystemProp<CSS.Property.Visibility, VuiTheme>;
|
|
59
|
-
export
|
|
59
|
+
export declare type VisibilityProps = {
|
|
60
60
|
visibility?: VisibilityProp;
|
|
61
61
|
hoverVisibility?: VisibilityProp;
|
|
62
|
-
}
|
|
62
|
+
};
|
|
63
63
|
declare type OverscrollBehaviorProp = SystemProp<CSS.Property.OverscrollBehavior, VuiTheme>;
|
|
64
|
-
export
|
|
64
|
+
export declare type OverscrollBehaviorProps = {
|
|
65
65
|
overscrollBehavior?: OverscrollBehaviorProp;
|
|
66
|
-
}
|
|
66
|
+
};
|
|
67
67
|
declare type ObjectFitProp = SystemProp<CSS.Property.ObjectFit, VuiTheme>;
|
|
68
|
-
export
|
|
68
|
+
export declare type ObjectFitProps = {
|
|
69
69
|
objectFit?: ObjectFitProp;
|
|
70
|
-
}
|
|
71
|
-
export
|
|
72
|
-
}
|
|
70
|
+
};
|
|
71
|
+
export declare type LayoutProps = DisplayProps & FloatProps & BoxSizingProps & OverflowProps & OverflowXProps & OverflowYProps & PositionProps & ZIndexProps & TopProps & RightProps & BottomProps & LeftProps & VisibilityProps & OverscrollBehaviorProps & ObjectFitProps;
|
|
73
72
|
export {};
|