alouette 7.0.0-beta.2 → 7.0.0-beta.21
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 +7 -1
- package/dist/createAlouetteTamagui-browser.es.js +105 -95
- package/dist/createAlouetteTamagui-browser.es.js.map +1 -1
- package/dist/createAlouetteTamagui-node18.mjs +105 -95
- package/dist/createAlouetteTamagui-node18.mjs.map +1 -1
- package/dist/createAlouetteTamagui-react-native.cjs.js +107 -94
- package/dist/createAlouetteTamagui-react-native.cjs.js.map +1 -1
- package/dist/definitions/components/actions/Button.d.ts +20 -0
- package/dist/definitions/components/actions/Button.d.ts.map +1 -0
- package/dist/definitions/components/actions/Button.stories.d.ts +10 -0
- package/dist/definitions/components/actions/Button.stories.d.ts.map +1 -0
- package/dist/definitions/components/actions/IconButton.d.ts +18 -0
- package/dist/definitions/components/actions/IconButton.d.ts.map +1 -0
- package/dist/definitions/components/actions/IconButton.stories.d.ts +10 -0
- package/dist/definitions/components/actions/IconButton.stories.d.ts.map +1 -0
- package/dist/definitions/components/containers/Box.d.ts +13 -0
- package/dist/definitions/components/containers/Box.d.ts.map +1 -0
- package/dist/definitions/components/containers/Box.stories.d.ts +18 -0
- package/dist/definitions/components/containers/Box.stories.d.ts.map +1 -0
- package/dist/definitions/components/containers/PressableBox.d.ts +12 -0
- package/dist/definitions/components/containers/PressableBox.d.ts.map +1 -0
- package/dist/definitions/components/containers/PressableBox.stories.d.ts +18 -0
- package/dist/definitions/components/containers/PressableBox.stories.d.ts.map +1 -0
- package/dist/definitions/components/containers/variants.d.ts +61 -0
- package/dist/definitions/components/containers/variants.d.ts.map +1 -0
- package/dist/definitions/components/feedback/FeedbackIcon.d.ts +8 -0
- package/dist/definitions/components/feedback/FeedbackIcon.d.ts.map +1 -0
- package/dist/definitions/components/feedback/Message.d.ts +25 -0
- package/dist/definitions/components/feedback/Message.d.ts.map +1 -0
- package/dist/definitions/components/feedback/Message.stories.d.ts +10 -0
- package/dist/definitions/components/feedback/Message.stories.d.ts.map +1 -0
- package/dist/definitions/components/forms/InputText.d.ts +23 -0
- package/dist/definitions/components/forms/InputText.d.ts.map +1 -0
- package/dist/definitions/components/forms/InputText.stories.d.ts +16 -0
- package/dist/definitions/components/forms/InputText.stories.d.ts.map +1 -0
- package/dist/definitions/components/layout/Separator.d.ts +6 -0
- package/dist/definitions/components/layout/Separator.d.ts.map +1 -0
- package/dist/definitions/components/layout/Separator.stories.d.ts +10 -0
- package/dist/definitions/components/layout/Separator.stories.d.ts.map +1 -0
- package/dist/definitions/components/layout/list.d.ts +7 -0
- package/dist/definitions/components/layout/list.d.ts.map +1 -0
- package/dist/definitions/components/layout/list.stories.d.ts +7 -0
- package/dist/definitions/components/layout/list.stories.d.ts.map +1 -0
- package/dist/definitions/components/primitives/Icon.d.ts +14 -0
- package/dist/definitions/components/primitives/Icon.d.ts.map +1 -0
- package/dist/definitions/components/primitives/Icon.stories.d.ts +9 -0
- package/dist/definitions/components/primitives/Icon.stories.d.ts.map +1 -0
- package/dist/definitions/components/primitives/ScrollView.d.ts +14 -0
- package/dist/definitions/components/primitives/ScrollView.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.d.ts +5 -0
- package/dist/definitions/components/primitives/View.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.stories.d.ts +10 -0
- package/dist/definitions/components/primitives/View.stories.d.ts.map +1 -0
- package/dist/definitions/components/primitives/createVariants.d.ts +54 -0
- package/dist/definitions/components/primitives/createVariants.d.ts.map +1 -0
- package/dist/definitions/components/primitives/stacks.d.ts +17 -0
- package/dist/definitions/components/primitives/stacks.d.ts.map +1 -0
- package/dist/definitions/components/primitives/stacks.stories.d.ts +10 -0
- package/dist/definitions/components/primitives/stacks.stories.d.ts.map +1 -0
- package/dist/definitions/components/story-components/Story.d.ts +21 -0
- package/dist/definitions/components/story-components/Story.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryContainer.d.ts +7 -0
- package/dist/definitions/components/story-components/StoryContainer.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryDecorator.d.ts +3 -0
- package/dist/definitions/components/story-components/StoryDecorator.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryGrid.d.ts +19 -0
- package/dist/definitions/components/story-components/StoryGrid.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryTitle.d.ts +10 -0
- package/dist/definitions/components/story-components/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/components/story-components/WithTamaguiConfig.d.ts +7 -0
- package/dist/definitions/components/story-components/WithTamaguiConfig.d.ts.map +1 -0
- package/dist/definitions/components/typography/Typography.d.ts +38 -0
- package/dist/definitions/components/typography/Typography.d.ts.map +1 -0
- package/dist/definitions/components/typography/Typography.stories.d.ts +15 -0
- package/dist/definitions/components/typography/Typography.stories.d.ts.map +1 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.d.ts +20 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.d.ts.map +1 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.stories.d.ts +10 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.stories.d.ts.map +1 -0
- package/dist/definitions/components/windowSize/useCurrentBreakpointName.d.ts +5 -0
- package/dist/definitions/components/windowSize/useCurrentBreakpointName.d.ts.map +1 -0
- package/dist/definitions/config/Breakpoints.d.ts +32 -0
- package/dist/definitions/config/Breakpoints.d.ts.map +1 -0
- package/dist/definitions/config/animations.d.ts +15 -0
- package/dist/definitions/config/animations.d.ts.map +1 -0
- package/dist/definitions/config/animations.web.d.ts +5 -0
- package/dist/definitions/config/animations.web.d.ts.map +1 -0
- package/dist/definitions/config/colorScales.d.ts +13 -0
- package/dist/definitions/config/colorScales.d.ts.map +1 -0
- package/dist/definitions/config/createAlouetteFonts.d.ts +90 -0
- package/dist/definitions/config/createAlouetteFonts.d.ts.map +1 -0
- package/dist/definitions/config/createAlouetteTokens.d.ts +557 -0
- package/dist/definitions/config/createAlouetteTokens.d.ts.map +1 -0
- package/dist/definitions/config/media.d.ts +15 -0
- package/dist/definitions/config/media.d.ts.map +1 -0
- package/dist/definitions/config/themes.d.ts +247 -0
- package/dist/definitions/config/themes.d.ts.map +1 -0
- package/dist/definitions/config/themes.stories.d.ts +8 -0
- package/dist/definitions/config/themes.stories.d.ts.map +1 -0
- package/dist/definitions/config/tokens.stories.d.ts +8 -0
- package/dist/definitions/config/tokens.stories.d.ts.map +1 -0
- package/dist/definitions/config/utils/groupTokens.d.ts +7 -0
- package/dist/definitions/config/utils/groupTokens.d.ts.map +1 -0
- package/dist/definitions/core/AlouetteDecorator.d.ts +3 -0
- package/dist/definitions/core/AlouetteDecorator.d.ts.map +1 -0
- package/dist/definitions/core/AlouetteProvider.d.ts +8 -0
- package/dist/definitions/core/AlouetteProvider.d.ts.map +1 -0
- package/dist/definitions/createAlouetteTamagui.d.ts +136 -0
- package/dist/definitions/createAlouetteTamagui.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +42 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/index-browser.es.js +389 -60
- package/dist/index-browser.es.js.map +1 -1
- package/dist/index-node18.mjs +389 -60
- package/dist/index-node18.mjs.map +1 -1
- package/dist/index-react-native.cjs.js +403 -56
- package/dist/index-react-native.cjs.js.map +1 -1
- package/package.json +31 -24
- package/src/components/actions/Button.stories.tsx +4 -5
- package/src/components/actions/Button.tsx +3 -4
- package/src/components/actions/IconButton.stories.tsx +2 -3
- package/src/components/actions/IconButton.tsx +4 -4
- package/src/components/containers/{Frame.stories.tsx → Box.stories.tsx} +21 -21
- package/src/components/containers/{Frame.tsx → Box.tsx} +3 -3
- package/src/components/containers/{Pressable.stories.tsx → PressableBox.stories.tsx} +8 -8
- package/src/components/containers/PressableBox.tsx +9 -0
- package/src/components/containers/variants.ts +15 -12
- package/src/components/feedback/FeedbackIcon.tsx +2 -2
- package/src/components/feedback/Message.stories.tsx +2 -2
- package/src/components/feedback/Message.tsx +4 -4
- package/src/components/forms/InputText.stories.tsx +2 -2
- package/src/components/forms/InputText.tsx +5 -0
- package/src/components/layout/Separator.stories.tsx +39 -0
- package/src/components/layout/Separator.tsx +31 -0
- package/src/components/layout/list.stories.tsx +24 -0
- package/src/components/layout/list.tsx +30 -0
- package/src/components/primitives/Icon.stories.tsx +1 -1
- package/src/components/primitives/Icon.tsx +6 -12
- package/src/components/primitives/ScrollView.ts +2 -1
- package/src/components/primitives/createVariants.ts +7 -5
- package/src/components/primitives/stacks.stories.tsx +14 -14
- package/src/components/primitives/stacks.ts +2 -6
- package/src/components/story-components/Story.tsx +1 -1
- package/src/components/story-components/StoryGrid.tsx +0 -1
- package/src/components/story-components/StoryTitle.tsx +3 -0
- package/src/components/typography/Typography.tsx +2 -0
- package/src/components/windowSize/SwitchBreakpoints.stories.tsx +1 -1
- package/src/config/animations.ts +4 -0
- package/src/config/animations.web.ts +1 -0
- package/src/config/colorScales.ts +4 -4
- package/src/config/createAlouetteFonts.ts +6 -6
- package/src/config/createAlouetteTokens.ts +23 -18
- package/src/config/themes.stories.tsx +5 -9
- package/src/config/themes.ts +139 -68
- package/src/config/tokens.stories.tsx +7 -7
- package/src/core/AlouetteDecorator.tsx +1 -0
- package/src/createAlouetteTamagui.ts +32 -19
- package/src/index.ts +50 -3
- package/.editorconfig +0 -13
- package/.eslintrc.json +0 -5
- package/.yo-rc.json +0 -11
- package/dist/phosphor-icons-browser.es.js +0 -2497
- package/dist/phosphor-icons-browser.es.js.map +0 -1
- package/dist/phosphor-icons-node18.mjs +0 -2497
- package/dist/phosphor-icons-node18.mjs.map +0 -1
- package/dist/phosphor-icons-react-native.cjs.js +0 -4998
- package/dist/phosphor-icons-react-native.cjs.js.map +0 -1
- package/phosphor-icons.js +0 -1
- package/rollup.config.mjs +0 -8
- package/scripts/generate-phosphor-icons-legacy-withcopy.mjs +0 -64
- package/scripts/generate-phosphor-icons.mjs +0 -51
- package/src/.eslintrc.json +0 -32
- package/src/components/containers/Pressable.tsx +0 -9
- package/src/components/windowSize/__snapshots__/SwitchBreakpoints.stories.tsx.snap +0 -1032
- package/src/components/windowSize/__snapshots_web__/SwitchBreakpoints.stories.tsx.snap +0 -402
- package/src/phosphor-icons.cjs +0 -1254
- package/src/phosphor-icons.d.ts +0 -2501
- package/src/phosphor-icons.ts +0 -2499
- package/src/typings/bundler.d.ts +0 -10
- package/tsconfig.json +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/containers/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAC;;;;;;;;;;;;;AAEtC,wBAG6B;AAE7B,eAAO,MAAM,QAAQ,EAAE,SA0FtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
2
|
+
export declare const PressableBox: 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
|
+
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
5
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
6
|
+
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
7
|
+
withBackground?: boolean | undefined;
|
|
8
|
+
circular?: boolean | undefined;
|
|
9
|
+
centered?: boolean | undefined;
|
|
10
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
11
|
+
export type PressableBoxProps = GetProps<typeof PressableBox>;
|
|
12
|
+
//# sourceMappingURL=PressableBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PressableBox.d.ts","sourceRoot":"","sources":["../../../../src/components/containers/PressableBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,eAAO,MAAM,YAAY;;;;;;;;8CAEd,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { PressableBox } from "./PressableBox";
|
|
3
|
+
type ThisStory = StoryObj<typeof PressableBox>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
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
|
+
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
9
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
10
|
+
withBorder?: boolean | import("@tamagui/web").SizeTokens | undefined;
|
|
11
|
+
withBackground?: boolean | undefined;
|
|
12
|
+
circular?: boolean | undefined;
|
|
13
|
+
centered?: boolean | undefined;
|
|
14
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const PressableStory: ThisStory;
|
|
18
|
+
//# sourceMappingURL=PressableBox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PressableBox.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/containers/PressableBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;;;;;;;;;;;;;AAE/C,wBAGsC;AAEtC,eAAO,MAAM,cAAc,EAAE,SAiB5B,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { SizeTokens, VariantSpreadExtras, ViewStyle } from "@tamagui/core";
|
|
2
|
+
import type { InternalPseudoState } from "../primitives/createVariants";
|
|
3
|
+
export declare const internalForcedPseudoState: (val: InternalPseudoState) => {};
|
|
4
|
+
export declare const withBorder: (val: SizeTokens | boolean, { props }: VariantSpreadExtras<any>) => {
|
|
5
|
+
readonly borderWidth: 1 | import("@tamagui/core").UnionableNumber;
|
|
6
|
+
readonly borderColor: "$borderColor";
|
|
7
|
+
} | {
|
|
8
|
+
readonly borderColor: "$interactive.forms.borderColor:disabled" | "$interactive.borderColor:disabled";
|
|
9
|
+
readonly hoverStyle?: undefined;
|
|
10
|
+
readonly pressStyle?: undefined;
|
|
11
|
+
readonly focusStyle?: undefined;
|
|
12
|
+
readonly borderWidth: 1 | import("@tamagui/core").UnionableNumber;
|
|
13
|
+
} | {
|
|
14
|
+
readonly borderColor: string;
|
|
15
|
+
readonly hoverStyle?: undefined;
|
|
16
|
+
readonly pressStyle?: undefined;
|
|
17
|
+
readonly focusStyle?: undefined;
|
|
18
|
+
readonly borderWidth: 1 | import("@tamagui/core").UnionableNumber;
|
|
19
|
+
} | {
|
|
20
|
+
readonly borderColor: "$interactive.forms.borderColor" | "$interactive.borderColor";
|
|
21
|
+
readonly hoverStyle: {
|
|
22
|
+
readonly borderColor: "$interactive.forms.borderColor:hover" | "$interactive.borderColor:hover";
|
|
23
|
+
};
|
|
24
|
+
readonly pressStyle: {
|
|
25
|
+
readonly borderColor: "$interactive.forms.borderColor:press" | "$interactive.borderColor:press";
|
|
26
|
+
};
|
|
27
|
+
readonly focusStyle: {
|
|
28
|
+
readonly borderColor: "$interactive.forms.borderColor:focus" | "$interactive.borderColor:focus";
|
|
29
|
+
};
|
|
30
|
+
readonly borderWidth: 1 | import("@tamagui/core").UnionableNumber;
|
|
31
|
+
};
|
|
32
|
+
export declare const withBackground: (val: boolean, { props }: VariantSpreadExtras<any>) => {};
|
|
33
|
+
export declare const size: (val: number) => {
|
|
34
|
+
readonly width: number;
|
|
35
|
+
readonly height: number;
|
|
36
|
+
};
|
|
37
|
+
export declare const circular: {
|
|
38
|
+
readonly true: (val: boolean, { props, tokens }: VariantSpreadExtras<any>) => {
|
|
39
|
+
borderRadius: number;
|
|
40
|
+
padding: number;
|
|
41
|
+
} | {
|
|
42
|
+
width: import("@tamagui/core").VariableVal;
|
|
43
|
+
height: import("@tamagui/core").VariableVal;
|
|
44
|
+
maxWidth: import("@tamagui/core").VariableVal;
|
|
45
|
+
maxHeight: import("@tamagui/core").VariableVal;
|
|
46
|
+
minWidth: import("@tamagui/core").VariableVal;
|
|
47
|
+
minHeight: import("@tamagui/core").VariableVal;
|
|
48
|
+
borderRadius: number;
|
|
49
|
+
padding: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const interactive: (isInteractiveOrInteractiveCursorType: ViewStyle["cursor"] | boolean, { props }: VariantSpreadExtras<any>) => {
|
|
53
|
+
readonly cursor: import("csstype").Property.Cursor;
|
|
54
|
+
} | null;
|
|
55
|
+
export declare const centered: {
|
|
56
|
+
readonly true: {
|
|
57
|
+
readonly alignItems: "center";
|
|
58
|
+
readonly justifyContent: "center";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../src/components/containers/variants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAMxE,eAAO,MAAM,yBAAyB,QAAS,mBAAmB,OAAS,CAAC;AAE5E,eAAO,MAAM,UAAU,QAChB,UAAU,GAAG,OAAO,aACd,mBAAmB,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpC,CAAC;AAEF,eAAO,MAAM,cAAc,QACpB,OAAO,aACD,mBAAmB,CAAC,GAAG,CAAC,OAqBpC,CAAC;AAOF,eAAO,MAAM,IAAI,QAAS,MAAM;;;CAE/B,CAAC;AAEF,eAAO,MAAM,QAAQ;yBACP,OAAO,qBAAqB,mBAAmB,CAAC,GAAG,CAAC;;;;;;;;;;;;;CAgBxD,CAAC;AAEX,eAAO,MAAM,WAAW,yCACgB,SAAS,CAAC,QAAQ,CAAC,GAAG,OAAO,aACxD,mBAAmB,CAAC,GAAG,CAAC;;QAYpC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { MessageProps } from "./Message";
|
|
3
|
+
interface FeedbackIconProps {
|
|
4
|
+
type: MessageProps["theme"];
|
|
5
|
+
}
|
|
6
|
+
export declare function FeedbackIcon({ type }: FeedbackIconProps): ReactNode;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=FeedbackIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/FeedbackIcon.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,UAAU,iBAAiB;IACzB,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAWnE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
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
|
+
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
5
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
6
|
+
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
7
|
+
withBackground?: boolean | undefined;
|
|
8
|
+
circular?: boolean | undefined;
|
|
9
|
+
centered?: boolean | undefined;
|
|
10
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
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?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
13
|
+
family?: "heading" | "body" | undefined;
|
|
14
|
+
centered?: boolean | undefined;
|
|
15
|
+
contrast?: boolean | undefined;
|
|
16
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
17
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
18
|
+
export interface MessageProps {
|
|
19
|
+
theme: NonNullable<ComponentProps<typeof MessageFrame>["theme"]>;
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
textCentered?: boolean;
|
|
22
|
+
onDismiss?: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare function Message({ theme, textCentered, children, onDismiss, }: MessageProps): ReactNode;
|
|
25
|
+
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/Message.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvD,eAAO,MAAM,YAAY;;;;;;;;8CAQd,CAAC;AAEZ,eAAO,MAAM,WAAW;;;;;;8CAcb,CAAC;AAYZ,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,GACV,EAAE,YAAY,GAAG,SAAS,CAgB1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { Message } from "./Message";
|
|
3
|
+
type ThisStory = StoryObj<typeof Message>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Message;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const MessageStory: ThisStory;
|
|
10
|
+
//# sourceMappingURL=Message.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/Message.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;;;;;AAE1C,wBAGiC;AAejC,eAAO,MAAM,YAAY,EAAE,SAoC1B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
2
|
+
import { TextInput } from "react-native";
|
|
3
|
+
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, {
|
|
4
|
+
size?: number | undefined;
|
|
5
|
+
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
6
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
7
|
+
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
8
|
+
withBackground?: boolean | undefined;
|
|
9
|
+
circular?: boolean | undefined;
|
|
10
|
+
centered?: boolean | undefined;
|
|
11
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
12
|
+
export type InputTextProps = GetProps<typeof InputText>;
|
|
13
|
+
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, {
|
|
14
|
+
size?: number | undefined;
|
|
15
|
+
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
16
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
17
|
+
withBorder?: boolean | import("@tamagui/core").SizeTokens | undefined;
|
|
18
|
+
withBackground?: boolean | undefined;
|
|
19
|
+
circular?: boolean | undefined;
|
|
20
|
+
centered?: boolean | undefined;
|
|
21
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
22
|
+
export type TextAreaProps = GetProps<typeof TextArea>;
|
|
23
|
+
//# sourceMappingURL=InputText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/InputText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAsBzC,eAAO,MAAM,SAAS;;;;;;;;8CAKpB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExD,eAAO,MAAM,QAAQ;;;;;;;;8CAEnB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
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
|
+
internalForcedPseudoState?: import("../primitives/createVariants").InternalPseudoState | undefined;
|
|
7
|
+
interactive?: boolean | import("csstype").Property.Cursor | undefined;
|
|
8
|
+
withBorder?: boolean | import("@tamagui/web").SizeTokens | undefined;
|
|
9
|
+
withBackground?: boolean | undefined;
|
|
10
|
+
circular?: boolean | undefined;
|
|
11
|
+
centered?: boolean | undefined;
|
|
12
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const InputTextStory: StoryObj;
|
|
16
|
+
//# sourceMappingURL=InputText.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/InputText.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;AAKvD,wBAG0B;AAE1B,eAAO,MAAM,cAAc,EAAE,QA6D5B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
2
|
+
export declare const Separator: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
3
|
+
vertical?: boolean | undefined;
|
|
4
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
5
|
+
export type SeparatorProps = GetProps<typeof Separator>;
|
|
6
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG9C,eAAO,MAAM,SAAS;;8CAyBX,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
5
|
+
vertical?: boolean | undefined;
|
|
6
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const SeparatorStory: StoryObj;
|
|
10
|
+
//# sourceMappingURL=Separator.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Separator.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;;;;;;;AAOvD,wBAG0B;AAE1B,eAAO,MAAM,cAAc,EAAE,QA0B5B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface PressableListItemProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onPress: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function PressableListItem({ children, onPress, }: PressableListItemProps): ReactNode;
|
|
7
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/list.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,OAAO,GACR,EAAE,sBAAsB,GAAG,SAAS,CAepC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/list.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;;;;AAMvD,wBAE0B;AAE1B,eAAO,MAAM,sBAAsB,EAAE,QAapC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ColorTokens, GetProps, Variable } from "@tamagui/core";
|
|
2
|
+
import type { ReactElement, ReactNode } from "react";
|
|
3
|
+
import type { OpaqueColorValue } from "react-native";
|
|
4
|
+
import type { BoxProps } from "../containers/Box";
|
|
5
|
+
import { Box } from "../containers/Box";
|
|
6
|
+
export interface IconProps extends Exclude<GetProps<typeof Box>, "alignSelf" | "style"> {
|
|
7
|
+
icon: ReactElement;
|
|
8
|
+
color?: ColorTokens | OpaqueColorValue | Variable<any> | undefined;
|
|
9
|
+
align?: BoxProps["alignSelf"];
|
|
10
|
+
contrast?: boolean;
|
|
11
|
+
size?: number;
|
|
12
|
+
}
|
|
13
|
+
export declare function Icon({ icon, size, align, contrast, color, ...props }: IconProps): ReactNode;
|
|
14
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,WAAW,SACf,SAAQ,OAAO,CAAC,QAAQ,CAAC,OAAO,GAAG,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;IAC5D,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,WAAW,GAAG,gBAAgB,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IACnE,KAAK,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,IAAS,EACT,KAAc,EACd,QAAQ,EACR,KAAsD,EACtD,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,SAAS,CAgBvB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { Icon } from "./Icon";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Icon;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const IconStory: StoryObj;
|
|
9
|
+
//# sourceMappingURL=Icon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;;;;;AAE9B,wBAG0B;AAE1B,eAAO,MAAM,SAAS,EAAE,QAOvB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
2
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
3
|
+
export declare const ScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, ScrollViewNative, import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase & {
|
|
4
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
5
|
+
}, {
|
|
6
|
+
fullscreen?: boolean | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
readonly accept: {
|
|
9
|
+
readonly contentContainerStyle: "style";
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
export type ScrollView = Pick<ScrollViewNative, "scrollTo">;
|
|
13
|
+
export type ScrollViewProps = GetProps<typeof ScrollView>;
|
|
14
|
+
//# sourceMappingURL=ScrollView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/ScrollView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAG9D,eAAO,MAAM,UAAU;;;;;;;;EAiBtB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/View.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("react").RefAttributes<import("@tamagui/web").TamaguiElement>> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
5
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}, {}];
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const ViewStory: StoryObj;
|
|
10
|
+
//# sourceMappingURL=View.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/View.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;;;;;;;AAIvD,wBAG0B;AAE1B,eAAO,MAAM,SAAS,EAAE,QAcvB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { VariantSpreadExtras } from "@tamagui/core";
|
|
2
|
+
export declare const fullscreenStyle: {
|
|
3
|
+
readonly position: "absolute";
|
|
4
|
+
readonly top: 0;
|
|
5
|
+
readonly left: 0;
|
|
6
|
+
readonly right: 0;
|
|
7
|
+
readonly bottom: 0;
|
|
8
|
+
};
|
|
9
|
+
export type InternalPseudoState = "focus" | "hover" | "press";
|
|
10
|
+
export declare const getBorderAdditionalInteraction: ({ internalForcedPseudoState, disabled, interactive, }: VariantSpreadExtras<any>["props"]) => {
|
|
11
|
+
readonly borderColor: "$interactive.forms.borderColor:disabled" | "$interactive.borderColor:disabled";
|
|
12
|
+
readonly hoverStyle?: undefined;
|
|
13
|
+
readonly pressStyle?: undefined;
|
|
14
|
+
readonly focusStyle?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
borderColor: string;
|
|
17
|
+
readonly hoverStyle?: undefined;
|
|
18
|
+
readonly pressStyle?: undefined;
|
|
19
|
+
readonly focusStyle?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
readonly borderColor: "$interactive.forms.borderColor" | "$interactive.borderColor";
|
|
22
|
+
readonly hoverStyle: {
|
|
23
|
+
readonly borderColor: "$interactive.forms.borderColor:hover" | "$interactive.borderColor:hover";
|
|
24
|
+
};
|
|
25
|
+
readonly pressStyle: {
|
|
26
|
+
readonly borderColor: "$interactive.forms.borderColor:press" | "$interactive.borderColor:press";
|
|
27
|
+
};
|
|
28
|
+
readonly focusStyle: {
|
|
29
|
+
readonly borderColor: "$interactive.forms.borderColor:focus" | "$interactive.borderColor:focus";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const getBackgroundAdditionalInteraction: ({ internalForcedPseudoState, disabled, interactive, variant, }: VariantSpreadExtras<any>["props"]) => {
|
|
33
|
+
readonly backgroundColor: `$${string}.backgroundColor:disabled`;
|
|
34
|
+
readonly hoverStyle?: undefined;
|
|
35
|
+
readonly pressStyle?: undefined;
|
|
36
|
+
readonly focusStyle?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
readonly hoverStyle?: undefined;
|
|
40
|
+
readonly pressStyle?: undefined;
|
|
41
|
+
readonly focusStyle?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
readonly backgroundColor: `$${string}.backgroundColor`;
|
|
44
|
+
readonly hoverStyle: {
|
|
45
|
+
readonly backgroundColor: `$${string}.backgroundColor:hover`;
|
|
46
|
+
};
|
|
47
|
+
readonly pressStyle: {
|
|
48
|
+
readonly backgroundColor: `$${string}.backgroundColor:press`;
|
|
49
|
+
};
|
|
50
|
+
readonly focusStyle: {
|
|
51
|
+
readonly backgroundColor: `$${string}.backgroundColor:focus`;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=createVariants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/createVariants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE9D,eAAO,MAAM,8BAA8B,0DAIxC,mBAAmB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;CAyCnC,CAAC;AAGF,eAAO,MAAM,kCAAkC,mEAK5C,mBAAmB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;CA6CnC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
2
|
+
export declare const Stack: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
3
|
+
type?: "h" | "v" | undefined;
|
|
4
|
+
fullscreen?: boolean | undefined;
|
|
5
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
6
|
+
export type StackProps = GetProps<typeof Stack>;
|
|
7
|
+
export declare const HStack: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
8
|
+
type?: "h" | "v" | undefined;
|
|
9
|
+
fullscreen?: boolean | undefined;
|
|
10
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
11
|
+
export type HStackProps = GetProps<typeof HStack>;
|
|
12
|
+
export declare const VStack: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
13
|
+
type?: "h" | "v" | undefined;
|
|
14
|
+
fullscreen?: boolean | undefined;
|
|
15
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
16
|
+
export type VStackProps = GetProps<typeof VStack>;
|
|
17
|
+
//# sourceMappingURL=stacks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stacks.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/stacks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAS9C,eAAO,MAAM,KAAK;;;8CAShB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEhD,eAAO,MAAM,MAAM;;;8CAIjB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,MAAM;;;8CAGjB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("react").RefAttributes<import("@tamagui/web").TamaguiElement>> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
5
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}, {}];
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const StacksStory: StoryObj;
|
|
10
|
+
//# sourceMappingURL=stacks.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stacks.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/stacks.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;;;;;;;AAOvD,wBAG0B;AAE1B,eAAO,MAAM,WAAW,EAAE,QA8DzB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { Except } from "type-fest";
|
|
3
|
+
import type { VStackProps } from "../primitives/stacks";
|
|
4
|
+
export type StorySectionProps = Except<VStackProps, "marginBottom"> & {
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
level?: 1 | 2;
|
|
8
|
+
withBackground?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare function StorySection({ title, children, level, withBackground, ...props }: StorySectionProps): ReactNode;
|
|
11
|
+
export interface StoryProps {
|
|
12
|
+
preview?: NonNullable<ReactNode>;
|
|
13
|
+
children?: NonNullable<ReactNode>;
|
|
14
|
+
}
|
|
15
|
+
export declare function Story({ preview, children }: StoryProps): ReactNode;
|
|
16
|
+
export declare namespace Story {
|
|
17
|
+
var Section: typeof StorySection;
|
|
18
|
+
var SubSection: ({ title, children, withBackground, ...props }: StorySectionProps) => ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=Story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../../src/components/story-components/Story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAiBxD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG;IACpE,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,KAAS,EACT,cAAc,EACd,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,SAAS,CAO/B;AAoBD,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACnC;AAED,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,SAAS,CAWlE;yBAXe,KAAK;;oEAlBlB,iBAAiB,KAAG,SAAS"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface StoryContainerProps {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
}
|
|
6
|
+
export declare function StoryContainer({ title, children, }: StoryContainerProps): ReactNode;
|
|
7
|
+
//# sourceMappingURL=StoryContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/story-components/StoryContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,GACT,EAAE,mBAAmB,GAAG,SAAS,CAOjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryDecorator.d.ts","sourceRoot":"","sources":["../../../../src/components/story-components/StoryDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,eAAO,MAAM,cAAc,EAAE,SAG5B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface StoryGridRowProps {
|
|
3
|
+
children: NonNullable<ReactNode>;
|
|
4
|
+
breakpoint?: "medium" | "small";
|
|
5
|
+
flexWrap?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function StoryGridRow({ children, breakpoint, flexWrap, }: StoryGridRowProps): ReactNode;
|
|
8
|
+
export interface StoryGridColProps {
|
|
9
|
+
children: NonNullable<ReactNode>;
|
|
10
|
+
title?: string;
|
|
11
|
+
platform?: "all" | "native" | "web";
|
|
12
|
+
}
|
|
13
|
+
declare function StoryGridCol({ title, children, platform, }: StoryGridColProps): ReactNode;
|
|
14
|
+
export declare const StoryGrid: {
|
|
15
|
+
Row: typeof StoryGridRow;
|
|
16
|
+
Col: typeof StoryGridCol;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=StoryGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/story-components/StoryGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,UAAoB,EACpB,QAAQ,GACT,EAAE,iBAAiB,GAAG,SAAS,CAiC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,KAAK,CAAC;CACrC;AAED,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,QAAgB,GACjB,EAAE,iBAAiB,GAAG,SAAS,CAqB/B;AAED,eAAO,MAAM,SAAS;;;CAGrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
2
|
+
export declare const StoryTitle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
3
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
4
|
+
family?: "heading" | "body" | undefined;
|
|
5
|
+
contrast?: boolean | undefined;
|
|
6
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
7
|
+
level?: 1 | 4 | 2 | 3 | undefined;
|
|
8
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
9
|
+
export type StoryTitleProps = GetProps<typeof StoryTitle>;
|
|
10
|
+
//# sourceMappingURL=StoryTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/story-components/StoryTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,eAAO,MAAM,UAAU;;;;;;8CAeZ,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useConfiguration } from "@tamagui/core";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export interface WithTamaguiConfigProps {
|
|
4
|
+
render: (config: ReturnType<typeof useConfiguration>) => NonNullable<ReactNode>;
|
|
5
|
+
}
|
|
6
|
+
export declare function WithTamaguiConfig({ render, }: WithTamaguiConfigProps): ReactNode;
|
|
7
|
+
//# sourceMappingURL=WithTamaguiConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithTamaguiConfig.d.ts","sourceRoot":"","sources":["../../../../src/components/story-components/WithTamaguiConfig.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,CACN,MAAM,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,KACxC,WAAW,CAAC,SAAS,CAAC,CAAC;CAC7B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,GACP,EAAE,sBAAsB,GAAG,SAAS,CAGpC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { GetProps } from "@tamagui/core";
|
|
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?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
4
|
+
family?: "heading" | "body" | undefined;
|
|
5
|
+
contrast?: boolean | undefined;
|
|
6
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
7
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
8
|
+
export type TypographyProps = GetProps<typeof Typography>;
|
|
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?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
11
|
+
family?: "heading" | "body" | undefined;
|
|
12
|
+
contrast?: boolean | undefined;
|
|
13
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
14
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
15
|
+
export type TypographyParagraphProps = GetProps<typeof TypographyParagraph>;
|
|
16
|
+
export declare const TypographyWithContext: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
17
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
18
|
+
family?: "heading" | "body" | undefined;
|
|
19
|
+
contrast?: boolean | undefined;
|
|
20
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
21
|
+
}>, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & void, import("@tamagui/core").TextStylePropsBase, {
|
|
22
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
23
|
+
family?: "heading" | "body" | undefined;
|
|
24
|
+
contrast?: boolean | undefined;
|
|
25
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
26
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
27
|
+
export declare const TypographyParagraphWithContext: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
28
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
29
|
+
family?: "heading" | "body" | undefined;
|
|
30
|
+
contrast?: boolean | undefined;
|
|
31
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
32
|
+
}>, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & void, import("@tamagui/core").TextStylePropsBase, {
|
|
33
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
34
|
+
family?: "heading" | "body" | undefined;
|
|
35
|
+
contrast?: boolean | undefined;
|
|
36
|
+
weight?: "regular" | "bold" | "black" | undefined;
|
|
37
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
38
|
+
//# sourceMappingURL=Typography.d.ts.map
|