alouette 19.0.0-beta.1 → 19.0.0-beta.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/dist/definitions/animationDurationsMs.d.ts +10 -0
- package/dist/definitions/animationDurationsMs.d.ts.map +1 -0
- package/dist/definitions/config/themes.stories.d.ts.map +1 -1
- package/dist/definitions/core/AlouetteConfig.d.ts +3 -2
- package/dist/definitions/core/AlouetteConfig.d.ts.map +1 -1
- package/dist/definitions/core/AlouetteDecorator.d.ts.map +1 -1
- package/dist/definitions/core/AlouetteProvider.d.ts +1 -3
- package/dist/definitions/core/AlouetteProvider.d.ts.map +1 -1
- package/dist/definitions/core/ThemeContext.d.ts +12 -0
- package/dist/definitions/core/ThemeContext.d.ts.map +1 -0
- package/dist/definitions/core/useThemeToken.d.ts +16 -0
- package/dist/definitions/core/useThemeToken.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +13 -5
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/themeVariables.d.ts +7 -0
- package/dist/definitions/themeVariables.d.ts.map +1 -0
- package/dist/definitions/ui/actions/Button.d.ts +80 -14
- package/dist/definitions/ui/actions/Button.d.ts.map +1 -1
- package/dist/definitions/ui/actions/IconButton.d.ts.map +1 -1
- package/dist/definitions/ui/containers/AccentScope.d.ts +9 -0
- package/dist/definitions/ui/containers/AccentScope.d.ts.map +1 -0
- package/dist/definitions/ui/containers/Box.d.ts +4 -2
- package/dist/definitions/ui/containers/Box.d.ts.map +1 -1
- package/dist/definitions/ui/containers/Box.stories.d.ts.map +1 -1
- package/dist/definitions/ui/containers/Presence.d.ts +61 -0
- package/dist/definitions/ui/containers/Presence.d.ts.map +1 -0
- package/dist/definitions/ui/containers/Presence.stories.d.ts +11 -0
- package/dist/definitions/ui/containers/Presence.stories.d.ts.map +1 -0
- package/dist/definitions/ui/containers/ScopedTheme.d.ts +17 -0
- package/dist/definitions/ui/containers/ScopedTheme.d.ts.map +1 -0
- package/dist/definitions/ui/containers/Surface.d.ts +45 -4
- package/dist/definitions/ui/containers/Surface.d.ts.map +1 -1
- package/dist/definitions/ui/data/PressableBox.d.ts +3 -3
- package/dist/definitions/ui/data/PressableBox.d.ts.map +1 -1
- package/dist/definitions/ui/data/PressableListItem.d.ts +2 -2
- package/dist/definitions/ui/data/PressableListItem.d.ts.map +1 -1
- package/dist/definitions/ui/feedback/Message.d.ts +7 -7
- package/dist/definitions/ui/feedback/Message.d.ts.map +1 -1
- package/dist/definitions/ui/feedback/Message.stories.d.ts +2 -2
- package/dist/definitions/ui/feedback/Message.stories.d.ts.map +1 -1
- package/dist/definitions/ui/inputs/InputText.d.ts.map +1 -1
- package/dist/definitions/ui/inputs/Switch.d.ts +3 -3
- package/dist/definitions/ui/inputs/Switch.d.ts.map +1 -1
- package/dist/definitions/ui/inputs/Switch.stories.d.ts.map +1 -1
- package/dist/definitions/ui/inputs/Switch.web.d.ts +4 -1
- package/dist/definitions/ui/inputs/Switch.web.d.ts.map +1 -1
- package/dist/definitions/ui/layout/GradientBackground.d.ts +3 -1
- package/dist/definitions/ui/layout/GradientBackground.d.ts.map +1 -1
- package/dist/definitions/ui/layout/GradientScrollView.d.ts +2 -2
- package/dist/definitions/ui/layout/GradientScrollView.d.ts.map +1 -1
- package/dist/definitions/ui/primitives/Icon.d.ts +7 -16
- package/dist/definitions/ui/primitives/Icon.d.ts.map +1 -1
- package/dist/definitions/ui/primitives/Icon.stories.d.ts +19 -0
- package/dist/definitions/ui/primitives/Icon.stories.d.ts.map +1 -0
- package/dist/definitions/ui/primitives/Icon.web.d.ts +4 -0
- package/dist/definitions/ui/primitives/Icon.web.d.ts.map +1 -0
- package/dist/definitions/ui/primitives/Text.d.ts +6 -3
- package/dist/definitions/ui/primitives/Text.d.ts.map +1 -1
- package/dist/definitions/ui/primitives/Text.stories.d.ts +1 -1
- package/dist/definitions/ui/primitives/Text.stories.d.ts.map +1 -1
- package/dist/definitions/ui/primitives/View.d.ts.map +1 -1
- package/dist/definitions/ui/primitives/View.stories.d.ts.map +1 -1
- package/dist/definitions/ui/stacks/stacks.d.ts +4 -22
- package/dist/definitions/ui/stacks/stacks.d.ts.map +1 -1
- package/dist/definitions/ui/stacks/stacks.stories.d.ts +1 -1
- package/dist/definitions/ui/stacks/stacks.stories.d.ts.map +1 -1
- package/dist/definitions/ui/story-components/Story.d.ts +5 -10
- package/dist/definitions/ui/story-components/Story.d.ts.map +1 -1
- package/dist/definitions/ui/story-components/StoryTitle.d.ts +2 -2
- package/dist/definitions/ui/story-components/StoryTitle.d.ts.map +1 -1
- package/dist/definitions/windowSize/SwitchBreakpoints.d.ts +1 -1
- package/dist/index-browser.es.js +974 -277
- package/dist/index-browser.es.js.map +1 -1
- package/dist/index-node22.cjs +973 -277
- package/dist/index-node22.cjs.map +1 -1
- package/dist/index-node22.mjs +963 -272
- package/dist/index-node22.mjs.map +1 -1
- package/dist/index-react-native.cjs.js +973 -277
- package/dist/index-react-native.cjs.js.map +1 -1
- package/dist/index-react-native.es.js +963 -272
- package/dist/index-react-native.es.js.map +1 -1
- package/package.json +16 -14
- package/skills/alouette-actions/SKILL.md +151 -0
- package/skills/alouette-animation/SKILL.md +214 -0
- package/skills/alouette-external-links/SKILL.md +108 -0
- package/skills/alouette-feedback/SKILL.md +133 -0
- package/skills/alouette-forms/SKILL.md +140 -0
- package/skills/alouette-icons/SKILL.md +121 -0
- package/skills/alouette-layout/SKILL.md +188 -0
- package/skills/alouette-layout/references/spacing-radius-shadow.md +53 -0
- package/skills/alouette-responsive/SKILL.md +155 -0
- package/skills/alouette-setup/SKILL.md +238 -0
- package/skills/alouette-theming/SKILL.md +207 -0
- package/skills/alouette-theming/references/tokens.md +74 -0
- package/skills/alouette-typography/SKILL.md +150 -0
- package/src/animationDurationsMs.ts +11 -0
- package/src/config/themes.stories.tsx +14 -19
- package/src/config/tokens.stories.tsx +3 -3
- package/src/core/AlouetteConfig.ts +3 -5
- package/src/core/AlouetteDecorator.tsx +3 -8
- package/src/core/AlouetteProvider.tsx +9 -13
- package/src/core/ThemeContext.ts +19 -0
- package/src/core/useThemeToken.ts +29 -0
- package/src/expo/ExternalLink.tsx +5 -5
- package/src/global.css +524 -503
- package/src/index.ts +16 -8
- package/src/{uniwind.d.ts → nativewind-env.d.ts} +2 -2
- package/src/themeVariables.ts +576 -0
- package/src/ui/actions/Button.stories.tsx +4 -4
- package/src/ui/actions/Button.tsx +45 -38
- package/src/ui/actions/IconButton.stories.tsx +5 -5
- package/src/ui/actions/IconButton.tsx +47 -6
- package/src/ui/containers/AccentScope.tsx +25 -0
- package/src/ui/containers/Box.stories.tsx +7 -7
- package/src/ui/containers/Box.tsx +18 -31
- package/src/ui/containers/Presence.stories.tsx +125 -0
- package/src/ui/containers/Presence.tsx +0 -0
- package/src/ui/containers/ScopedTheme.tsx +29 -0
- package/src/ui/containers/Surface.stories.tsx +4 -4
- package/src/ui/containers/Surface.tsx +30 -13
- package/src/ui/data/PressableBox.stories.tsx +5 -5
- package/src/ui/data/PressableBox.tsx +8 -8
- package/src/ui/data/PressableListItem.stories.tsx +8 -8
- package/src/ui/data/PressableListItem.tsx +6 -4
- package/src/ui/feedback/Message.stories.tsx +16 -24
- package/src/ui/feedback/Message.tsx +16 -20
- package/src/ui/inputs/InputText.stories.tsx +5 -5
- package/src/ui/inputs/InputText.tsx +16 -13
- package/src/ui/inputs/Switch.stories.tsx +45 -46
- package/src/ui/inputs/Switch.tsx +10 -18
- package/src/ui/inputs/Switch.web.tsx +29 -13
- package/src/ui/inputs/TextArea.stories.tsx +5 -5
- package/src/ui/layout/GradientBackground.stories.tsx +9 -9
- package/src/ui/layout/GradientBackground.tsx +9 -15
- package/src/ui/layout/GradientScrollView.tsx +10 -10
- package/src/ui/layout/ScreenCenterLayout.tsx +1 -1
- package/src/ui/primitives/Icon.stories.tsx +99 -0
- package/src/ui/primitives/Icon.tsx +31 -33
- package/src/ui/primitives/Icon.web.tsx +14 -0
- package/src/ui/primitives/Text.stories.tsx +61 -62
- package/src/ui/primitives/Text.test.tsx +33 -25
- package/src/ui/primitives/Text.tsx +23 -29
- package/src/ui/stacks/Separator.stories.tsx +4 -4
- package/src/ui/stacks/stacks.stories.tsx +15 -21
- package/src/ui/stacks/stacks.tsx +6 -27
- package/src/ui/story-components/Story.tsx +19 -25
- package/src/ui/story-components/StoryContainer.tsx +1 -1
- package/src/ui/story-components/StoryTitle.tsx +5 -5
- package/src/windowSize/SwitchBreakpoints.tsx +2 -2
- package/dist/definitions/core/AccentTheme.d.ts +0 -16
- package/dist/definitions/core/AccentTheme.d.ts.map +0 -1
- package/dist/definitions/core/SemanticRole.d.ts +0 -5
- package/dist/definitions/core/SemanticRole.d.ts.map +0 -1
- package/dist/definitions/ui/containers/SemanticScope.d.ts +0 -9
- package/dist/definitions/ui/containers/SemanticScope.d.ts.map +0 -1
- package/dist/definitions/ui/containers/boxVariants.d.ts +0 -77
- package/dist/definitions/ui/containers/boxVariants.d.ts.map +0 -1
- package/dist/definitions/ui/layout/GradientBackground.web.d.ts +0 -6
- package/dist/definitions/ui/layout/GradientBackground.web.d.ts.map +0 -1
- package/dist/definitions/ui/stacks/utils/absoluteFillStyle.d.ts +0 -8
- package/dist/definitions/ui/stacks/utils/absoluteFillStyle.d.ts.map +0 -1
- package/src/core/SemanticRole.tsx +0 -17
- package/src/ui/containers/SemanticScope.tsx +0 -35
- package/src/ui/containers/boxVariants.ts +0 -42
- package/src/ui/layout/GradientBackground.web.tsx +0 -27
- package/src/ui/stacks/utils/absoluteFillStyle.ts +0 -7
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Duration (in ms) of each generic motion, mirroring the `--animate-*` CSS
|
|
3
|
+
* tokens. Pass the matching value as `exitDurationMs` to {@link PresenceOne} /
|
|
4
|
+
* {@link PresenceList} so the exit timer matches the CSS animation.
|
|
5
|
+
*/
|
|
6
|
+
export declare const animationDurationsMs: {
|
|
7
|
+
readonly slide: 600;
|
|
8
|
+
readonly collapse: 800;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=animationDurationsMs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animationDurationsMs.d.ts","sourceRoot":"","sources":["../../src/animationDurationsMs.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.stories.d.ts","sourceRoot":"","sources":["../../../src/config/themes.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"themes.stories.d.ts","sourceRoot":"","sources":["../../../src/config/themes.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;AAkI5D,wBAKiB;AAEjB,eAAO,MAAM,MAAM,EAAE,QAOpB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type AlouetteModeTheme = "dark" | "light"
|
|
1
|
+
export type Accent = "brand" | "danger" | "info" | "success" | "warning";
|
|
2
|
+
export type AlouetteModeTheme = "dark" | "light";
|
|
3
|
+
export type AlouetteTheme = "dark" | "light" | `${"dark" | "light"}_${Accent}`;
|
|
3
4
|
//# sourceMappingURL=AlouetteConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlouetteConfig.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"AlouetteConfig.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,GAAG,MAAM,GAAG,OAAO,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlouetteDecorator.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"AlouetteDecorator.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvD,eAAO,MAAM,iBAAiB,EAAE,SAW/B,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
export interface AlouetteProviderProps {
|
|
3
3
|
children: ReactNode;
|
|
4
|
-
defaultTheme?: "dark" | "light";
|
|
5
4
|
}
|
|
6
|
-
export declare
|
|
7
|
-
export declare function AlouetteProvider({ children, defaultTheme, }: AlouetteProviderProps): ReactNode;
|
|
5
|
+
export declare function AlouetteProvider({ children, }: AlouetteProviderProps): ReactNode;
|
|
8
6
|
//# sourceMappingURL=AlouetteProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlouetteProvider.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AlouetteProvider.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,GACT,EAAE,qBAAqB,GAAG,SAAS,CASnC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AlouetteModeTheme, AlouetteTheme } from "./AlouetteConfig";
|
|
2
|
+
/**
|
|
3
|
+
* Tracks the currently applied theme name (e.g. "dark_brand") so JS reads
|
|
4
|
+
* (`useThemeToken`) and accent composition (`AccentScope`) know which theme
|
|
5
|
+
* is active. Set by `ScopedTheme` alongside NativeWind's variable context.
|
|
6
|
+
*
|
|
7
|
+
* Defaults to "light", matching the light defaults in the global `@theme` block.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ThemeContext: import("react").Context<AlouetteTheme>;
|
|
10
|
+
export declare function useCurrentTheme(): AlouetteTheme;
|
|
11
|
+
export declare function useCurrentMode(): AlouetteModeTheme;
|
|
12
|
+
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../src/core/ThemeContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,wCAAwC,CAAC;AAElE,wBAAgB,eAAe,IAAI,aAAa,CAE/C;AAED,wBAAgB,cAAc,IAAI,iBAAiB,CAElD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type TokenName = `--${string}`;
|
|
2
|
+
/**
|
|
3
|
+
* Reads theme token values in JS for the few props that can't take a className
|
|
4
|
+
* (gradient stops, `placeholderTextColor`, native Switch track/thumb, the Expo
|
|
5
|
+
* browser chrome, SVG icon tint). Values come from the generated `themeVariables`
|
|
6
|
+
* map keyed by the active `ThemeContext`, so they stay in sync with `global.css`.
|
|
7
|
+
*
|
|
8
|
+
* Replaces Uniwind's `useCSSVariable`. Unlike NativeWind's
|
|
9
|
+
* `useUnstableNativeVariable` this works on web and native alike and is stable.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useThemeToken(token: TokenName): string | undefined;
|
|
12
|
+
export declare function useThemeToken<const T extends readonly TokenName[]>(tokens: T): {
|
|
13
|
+
[K in keyof T]: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=useThemeToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useThemeToken.d.ts","sourceRoot":"","sources":["../../../src/core/useThemeToken.ts"],"names":[],"mappings":"AAIA,KAAK,SAAS,GAAG,KAAK,MAAM,EAAE,CAAC;AAE/B;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AACpE,wBAAgB,aAAa,CAAC,KAAK,CAAC,CAAC,SAAS,SAAS,SAAS,EAAE,EAChE,MAAM,EAAE,CAAC,GACR;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS;CAAE,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
export { AlouetteDecorator } from "./core/AlouetteDecorator";
|
|
2
|
-
export { AlouetteProvider
|
|
2
|
+
export { AlouetteProvider } from "./core/AlouetteProvider";
|
|
3
3
|
export { SafeAreaProvider } from "./core/SafeAreaProvider";
|
|
4
4
|
export { useSafeAreaInsets } from "./core/useSafeAreaInsets";
|
|
5
|
-
export {
|
|
5
|
+
export type { AlouetteModeTheme, Accent } from "./core/AlouetteConfig";
|
|
6
|
+
export { useCurrentMode, useCurrentTheme } from "./core/ThemeContext";
|
|
7
|
+
export { useThemeToken } from "./core/useThemeToken";
|
|
8
|
+
export { themeVariables } from "./themeVariables";
|
|
9
|
+
export type { ScopedThemeProps } from "./ui/containers/ScopedTheme";
|
|
10
|
+
export { ScopedTheme } from "./ui/containers/ScopedTheme";
|
|
6
11
|
export type { ViewProps } from "./ui/primitives/View";
|
|
7
12
|
export { View } from "./ui/primitives/View";
|
|
8
13
|
export type { TextProps, ParagraphProps } from "./ui/primitives/Text";
|
|
@@ -24,11 +29,14 @@ export type { StoryTitleProps } from "./ui/story-components/StoryTitle";
|
|
|
24
29
|
export { StoryTitle } from "./ui/story-components/StoryTitle";
|
|
25
30
|
export type { BoxProps, InteractiveBoxProps, SafeAreaBoxProps, } from "./ui/containers/Box";
|
|
26
31
|
export { Box, InteractiveBox, SafeAreaBox } from "./ui/containers/Box";
|
|
27
|
-
export type {
|
|
28
|
-
export {
|
|
32
|
+
export type { AccentScopeProps } from "./ui/containers/AccentScope";
|
|
33
|
+
export { AccentScope } from "./ui/containers/AccentScope";
|
|
34
|
+
export type { PresenceListProps, PresenceOneProps, } from "./ui/containers/Presence";
|
|
35
|
+
export { PresenceList, PresenceOne } from "./ui/containers/Presence";
|
|
36
|
+
export { animationDurationsMs } from "./animationDurationsMs";
|
|
29
37
|
export type { SurfaceProps } from "./ui/containers/Surface";
|
|
30
38
|
export { Surface } from "./ui/containers/Surface";
|
|
31
|
-
export type { IconProps,
|
|
39
|
+
export type { IconProps, SVGIconElement } from "./ui/primitives/Icon";
|
|
32
40
|
export { Icon } from "./ui/primitives/Icon";
|
|
33
41
|
export type { PressableBoxProps } from "./ui/data/PressableBox";
|
|
34
42
|
export { PressableBox } from "./ui/data/PressableBox";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,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,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AlouetteTheme } from "./core/AlouetteConfig";
|
|
2
|
+
/**
|
|
3
|
+
* Resolved CSS-variable maps for every theme, shared with global.css. Feeds
|
|
4
|
+
* `ScopedTheme` (NativeWind's `VariableContextProvider`) and `useThemeToken`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const themeVariables: Record<AlouetteTheme, Record<`--${string}`, string>>;
|
|
7
|
+
//# sourceMappingURL=themeVariables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeVariables.d.ts","sourceRoot":"","sources":["../../src/themeVariables.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CACjC,aAAa,EACb,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,MAAM,CAAC,CAsjB9B,CAAC"}
|
|
@@ -1,35 +1,101 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import { type VariantProps } from "tailwind-variants";
|
|
3
|
-
import type {
|
|
3
|
+
import type { Accent } from "../../core/AlouetteConfig";
|
|
4
4
|
import { type PressableBoxProps } from "../data/PressableBox";
|
|
5
5
|
import { type SVGIconElement } from "../primitives/Icon";
|
|
6
6
|
export declare const buttonHeight: {
|
|
7
7
|
readonly sm: 38;
|
|
8
8
|
readonly md: 44;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
10
|
+
declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
11
11
|
size: {
|
|
12
|
-
sm:
|
|
13
|
-
|
|
12
|
+
sm: {
|
|
13
|
+
frame: string;
|
|
14
|
+
text: string;
|
|
15
|
+
};
|
|
16
|
+
md: {
|
|
17
|
+
frame: string;
|
|
18
|
+
text: string;
|
|
19
|
+
};
|
|
14
20
|
};
|
|
15
|
-
|
|
21
|
+
variant: {
|
|
22
|
+
contained: {
|
|
23
|
+
text: string;
|
|
24
|
+
};
|
|
25
|
+
outlined: {
|
|
26
|
+
text: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
true: {};
|
|
31
|
+
false: {};
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
frame: string;
|
|
35
|
+
text: string;
|
|
36
|
+
icon: string;
|
|
37
|
+
}, undefined, {
|
|
16
38
|
size: {
|
|
17
|
-
sm:
|
|
18
|
-
|
|
39
|
+
sm: {
|
|
40
|
+
frame: string;
|
|
41
|
+
text: string;
|
|
42
|
+
};
|
|
43
|
+
md: {
|
|
44
|
+
frame: string;
|
|
45
|
+
text: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
variant: {
|
|
49
|
+
contained: {
|
|
50
|
+
text: string;
|
|
51
|
+
};
|
|
52
|
+
outlined: {
|
|
53
|
+
text: string;
|
|
54
|
+
};
|
|
19
55
|
};
|
|
20
|
-
|
|
56
|
+
disabled: {
|
|
57
|
+
true: {};
|
|
58
|
+
false: {};
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
frame: string;
|
|
62
|
+
text: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
21
65
|
size: {
|
|
22
|
-
sm:
|
|
23
|
-
|
|
66
|
+
sm: {
|
|
67
|
+
frame: string;
|
|
68
|
+
text: string;
|
|
69
|
+
};
|
|
70
|
+
md: {
|
|
71
|
+
frame: string;
|
|
72
|
+
text: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
variant: {
|
|
76
|
+
contained: {
|
|
77
|
+
text: string;
|
|
78
|
+
};
|
|
79
|
+
outlined: {
|
|
80
|
+
text: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
true: {};
|
|
85
|
+
false: {};
|
|
24
86
|
};
|
|
25
|
-
},
|
|
26
|
-
|
|
87
|
+
}, {
|
|
88
|
+
frame: string;
|
|
89
|
+
text: string;
|
|
90
|
+
icon: string;
|
|
91
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
92
|
+
type ButtonSizeProps = Pick<VariantProps<typeof buttonVariants>, "size">;
|
|
27
93
|
export interface ButtonProps extends Omit<PressableBoxProps, "children">, ButtonSizeProps {
|
|
28
94
|
icon?: SVGIconElement;
|
|
29
|
-
|
|
95
|
+
accent?: Accent;
|
|
30
96
|
text: ReactNode;
|
|
31
97
|
}
|
|
32
|
-
export declare function Button({ icon, text, disabled,
|
|
98
|
+
export declare function Button({ icon, text, disabled, accent, variant, size, className, ...pressableProps }: ButtonProps): ReactNode;
|
|
33
99
|
export interface ExternalLinkButtonProps extends ButtonProps {
|
|
34
100
|
href: string;
|
|
35
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/ui/actions/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/ui/actions/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG/D,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA6CnB,CAAC;AAEF,KAAK,eAAe,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,EAAE,eAAe;IAC5D,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,MAAgB,EAChB,OAAqB,EACrB,IAAW,EACX,SAAS,EACT,GAAG,cAAc,EAClB,EAAE,WAAW,GAAG,SAAS,CAsBzB;AAED,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,OAAO,EACP,GAAG,WAAW,EACf,EAAE,uBAAuB,GAAG,SAAS,CAiBrC;AAED,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EAAE,KAAK,EACX,GAAG,WAAW,EACf,EAAE,uBAAuB,GAAG,SAAS,CAErC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/ui/actions/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/ui/actions/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AA8C/D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC;IAC1E,IAAI,EAAE,cAAc,CAAC;IACrB,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAQ,EACR,IAAW,EACX,QAAQ,EACR,OAAqB,EACrB,SAAS,EACT,GAAG,cAAc,EAClB,EAAE,eAAe,GAAG,SAAS,CAmB7B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { Accent } from "../../core/AlouetteConfig";
|
|
3
|
+
export interface AccentScopeProps {
|
|
4
|
+
mode?: "dark" | "light";
|
|
5
|
+
accent?: Accent;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function AccentScope({ mode: forcedMode, accent, children, }: AccentScopeProps): ReactNode;
|
|
9
|
+
//# sourceMappingURL=AccentScope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccentScope.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/AccentScope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAIxD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EAAE,UAAU,EAChB,MAAM,EACN,QAAQ,GACT,EAAE,gBAAgB,GAAG,SAAS,CAS9B"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type PressableProps, View as RNView, type ViewProps as RNViewProps } from "react-native";
|
|
2
2
|
import type { VariantProps } from "tailwind-variants";
|
|
3
|
-
import {
|
|
4
|
-
export
|
|
3
|
+
import type { Accent } from "../../core/AlouetteConfig";
|
|
4
|
+
export declare const boxBaseClasses = "shrink";
|
|
5
|
+
export interface BoxProps extends RNViewProps {
|
|
6
|
+
accent?: Accent;
|
|
5
7
|
}
|
|
6
8
|
export declare const Box: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<RNView>>;
|
|
7
9
|
export declare const interactiveBoxVariants: import("tailwind-variants").TVReturnType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,IAAI,IAAI,MAAM,EACd,KAAK,SAAS,IAAI,WAAW,EAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,IAAI,IAAI,MAAM,EACd,KAAK,SAAS,IAAI,WAAW,EAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAMxD,eAAO,MAAM,cAAc,WAAW,CAAC;AAEvC,MAAM,WAAW,QAAS,SAAQ,WAAW;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,GAAG,6FAYf,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;mDAajC,CAAC;AAEH,MAAM,WAAW,mBACf,SAAQ,YAAY,CAAC,OAAO,sBAAsB,CAAC,EAAE,cAAc;CAAG;AAExE,eAAO,MAAM,cAAc,wGAU1B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAEvD,eAAO,MAAM,WAAW,qGAgBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;CAMe,CAAC;AAE1B,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,OAAO,CAU1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;CAMe,CAAC;AAE1B,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,OAAO,CAU1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,OAAO,CAwD3C,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type Key, type ReactElement, type ReactNode } from "react";
|
|
2
|
+
export interface PresenceBaseProps {
|
|
3
|
+
/**
|
|
4
|
+
* Identity of the current child. When it changes, the previous child is kept
|
|
5
|
+
* mounted (with `exitClassName`) for `exitDurationMs` so it can animate out
|
|
6
|
+
* while the new child animates in — an AnimatePresence-style swap done with
|
|
7
|
+
* pure CSS animations, no animation library.
|
|
8
|
+
*/
|
|
9
|
+
activeKey: Key;
|
|
10
|
+
/** How long to keep the exiting child mounted — match the exit animation. */
|
|
11
|
+
exitDurationMs: number;
|
|
12
|
+
/** Animation class applied to the entering (current) child. */
|
|
13
|
+
enterClassName?: string;
|
|
14
|
+
/** Animation class applied to the exiting (previous) child. */
|
|
15
|
+
exitClassName?: string;
|
|
16
|
+
/** Class applied to every item (e.g. `absolute inset-0` to overlap). */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface PresenceListProps {
|
|
20
|
+
/** How long to keep a removed child mounted — match the exit animation. */
|
|
21
|
+
exitDurationMs: number;
|
|
22
|
+
/** Animation class applied to entering children. */
|
|
23
|
+
enterClassName?: string;
|
|
24
|
+
/** Animation class applied to exiting children. */
|
|
25
|
+
exitClassName?: string;
|
|
26
|
+
/** Class applied to every item's wrapper `<View>`. */
|
|
27
|
+
className?: string;
|
|
28
|
+
/**
|
|
29
|
+
* A list of keyed elements — each child must have a stable `key`. Adding a key
|
|
30
|
+
* animates that item in while the others stay put; removing a key animates only
|
|
31
|
+
* that item out.
|
|
32
|
+
*/
|
|
33
|
+
children: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Keyed-list presence (AnimatePresence-style). Renders a list of keyed children,
|
|
37
|
+
* each wrapped in its own `<View>`, and animates individual add/remove: added
|
|
38
|
+
* keys mount with `enterClassName`, removed keys stay mounted with `exitClassName`
|
|
39
|
+
* for `exitDurationMs` before unmounting. For swapping a single child, use
|
|
40
|
+
* {@link PresenceOne}.
|
|
41
|
+
*/
|
|
42
|
+
export declare function PresenceList({ exitDurationMs, enterClassName, exitClassName, className, children, }: PresenceListProps): ReactNode;
|
|
43
|
+
type StyledElement = ReactElement<{
|
|
44
|
+
className?: string;
|
|
45
|
+
}>;
|
|
46
|
+
export interface PresenceOneProps extends PresenceBaseProps {
|
|
47
|
+
/**
|
|
48
|
+
* A single element that accepts and forwards `className` to its root view.
|
|
49
|
+
* The `className` + enter/exit animation classes are merged onto it directly,
|
|
50
|
+
* so no extra wrapper `<View>` is added to the tree.
|
|
51
|
+
*/
|
|
52
|
+
children: StyledElement;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Keyed-swap presence that merges the animation classes onto the child element
|
|
56
|
+
* itself via `cloneElement` — no wrapper `<View>`. Requires a single element
|
|
57
|
+
* that forwards `className`; for anything else use {@link PresenceList}.
|
|
58
|
+
*/
|
|
59
|
+
export declare function PresenceOne({ activeKey, exitDurationMs, enterClassName, exitClassName, className, children, }: PresenceOneProps): ReactNode;
|
|
60
|
+
export {};
|
|
61
|
+
//# sourceMappingURL=Presence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Presence.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Presence.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,GAAG,EACR,KAAK,YAAY,EACjB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,SAAS,EAAE,GAAG,CAAC;IACf,6EAA6E;IAC7E,cAAc,EAAE,MAAM,CAAC;IACvB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA4KD,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,cAAc,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,cAAc,EACd,cAAc,EACd,aAAa,EACb,SAAS,EACT,QAAQ,GACT,EAAE,iBAAiB,GAAG,SAAS,CAkB/B;AAED,KAAK,aAAa,GAAG,YAAY,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE1D,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD;;;;OAIG;IACH,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,cAAc,EACd,cAAc,EACd,aAAa,EACb,SAAS,EACT,QAAQ,GACT,EAAE,gBAAgB,GAAG,SAAS,CA0B9B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
componentSubtitle: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
export declare const PreviewStory: StoryObj<unknown>;
|
|
10
|
+
export declare const VariantsStory: StoryObj<unknown>;
|
|
11
|
+
//# sourceMappingURL=Presence.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Presence.stories.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Presence.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA8F5D,QAAA,MAAM,IAAI;;;;;CAMe,CAAC;AAE1B,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,OAAO,CAM1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,OAAO,CAY3C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { AlouetteTheme } from "../../core/AlouetteConfig";
|
|
3
|
+
export interface ScopedThemeProps {
|
|
4
|
+
/** Full theme name, e.g. "light", "dark", "light_brand", "dark_danger". */
|
|
5
|
+
theme: AlouetteTheme;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Applies a theme to its subtree by pushing the theme's resolved CSS variables
|
|
10
|
+
* through NativeWind's `VariableContextProvider` (layout-neutral on both web —
|
|
11
|
+
* `display: contents` — and native — context only). It also records the active
|
|
12
|
+
* theme name in `ThemeContext` so `useThemeToken` and `AccentScope` can read it.
|
|
13
|
+
*
|
|
14
|
+
* Replaces Uniwind's `ScopedTheme`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function ScopedTheme({ theme, children }: ScopedThemeProps): ReactNode;
|
|
17
|
+
//# sourceMappingURL=ScopedTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopedTheme.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/ScopedTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI/D,MAAM,WAAW,gBAAgB;IAC/B,2EAA2E;IAC3E,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,gBAAgB,GAAG,SAAS,CAQ5E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { View as RNView } from "react-native";
|
|
2
2
|
import { type VariantProps } from "tailwind-variants";
|
|
3
|
-
import type {
|
|
3
|
+
import type { Accent } from "../../core/AlouetteConfig";
|
|
4
4
|
import { type BoxProps } from "./Box";
|
|
5
5
|
declare const surfaceVariants: import("tailwind-variants").TVReturnType<{
|
|
6
6
|
size: {
|
|
@@ -8,23 +8,64 @@ declare const surfaceVariants: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
md: string;
|
|
9
9
|
lg: string;
|
|
10
10
|
};
|
|
11
|
+
variant: {
|
|
12
|
+
surface: string;
|
|
13
|
+
highlight: string;
|
|
14
|
+
"highlight-accent": string;
|
|
15
|
+
lowered: string;
|
|
16
|
+
translucent: string;
|
|
17
|
+
};
|
|
18
|
+
shadow: {
|
|
19
|
+
none: string;
|
|
20
|
+
s: string;
|
|
21
|
+
m: string;
|
|
22
|
+
l: string;
|
|
23
|
+
lowered: string;
|
|
24
|
+
};
|
|
11
25
|
}, undefined, "overflow-hidden", {
|
|
12
26
|
size: {
|
|
13
27
|
sm: string;
|
|
14
28
|
md: string;
|
|
15
29
|
lg: string;
|
|
16
30
|
};
|
|
31
|
+
variant: {
|
|
32
|
+
surface: string;
|
|
33
|
+
highlight: string;
|
|
34
|
+
"highlight-accent": string;
|
|
35
|
+
lowered: string;
|
|
36
|
+
translucent: string;
|
|
37
|
+
};
|
|
38
|
+
shadow: {
|
|
39
|
+
none: string;
|
|
40
|
+
s: string;
|
|
41
|
+
m: string;
|
|
42
|
+
l: string;
|
|
43
|
+
lowered: string;
|
|
44
|
+
};
|
|
17
45
|
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
18
46
|
size: {
|
|
19
47
|
sm: string;
|
|
20
48
|
md: string;
|
|
21
49
|
lg: string;
|
|
22
50
|
};
|
|
51
|
+
variant: {
|
|
52
|
+
surface: string;
|
|
53
|
+
highlight: string;
|
|
54
|
+
"highlight-accent": string;
|
|
55
|
+
lowered: string;
|
|
56
|
+
translucent: string;
|
|
57
|
+
};
|
|
58
|
+
shadow: {
|
|
59
|
+
none: string;
|
|
60
|
+
s: string;
|
|
61
|
+
m: string;
|
|
62
|
+
l: string;
|
|
63
|
+
lowered: string;
|
|
64
|
+
};
|
|
23
65
|
}, undefined, "overflow-hidden", unknown, unknown, undefined>>;
|
|
24
66
|
type SurfaceVariantProps = VariantProps<typeof surfaceVariants>;
|
|
25
|
-
export interface SurfaceProps extends
|
|
26
|
-
|
|
27
|
-
semanticRole?: SemanticRole;
|
|
67
|
+
export interface SurfaceProps extends BoxProps, SurfaceVariantProps {
|
|
68
|
+
accent?: Accent;
|
|
28
69
|
}
|
|
29
70
|
export declare const Surface: import("react").ForwardRefExoticComponent<SurfaceProps & import("react").RefAttributes<RNView>>;
|
|
30
71
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Surface.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/ui/containers/Surface.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DA+BpB,CAAC;AAEF,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AAEhE,MAAM,WAAW,YAAa,SAAQ,QAAQ,EAAE,mBAAmB;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,OAAO,iGAmBnB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PressableProps as RNPressableProps, View as RNView } from "react-native";
|
|
2
2
|
import { type VariantProps } from "tailwind-variants";
|
|
3
|
-
import type {
|
|
3
|
+
import type { Accent } from "../../core/AlouetteConfig";
|
|
4
4
|
declare const pressableBoxVariants: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
variant: {
|
|
6
6
|
contained: string;
|
|
@@ -14,7 +14,7 @@ declare const pressableBoxVariants: import("tailwind-variants").TVReturnType<{
|
|
|
14
14
|
focus: string;
|
|
15
15
|
press: string;
|
|
16
16
|
};
|
|
17
|
-
}, undefined,
|
|
17
|
+
}, undefined, "overflow-hidden", {
|
|
18
18
|
withFocusVisibleOutline: {
|
|
19
19
|
true: string;
|
|
20
20
|
};
|
|
@@ -33,7 +33,7 @@ declare const pressableBoxVariants: import("tailwind-variants").TVReturnType<{
|
|
|
33
33
|
}, undefined, string, unknown, unknown, undefined>>>;
|
|
34
34
|
type PressableBoxVariantProps = VariantProps<typeof pressableBoxVariants>;
|
|
35
35
|
export interface PressableBoxProps extends RNPressableProps, PressableBoxVariantProps {
|
|
36
|
-
|
|
36
|
+
accent?: Accent;
|
|
37
37
|
className?: string;
|
|
38
38
|
forceStyle?: "focus" | "hover" | "press";
|
|
39
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableBox.d.ts","sourceRoot":"","sources":["../../../../src/ui/data/PressableBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,IAAI,gBAAgB,EAClC,IAAI,IAAI,MAAM,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PressableBox.d.ts","sourceRoot":"","sources":["../../../../src/ui/data/PressableBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,IAAI,gBAAgB,EAClC,IAAI,IAAI,MAAM,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAIxD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDA2FzB,CAAC;AAEF,KAAK,wBAAwB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,MAAM,WAAW,iBACf,SAAQ,gBAAgB,EAAE,wBAAwB;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;CAC1C;AAGD,eAAO,MAAM,YAAY,sGAsBxB,CAAC"}
|
|
@@ -2,10 +2,10 @@ import type { ReactNode } from "react";
|
|
|
2
2
|
import { type PressableBoxProps } from "./PressableBox";
|
|
3
3
|
export interface PressableListItemProps {
|
|
4
4
|
variant?: PressableBoxProps["variant"];
|
|
5
|
-
|
|
5
|
+
accent?: PressableBoxProps["accent"];
|
|
6
6
|
role?: PressableBoxProps["role"];
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
onPress: () => void;
|
|
9
9
|
}
|
|
10
|
-
export declare function PressableListItem({ variant, role,
|
|
10
|
+
export declare function PressableListItem({ variant, role, accent, children, onPress, }: PressableListItemProps): ReactNode;
|
|
11
11
|
//# sourceMappingURL=PressableListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableListItem.d.ts","sourceRoot":"","sources":["../../../../src/ui/data/PressableListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEtE,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACvC,
|
|
1
|
+
{"version":3,"file":"PressableListItem.d.ts","sourceRoot":"","sources":["../../../../src/ui/data/PressableListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEtE,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAqB,EACrB,IAAe,EACf,MAAM,EACN,QAAQ,EACR,OAAO,GACR,EAAE,sBAAsB,GAAG,SAAS,CAqBpC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import { type VariantProps } from "tailwind-variants";
|
|
3
3
|
import type { Except } from "type-fest";
|
|
4
|
-
import type {
|
|
4
|
+
import type { Accent } from "../../core/AlouetteConfig";
|
|
5
5
|
import { type SVGIconElement } from "../primitives/Icon";
|
|
6
6
|
declare const messageFrameVariants: import("tailwind-variants").TVReturnType<{
|
|
7
7
|
size: {
|
|
@@ -25,7 +25,7 @@ declare const messageFrameVariants: import("tailwind-variants").TVReturnType<{
|
|
|
25
25
|
type MessageVariantProps = VariantProps<typeof messageFrameVariants>;
|
|
26
26
|
type MessageSize = NonNullable<MessageVariantProps["size"]>;
|
|
27
27
|
interface MessageBaseProps {
|
|
28
|
-
|
|
28
|
+
accent: Accent;
|
|
29
29
|
size?: MessageSize;
|
|
30
30
|
icon: SVGIconElement;
|
|
31
31
|
children?: ReactNode;
|
|
@@ -39,10 +39,10 @@ interface MessagePropsWithoutDismiss extends MessageBaseProps {
|
|
|
39
39
|
dismissIconAriaLabel?: undefined;
|
|
40
40
|
}
|
|
41
41
|
export type MessageProps = MessagePropsWithDismiss | MessagePropsWithoutDismiss;
|
|
42
|
-
export declare function Message({ icon, size,
|
|
43
|
-
type
|
|
44
|
-
export declare function InfoMessage(props:
|
|
45
|
-
export declare function ConfirmationMessage(props:
|
|
46
|
-
export declare function WarningMessage(props:
|
|
42
|
+
export declare function Message({ icon, size, accent, children, onDismiss, dismissIconAriaLabel, }: MessageProps): ReactNode;
|
|
43
|
+
type AccentMessageProps = Except<MessageProps, "accent" | "icon">;
|
|
44
|
+
export declare function InfoMessage(props: AccentMessageProps): ReactNode;
|
|
45
|
+
export declare function ConfirmationMessage(props: AccentMessageProps): ReactNode;
|
|
46
|
+
export declare function WarningMessage(props: AccentMessageProps): ReactNode;
|
|
47
47
|
export {};
|
|
48
48
|
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/ui/feedback/Message.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/ui/feedback/Message.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAIxD,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,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