alouette 7.0.0-beta.5 → 7.0.0-beta.6
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/README.md +4 -0
- package/dist/definitions/components/actions/Button.d.ts +4 -4
- package/dist/definitions/components/actions/Button.d.ts.map +1 -1
- package/dist/definitions/components/actions/IconButton.d.ts +2 -2
- package/dist/definitions/components/containers/Frame.d.ts +2 -2
- package/dist/definitions/components/containers/Frame.stories.d.ts +2 -2
- package/dist/definitions/components/containers/Pressable.d.ts +2 -2
- package/dist/definitions/components/containers/Pressable.stories.d.ts +2 -2
- package/dist/definitions/components/feedback/Message.d.ts +5 -5
- package/dist/definitions/components/forms/InputText.d.ts +4 -4
- package/dist/definitions/components/forms/InputText.stories.d.ts +2 -2
- package/dist/definitions/components/story-components/StoryTitle.d.ts +4 -4
- package/dist/definitions/components/typography/Typography.d.ts +18 -18
- package/dist/definitions/components/typography/Typography.stories.d.ts +3 -3
- package/dist/definitions/config/createAlouetteTokens.d.ts +139 -139
- package/dist/definitions/createAlouetteTamagui.d.ts +139 -139
- package/package.json +1 -1
- package/src/.eslintrc.json +0 -1
- package/src/components/actions/Button.tsx +2 -3
- package/tsconfig.json +1 -1
package/README.md
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
+
<a href="https://npmjs.org/package/alouette"><img src="https://img.shields.io/npm/v/alouette.svg?style=flat-square"></a>
|
|
11
|
+
<a href="https://npmjs.org/package/alouette"><img src="https://img.shields.io/npm/dw/alouette.svg?style=flat-square"></a>
|
|
12
|
+
<a href="https://npmjs.org/package/alouette"><img src="https://img.shields.io/node/v/alouette.svg?style=flat-square"></a>
|
|
13
|
+
<a href="https://npmjs.org/package/alouette"><img src="https://img.shields.io/npm/types/alouette.svg?style=flat-square"></a>
|
|
10
14
|
</p>
|
|
11
15
|
|
|
12
16
|
## Install
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { GetProps } from "@tamagui/core";
|
|
2
|
-
import {
|
|
2
|
+
import type { ReactElement, ReactNode } from "react";
|
|
3
3
|
declare const ButtonFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
4
|
-
size?: number | undefined;
|
|
5
4
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
6
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
|
-
variant?: "contained" | "outlined" | undefined;
|
|
8
5
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
6
|
+
size?: number | undefined;
|
|
7
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
9
8
|
withBackground?: boolean | undefined;
|
|
9
|
+
variant?: "contained" | "outlined" | undefined;
|
|
10
10
|
circular?: boolean | undefined;
|
|
11
11
|
centered?: boolean | undefined;
|
|
12
12
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,QAAA,MAAM,WAAW;;;;;;;;;8CAuBf,CAAC;AAEH,KAAK,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,IAAI,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IACjC,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,GAAG,cAAc,EAClB,EAAE,WAAW,GAAG,SAAS,CAuBzB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { GetProps } from "@tamagui/core";
|
|
2
2
|
import { type ReactElement, type ReactNode } from "react";
|
|
3
3
|
declare const IconButtonFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
4
|
-
size?: number | undefined;
|
|
5
4
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
6
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
5
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
6
|
+
size?: number | undefined;
|
|
7
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
8
8
|
withBackground?: boolean | undefined;
|
|
9
9
|
circular?: boolean | undefined;
|
|
10
10
|
centered?: boolean | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { GetProps } from "@tamagui/core";
|
|
2
2
|
/** View with alouette variants */
|
|
3
3
|
export declare const Frame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
4
|
-
size?: number | undefined;
|
|
5
4
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
6
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
5
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
6
|
+
size?: number | undefined;
|
|
7
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
8
8
|
withBackground?: boolean | undefined;
|
|
9
9
|
circular?: boolean | undefined;
|
|
10
10
|
centered?: boolean | undefined;
|
|
@@ -4,10 +4,10 @@ type ThisStory = StoryObj<typeof Frame>;
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
7
|
-
size?: number | undefined;
|
|
8
7
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
9
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
10
8
|
withBorder?: boolean | import("@tamagui/web").SizeTokens | undefined;
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
11
11
|
withBackground?: boolean | undefined;
|
|
12
12
|
circular?: boolean | undefined;
|
|
13
13
|
centered?: boolean | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { GetProps } from "@tamagui/core";
|
|
2
2
|
export declare const Pressable: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
3
|
-
size?: number | undefined;
|
|
4
3
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
5
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
6
4
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
7
|
withBackground?: boolean | undefined;
|
|
8
8
|
circular?: boolean | undefined;
|
|
9
9
|
centered?: boolean | undefined;
|
|
@@ -4,10 +4,10 @@ type ThisStory = StoryObj<typeof Pressable>;
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
7
|
-
size?: number | undefined;
|
|
8
7
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
9
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
10
8
|
withBorder?: boolean | import("@tamagui/web").SizeTokens | undefined;
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
11
11
|
withBackground?: boolean | undefined;
|
|
12
12
|
circular?: boolean | undefined;
|
|
13
13
|
centered?: boolean | undefined;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { ComponentProps, ReactNode } from "react";
|
|
2
2
|
export declare const MessageFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
3
|
-
size?: number | undefined;
|
|
4
3
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
5
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
6
4
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
7
|
withBackground?: boolean | undefined;
|
|
8
8
|
circular?: boolean | undefined;
|
|
9
9
|
centered?: boolean | undefined;
|
|
10
10
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
11
11
|
export declare const MessageText: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
12
|
-
size?: "
|
|
13
|
-
family?: "
|
|
12
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
13
|
+
family?: "body" | "heading" | undefined;
|
|
14
14
|
centered?: boolean | undefined;
|
|
15
15
|
contrast?: boolean | undefined;
|
|
16
|
-
weight?: "
|
|
16
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
17
17
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
18
18
|
export interface MessageProps {
|
|
19
19
|
theme: NonNullable<ComponentProps<typeof MessageFrame>["theme"]>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { TextInput } from "react-native";
|
|
2
2
|
export declare const InputText: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TextInput, import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").TextInputProps, import("@tamagui/core").StackStyleBase, {
|
|
3
|
-
size?: number | undefined;
|
|
4
3
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
5
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
6
4
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
7
|
withBackground?: boolean | undefined;
|
|
8
8
|
circular?: boolean | undefined;
|
|
9
9
|
centered?: boolean | undefined;
|
|
10
10
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
11
11
|
export declare const TextArea: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TextInput, import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").TextInputProps, import("@tamagui/core").StackStyleBase, {
|
|
12
|
-
size?: number | undefined;
|
|
13
12
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
14
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
15
13
|
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
14
|
+
size?: number | undefined;
|
|
15
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
16
16
|
withBackground?: boolean | undefined;
|
|
17
17
|
circular?: boolean | undefined;
|
|
18
18
|
centered?: boolean | undefined;
|
|
@@ -2,10 +2,10 @@ import type { StoryObj } from "@storybook/react";
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("react-native").TextInput, import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").TextInputProps, import("@tamagui/web").StackStyleBase, {
|
|
5
|
-
size?: number | undefined;
|
|
6
5
|
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
7
|
-
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
8
6
|
withBorder?: boolean | import("@tamagui/web").SizeTokens | undefined;
|
|
7
|
+
size?: number | undefined;
|
|
8
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
9
9
|
withBackground?: boolean | undefined;
|
|
10
10
|
circular?: boolean | undefined;
|
|
11
11
|
centered?: boolean | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const StoryTitle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
2
|
-
size?: "
|
|
3
|
-
family?: "
|
|
2
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
3
|
+
family?: "body" | "heading" | undefined;
|
|
4
4
|
contrast?: boolean | undefined;
|
|
5
|
-
weight?: "
|
|
6
|
-
level?: 1 |
|
|
5
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
6
|
+
level?: 1 | 3 | 2 | 4 | undefined;
|
|
7
7
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
8
8
|
//# sourceMappingURL=StoryTitle.d.ts.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import type { GetProps } from "@tamagui/core";
|
|
2
2
|
export declare const Typography: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
3
|
-
size?: "
|
|
4
|
-
family?: "
|
|
3
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
4
|
+
family?: "body" | "heading" | undefined;
|
|
5
5
|
contrast?: boolean | undefined;
|
|
6
|
-
weight?: "
|
|
6
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
7
7
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
8
8
|
export type TypographyProps = GetProps<typeof Typography>;
|
|
9
9
|
export declare const TypographyParagraph: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
10
|
-
size?: "
|
|
11
|
-
family?: "
|
|
10
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
11
|
+
family?: "body" | "heading" | undefined;
|
|
12
12
|
contrast?: boolean | undefined;
|
|
13
|
-
weight?: "
|
|
13
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
14
14
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
15
15
|
export declare const TypographyWithContext: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
16
|
-
size?: "
|
|
17
|
-
family?: "
|
|
16
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
17
|
+
family?: "body" | "heading" | undefined;
|
|
18
18
|
contrast?: boolean | undefined;
|
|
19
|
-
weight?: "
|
|
19
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
20
20
|
}>, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & void, import("@tamagui/core").TextStylePropsBase, {
|
|
21
|
-
size?: "
|
|
22
|
-
family?: "
|
|
21
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
22
|
+
family?: "body" | "heading" | undefined;
|
|
23
23
|
contrast?: boolean | undefined;
|
|
24
|
-
weight?: "
|
|
24
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
25
25
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
26
26
|
export declare const TypographyParagraphWithContext: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
27
|
-
size?: "
|
|
28
|
-
family?: "
|
|
27
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
28
|
+
family?: "body" | "heading" | undefined;
|
|
29
29
|
contrast?: boolean | undefined;
|
|
30
|
-
weight?: "
|
|
30
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
31
31
|
}>, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & void, import("@tamagui/core").TextStylePropsBase, {
|
|
32
|
-
size?: "
|
|
33
|
-
family?: "
|
|
32
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
33
|
+
family?: "body" | "heading" | undefined;
|
|
34
34
|
contrast?: boolean | undefined;
|
|
35
|
-
weight?: "
|
|
35
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
36
36
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
37
37
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -4,10 +4,10 @@ type ThisStory = StoryObj<typeof Typography>;
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
7
|
-
size?: "
|
|
8
|
-
family?: "
|
|
7
|
+
size?: "sm" | "md" | "xs" | "xl" | "lg" | undefined;
|
|
8
|
+
family?: "body" | "heading" | undefined;
|
|
9
9
|
contrast?: boolean | undefined;
|
|
10
|
-
weight?: "
|
|
10
|
+
weight?: "bold" | "black" | "regular" | undefined;
|
|
11
11
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
12
12
|
};
|
|
13
13
|
export default _default;
|