@indra-inter/neobrutalism-components 0.1.3 → 0.2.0
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 +144 -128
- package/dist/module/components/accordion/accordion.js +2 -13
- package/dist/module/components/accordion/accordion.js.map +1 -1
- package/dist/module/components/app-bar/app-bar.js +3 -5
- package/dist/module/components/app-bar/app-bar.js.map +1 -1
- package/dist/module/components/avatar/avatar.js +10 -11
- package/dist/module/components/avatar/avatar.js.map +1 -1
- package/dist/module/components/badge/badge.js +4 -5
- package/dist/module/components/badge/badge.js.map +1 -1
- package/dist/module/components/bottom-navigation/bottom-navigation.js +2 -15
- package/dist/module/components/bottom-navigation/bottom-navigation.js.map +1 -1
- package/dist/module/components/bottom-sheet/bottom-sheet.js +10 -4
- package/dist/module/components/bottom-sheet/bottom-sheet.js.map +1 -1
- package/dist/module/components/button/button.js +6 -16
- package/dist/module/components/button/button.js.map +1 -1
- package/dist/module/components/calendar/calendar.js.map +1 -1
- package/dist/module/components/card/card.js +3 -19
- package/dist/module/components/card/card.js.map +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js +1 -1
- package/dist/module/components/chat-list-item/chat-list-item.js.map +1 -1
- package/dist/module/components/dialog/dialog.js +1 -1
- package/dist/module/components/dialog/dialog.js.map +1 -1
- package/dist/module/components/dropdown/dropdown-menu.js +4 -17
- package/dist/module/components/dropdown/dropdown-menu.js.map +1 -1
- package/dist/module/components/dropdown/dropdown.js +1 -1
- package/dist/module/components/dropdown/dropdown.js.map +1 -1
- package/dist/module/components/icon-button/icon-button.js +3 -3
- package/dist/module/components/icon-button/icon-button.js.map +1 -1
- package/dist/module/components/pin-code-field/pin-code-field.js +3 -2
- package/dist/module/components/pin-code-field/pin-code-field.js.map +1 -1
- package/dist/module/components/shared/styling.js +12 -0
- package/dist/module/components/shared/styling.js.map +1 -1
- package/dist/module/components/skeleton/skeleton.js +3 -3
- package/dist/module/components/skeleton/skeleton.js.map +1 -1
- package/dist/module/components/tabs/tabs.js.map +1 -1
- package/dist/module/index.js +2 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/theme/design-tokens.generated.js +91 -3
- package/dist/module/theme/design-tokens.generated.js.map +1 -1
- package/dist/module/theme/nativewind-theme-provider.js +27 -0
- package/dist/module/theme/nativewind-theme-provider.js.map +1 -0
- package/dist/module/theme/nativewind-tokens.generated.js +299 -0
- package/dist/module/theme/nativewind-tokens.generated.js.map +1 -0
- package/dist/module/theme/theme-provider.js +3 -2
- package/dist/module/theme/theme-provider.js.map +1 -1
- package/dist/module/theme/theme.js +45 -22
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/typescript/components/accordion/accordion.d.ts +2 -3
- package/dist/typescript/components/accordion/accordion.d.ts.map +1 -1
- package/dist/typescript/components/app-bar/app-bar.d.ts +0 -2
- package/dist/typescript/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/typescript/components/avatar/avatar.d.ts +4 -7
- package/dist/typescript/components/avatar/avatar.d.ts.map +1 -1
- package/dist/typescript/components/badge/badge.d.ts +5 -8
- package/dist/typescript/components/badge/badge.d.ts.map +1 -1
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts +3 -5
- package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts.map +1 -1
- package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts +4 -1
- package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts.map +1 -1
- package/dist/typescript/components/button/button.d.ts +2 -3
- package/dist/typescript/components/button/button.d.ts.map +1 -1
- package/dist/typescript/components/calendar/calendar.d.ts +3 -4
- package/dist/typescript/components/calendar/calendar.d.ts.map +1 -1
- package/dist/typescript/components/card/card.d.ts +3 -7
- package/dist/typescript/components/card/card.d.ts.map +1 -1
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts +3 -7
- package/dist/typescript/components/dropdown/dropdown-menu.d.ts.map +1 -1
- package/dist/typescript/components/icon-button/icon-button.d.ts +4 -5
- package/dist/typescript/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/typescript/components/pin-code-field/pin-code-field.d.ts +3 -2
- package/dist/typescript/components/pin-code-field/pin-code-field.d.ts.map +1 -1
- package/dist/typescript/components/shared/styling.d.ts +2 -0
- package/dist/typescript/components/shared/styling.d.ts.map +1 -1
- package/dist/typescript/components/skeleton/skeleton.d.ts +4 -5
- package/dist/typescript/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/typescript/components/tabs/tabs.d.ts +2 -4
- package/dist/typescript/components/tabs/tabs.d.ts.map +1 -1
- package/dist/typescript/index.d.ts +11 -10
- package/dist/typescript/index.d.ts.map +1 -1
- package/dist/typescript/theme/design-tokens.generated.d.ts +91 -3
- package/dist/typescript/theme/design-tokens.generated.d.ts.map +1 -1
- package/dist/typescript/theme/nativewind-theme-provider.d.ts +8 -0
- package/dist/typescript/theme/nativewind-theme-provider.d.ts.map +1 -0
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts +295 -0
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts.map +1 -0
- package/dist/typescript/theme/theme-provider.d.ts +3 -2
- package/dist/typescript/theme/theme-provider.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +19 -16
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/nativewind.css +66 -22
- package/package.json +6 -3
- package/tokens.css +2 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
-
import type
|
|
4
|
-
import { type Rounded } from '../shared/styling.js';
|
|
3
|
+
import { type Rounded, type ShadowVariant } from '../shared/styling.js';
|
|
5
4
|
export type BottomNavigationItem = {
|
|
6
5
|
accessibilityLabel?: string;
|
|
7
6
|
activeIcon?: ReactNode;
|
|
@@ -24,10 +23,9 @@ export type BottomNavigationProps = {
|
|
|
24
23
|
rounded?: Rounded;
|
|
25
24
|
safeArea?: boolean;
|
|
26
25
|
shadow?: boolean;
|
|
27
|
-
|
|
28
|
-
shadowVariant?: CardShadowVariant;
|
|
26
|
+
shadowVariant?: ShadowVariant;
|
|
29
27
|
style?: StyleProp<ViewStyle>;
|
|
30
28
|
value: string;
|
|
31
29
|
};
|
|
32
|
-
export declare function BottomNavigation({ accessibilityLabel, containerStyle, contentStyle, indicatorRadius, items, onValueChange, radius, rounded, safeArea, shadow,
|
|
30
|
+
export declare function BottomNavigation({ accessibilityLabel, containerStyle, contentStyle, indicatorRadius, items, onValueChange, radius, rounded, safeArea, shadow, shadowVariant, style, value, }: BottomNavigationProps): import("react").JSX.Element;
|
|
33
31
|
//# sourceMappingURL=bottom-navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-navigation.d.ts","sourceRoot":"","sources":["../../../../src/components/bottom-navigation/bottom-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"bottom-navigation.d.ts","sourceRoot":"","sources":["../../../../src/components/bottom-navigation/bottom-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAMtB,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,aAAa,EACnB,MAAM,sBAAmB,CAAC;AAE3B,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACvC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,kBAAwC,EACxC,cAAc,EACd,YAAY,EACZ,eAAmB,EACnB,KAAK,EACL,aAAa,EACb,MAAM,EACN,OAAmB,EACnB,QAAe,EACf,MAAa,EACb,aAAyB,EACzB,KAAK,EACL,KAAK,GACN,EAAE,qBAAqB,+BAmFvB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type Rounded, type ShadowVariant } from '../shared/styling.js';
|
|
3
4
|
type ViewSlotProps = PropsWithChildren<ViewProps & {
|
|
4
5
|
className?: string;
|
|
5
6
|
style?: StyleProp<ViewStyle>;
|
|
@@ -26,14 +27,16 @@ export type BottomSheetProps = PropsWithChildren<{
|
|
|
26
27
|
onOpenChange: (open: boolean) => void;
|
|
27
28
|
open: boolean;
|
|
28
29
|
radius?: number;
|
|
30
|
+
rounded?: Rounded;
|
|
29
31
|
/** Shows the platform surface shadow. Defaults to true. */
|
|
30
32
|
shadow?: boolean;
|
|
33
|
+
shadowVariant?: ShadowVariant;
|
|
31
34
|
}>;
|
|
32
35
|
export type BottomSheetHeaderProps = {
|
|
33
36
|
title: string;
|
|
34
37
|
titleNumberOfLines?: number;
|
|
35
38
|
};
|
|
36
|
-
export declare function BottomSheet({ animation, animationDuration, bottomPadding, children, contentStyle, dragToDismiss, keyboardVerticalOffset, onCloseComplete, onOpenChange, open, radius, shadow, }: BottomSheetProps): import("react").JSX.Element;
|
|
39
|
+
export declare function BottomSheet({ animation, animationDuration, bottomPadding, children, contentStyle, dragToDismiss, keyboardVerticalOffset, onCloseComplete, onOpenChange, open, radius, rounded, shadow, shadowVariant, }: BottomSheetProps): import("react").JSX.Element;
|
|
37
40
|
export declare function BottomSheetHeader({ title, titleNumberOfLines, }: BottomSheetHeaderProps): import("react").JSX.Element;
|
|
38
41
|
export declare function BottomSheetBody({ children, style, ...props }: ViewSlotProps): import("react").JSX.Element;
|
|
39
42
|
export declare function BottomSheetFooter({ children, style, ...props }: ViewSlotProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-sheet.d.ts","sourceRoot":"","sources":["../../../../src/components/bottom-sheet/bottom-sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AACf,OAAO,EASL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"bottom-sheet.d.ts","sourceRoot":"","sources":["../../../../src/components/bottom-sheet/bottom-sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,iBAAiB,EACvB,MAAM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EF,wBAAgB,WAAW,CAAC,EAC1B,SAAmB,EACnB,iBAAuB,EACvB,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,aAAqB,EACrB,sBAA0B,EAC1B,eAAe,EACf,YAAY,EACZ,IAAI,EACJ,MAAM,EACN,OAAmB,EACnB,MAAa,EACb,aAAyB,GAC1B,EAAE,gBAAgB,+BAoLlB;AAID,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,kBAAsB,GACvB,EAAE,sBAAsB,+BAcxB;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAQ3E;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,+BAQf"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type PressableProps, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type Rounded } from '../shared/styling.js';
|
|
4
|
-
export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'outline' | 'destructive' | 'warning' | 'success' | 'info'
|
|
4
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'outline' | 'destructive' | 'warning' | 'success' | 'info';
|
|
5
5
|
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
6
|
-
export type ButtonRounded = Rounded;
|
|
7
6
|
export interface ButtonProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
8
7
|
className?: string;
|
|
9
8
|
containerClassName?: string;
|
|
@@ -12,7 +11,7 @@ export interface ButtonProps extends Omit<PressableProps, 'children' | 'style'>
|
|
|
12
11
|
labelStyle?: StyleProp<TextStyle>;
|
|
13
12
|
leadingIcon?: ReactNode;
|
|
14
13
|
radius?: number;
|
|
15
|
-
rounded?:
|
|
14
|
+
rounded?: Rounded;
|
|
16
15
|
shadow?: boolean;
|
|
17
16
|
size?: ButtonSize;
|
|
18
17
|
style?: StyleProp<ViewStyle>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAwB,KAAK,OAAO,EAAE,MAAM,sBAAmB,CAAC;AAKvE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,WAAW,GACX,OAAO,GACP,SAAS,GACT,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAwB,KAAK,OAAO,EAAE,MAAM,sBAAmB,CAAC;AAKvE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,WAAW,GACX,OAAO,GACP,SAAS,GACT,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,wBAAgB,MAAM,CAAC,EACrB,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,SAAS,EACT,UAAU,EACV,MAAM,EACN,OAAmB,EACnB,MAAM,EACN,IAAW,EACX,KAAK,EACL,YAAY,EACZ,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,WAAW,+BA+Fb"}
|
|
@@ -5,7 +5,6 @@ export type CalendarRangeValue = {
|
|
|
5
5
|
startDate: string;
|
|
6
6
|
endDate?: string;
|
|
7
7
|
};
|
|
8
|
-
export type CalendarRadius = Radius;
|
|
9
8
|
type CalendarSharedProps = {
|
|
10
9
|
accessibilityLabel?: string;
|
|
11
10
|
className?: string;
|
|
@@ -18,10 +17,10 @@ type CalendarSharedProps = {
|
|
|
18
17
|
maxDate?: string;
|
|
19
18
|
minDate?: string;
|
|
20
19
|
onVisibleMonthChange?: (month: string) => void;
|
|
21
|
-
radius?:
|
|
20
|
+
radius?: Radius;
|
|
22
21
|
rounded?: Rounded;
|
|
23
|
-
navigationButtonRadius?:
|
|
24
|
-
selectedRadius?:
|
|
22
|
+
navigationButtonRadius?: Radius;
|
|
23
|
+
selectedRadius?: Radius;
|
|
25
24
|
style?: StyleProp<ViewStyle>;
|
|
26
25
|
};
|
|
27
26
|
export type CalendarProps = (CalendarSharedProps & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,OAAO,EAAsB,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAmB,CAAC;AAElF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,OAAO,EAAsB,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAmB,CAAC;AAElF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAGF,KAAK,mBAAmB,GAAG;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,aAAa,GACrB,CAAC,mBAAmB,GAAG;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CACrD,CAAC,GACF,CAAC,mBAAmB,GAAG;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,KAAK,IAAI,CAAC;CACjE,CAAC,CAAC;AA0BP,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,+BAmM5C"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import type { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { type StyleProp, type TextStyle, type ViewProps, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type Radius, type Rounded, type ShadowVariant } from '../shared/styling.js';
|
|
4
|
-
export type CardShadowVariant = ShadowVariant;
|
|
5
|
-
export type CardRadius = Radius;
|
|
6
4
|
export interface CardProps extends Omit<ViewProps, 'children' | 'style'> {
|
|
7
|
-
backgroundColor?: string;
|
|
8
5
|
children?: ReactNode;
|
|
9
6
|
className?: string;
|
|
10
7
|
containerClassName?: string;
|
|
11
8
|
contentStyle?: StyleProp<ViewStyle>;
|
|
12
9
|
contentClassName?: string;
|
|
13
10
|
containerStyle?: StyleProp<ViewStyle>;
|
|
14
|
-
radius?:
|
|
11
|
+
radius?: Radius;
|
|
15
12
|
rounded?: Rounded;
|
|
16
13
|
shadow?: boolean;
|
|
17
|
-
|
|
18
|
-
shadowVariant?: CardShadowVariant;
|
|
14
|
+
shadowVariant?: ShadowVariant;
|
|
19
15
|
style?: StyleProp<ViewStyle>;
|
|
20
16
|
}
|
|
21
17
|
type ViewSlotProps = PropsWithChildren<ViewProps & {
|
|
@@ -26,7 +22,7 @@ type TextSlotProps = PropsWithChildren<{
|
|
|
26
22
|
className?: string;
|
|
27
23
|
style?: StyleProp<TextStyle>;
|
|
28
24
|
}>;
|
|
29
|
-
export declare function Card({
|
|
25
|
+
export declare function Card({ children, contentStyle, containerStyle, radius, rounded, shadow, shadowVariant, style, ...props }: CardProps): import("react").JSX.Element;
|
|
30
26
|
export declare function CardHeader({ children, style, ...props }: ViewSlotProps): import("react").JSX.Element;
|
|
31
27
|
export declare function CardTitle({ children, style }: TextSlotProps): import("react").JSX.Element;
|
|
32
28
|
export declare function CardDescription({ children, style }: TextSlotProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAIL,KAAK,SAAS,EACd,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AAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAOtE;AAID,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,aAAa,+BAG3D;AAID,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,aAAa,+BAGjE;AAID,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAOtE;AAID,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAOvE;AAID,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAOtE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type ShadowVariant } from '../shared/styling.js';
|
|
3
3
|
export type DropdownMenuItem = {
|
|
4
4
|
destructive?: boolean;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -8,24 +8,20 @@ export type DropdownMenuItem = {
|
|
|
8
8
|
onPress?: () => void;
|
|
9
9
|
};
|
|
10
10
|
export type DropdownMenuVariant = 'default' | 'emoji';
|
|
11
|
-
export type DropdownMenuMode = DropdownMenuVariant;
|
|
12
11
|
export type DropdownMenuAlign = 'start' | 'center' | 'end';
|
|
13
12
|
export type DropdownMenuSide = 'top' | 'bottom';
|
|
14
|
-
export type DropdownMenuShadowVariant = CardShadowVariant;
|
|
15
13
|
export type DropdownMenuProps = {
|
|
16
14
|
align?: DropdownMenuAlign;
|
|
17
15
|
children: ReactElement;
|
|
18
16
|
className?: string;
|
|
19
17
|
items: readonly DropdownMenuItem[];
|
|
20
18
|
shadow?: boolean;
|
|
21
|
-
shadowColor?: string;
|
|
22
19
|
shadowOffset?: number;
|
|
23
|
-
shadowVariant?:
|
|
20
|
+
shadowVariant?: ShadowVariant;
|
|
24
21
|
side?: DropdownMenuSide;
|
|
25
22
|
sideOffset?: number;
|
|
26
|
-
mode?: DropdownMenuMode;
|
|
27
23
|
style?: import('react-native').StyleProp<import('react-native').ViewStyle>;
|
|
28
24
|
variant?: DropdownMenuVariant;
|
|
29
25
|
};
|
|
30
|
-
export declare function DropdownMenu({ align, children, items, shadow,
|
|
26
|
+
export declare function DropdownMenu({ align, children, items, shadow, shadowOffset, shadowVariant, side, sideOffset, style, variant, }: DropdownMenuProps): import("react").JSX.Element;
|
|
31
27
|
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOrD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOrD,OAAO,EAAsB,KAAK,aAAa,EAAE,MAAM,sBAAmB,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,OAAO,CAAC;AACtD,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC3D,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEhD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,cAAc,EAAE,SAAS,CAAC,OAAO,cAAc,EAAE,SAAS,CAAC,CAAC;IAC3E,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,KAAe,EACf,QAAQ,EACR,KAAK,EACL,MAAa,EACb,YAAY,EACZ,aAAyB,EACzB,IAAe,EACf,UAAc,EACd,KAAK,EACL,OAAO,GACR,EAAE,iBAAiB,+BAyGnB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type PressableProps, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
-
import { type Rounded } from '../shared/styling.js';
|
|
3
|
+
import { type Rounded, type ShadowVariant } from '../shared/styling.js';
|
|
4
4
|
export type IconButtonVariant = 'default' | 'primary' | 'destructive' | 'ghost';
|
|
5
|
-
export type IconButtonRounded = Rounded;
|
|
6
5
|
export interface IconButtonProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
7
6
|
accessibilityLabel: string;
|
|
8
7
|
className?: string;
|
|
@@ -12,12 +11,12 @@ export interface IconButtonProps extends Omit<PressableProps, 'children' | 'styl
|
|
|
12
11
|
label?: ReactNode;
|
|
13
12
|
labelStyle?: StyleProp<TextStyle>;
|
|
14
13
|
radius?: number;
|
|
15
|
-
rounded?:
|
|
14
|
+
rounded?: Rounded;
|
|
16
15
|
shadow?: boolean;
|
|
17
|
-
|
|
16
|
+
shadowVariant?: ShadowVariant;
|
|
18
17
|
size?: number;
|
|
19
18
|
style?: StyleProp<ViewStyle>;
|
|
20
19
|
variant?: IconButtonVariant;
|
|
21
20
|
}
|
|
22
|
-
export declare function IconButton({ accessibilityLabel, containerStyle, disabled, icon, label, labelStyle, radius, rounded, shadow,
|
|
21
|
+
export declare function IconButton({ accessibilityLabel, containerStyle, disabled, icon, label, labelStyle, radius, rounded, shadow, shadowVariant, size, style, variant, ...props }: IconButtonProps): import("react").JSX.Element;
|
|
23
22
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,aAAa,EACnB,MAAM,sBAAmB,CAAC;AAE3B,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,CAAC;AAEhF,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAClD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,EACzB,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,UAAU,EACV,MAAM,EACN,OAAmB,EACnB,MAAa,EACb,aAAyB,EACzB,IAAS,EACT,KAAK,EACL,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,+BAsEjB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PressableProps, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type ShadowVariant } from '../shared/styling.js';
|
|
2
3
|
export type PinCodeFieldRounded = 'sharp' | 'rounded';
|
|
3
4
|
export interface PinCodeFieldProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
4
5
|
active?: boolean;
|
|
@@ -13,7 +14,7 @@ export interface PinCodeFieldProps extends Omit<PressableProps, 'children' | 'st
|
|
|
13
14
|
radius?: number;
|
|
14
15
|
rounded?: PinCodeFieldRounded;
|
|
15
16
|
shadow?: boolean;
|
|
16
|
-
|
|
17
|
+
shadowVariant?: ShadowVariant;
|
|
17
18
|
shadowOffset?: number;
|
|
18
19
|
slotClassName?: string;
|
|
19
20
|
slotStyle?: StyleProp<ViewStyle>;
|
|
@@ -21,5 +22,5 @@ export interface PinCodeFieldProps extends Omit<PressableProps, 'children' | 'st
|
|
|
21
22
|
textStyle?: StyleProp<TextStyle>;
|
|
22
23
|
value: string;
|
|
23
24
|
}
|
|
24
|
-
export declare function PinCodeField({ accessibilityLabel, active, activeSlotStyle, disabled, dotStyle, error, length, masked, onPress, radius, rounded, shadow,
|
|
25
|
+
export declare function PinCodeField({ accessibilityLabel, active, activeSlotStyle, disabled, dotStyle, error, length, masked, onPress, radius, rounded, shadow, shadowVariant, shadowOffset, slotStyle, style, textStyle, value, ...props }: PinCodeFieldProps): import("react").JSX.Element;
|
|
25
26
|
//# sourceMappingURL=pin-code-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pin-code-field.d.ts","sourceRoot":"","sources":["../../../../src/components/pin-code-field/pin-code-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"pin-code-field.d.ts","sourceRoot":"","sources":["../../../../src/components/pin-code-field/pin-code-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAsB,KAAK,aAAa,EAAE,MAAM,sBAAmB,CAAC;AAE3E,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AAEtD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IACnF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,YAAY,CAAC,EAC3B,kBAA+B,EAC/B,MAAc,EACd,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,KAAa,EACb,MAAU,EACV,MAAa,EACb,OAAO,EACP,MAAM,EACN,OAAmB,EACnB,MAAa,EACb,aAAyB,EACzB,YAAY,EACZ,SAAS,EACT,KAAK,EACL,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,+BA8FnB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ViewStyle } from 'react-native';
|
|
2
|
+
import type { Theme } from '../../theme/theme.js';
|
|
2
3
|
export type Rounded = 'sharp' | 'rounded' | 'pill';
|
|
3
4
|
export type CornerRadius = {
|
|
4
5
|
topLeft?: number;
|
|
@@ -8,6 +9,7 @@ export type CornerRadius = {
|
|
|
8
9
|
};
|
|
9
10
|
export type Radius = number | CornerRadius;
|
|
10
11
|
export type ShadowVariant = 'default' | 'primary' | 'secondary' | 'destructive' | 'warning' | 'success' | 'info';
|
|
12
|
+
export declare function resolveShadowColor(variant: ShadowVariant, theme: Theme): string;
|
|
11
13
|
export declare function resolveRoundedRadius(rounded: Rounded | undefined, fallback: number): number;
|
|
12
14
|
export declare function resolveRadiusStyle(radius: Radius | undefined, rounded: Rounded | undefined, fallback: number): ViewStyle;
|
|
13
15
|
//# sourceMappingURL=styling.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styling.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/styling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAE3C,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,SAAS,GACT,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,QAAQ,EAAE,MAAM,GACf,MAAM,CAUR;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,QAAQ,EAAE,MAAM,GACf,SAAS,CAeX"}
|
|
1
|
+
{"version":3,"file":"styling.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/styling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAmB,CAAC;AAE/C,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAE3C,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,SAAS,GACT,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAY/E;AAED,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,QAAQ,EAAE,MAAM,GACf,MAAM,CAUR;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,QAAQ,EAAE,MAAM,GACf,SAAS,CAeX"}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
|
|
2
|
-
import { type Rounded } from '../shared/styling.js';
|
|
2
|
+
import { type Rounded, type ShadowVariant } from '../shared/styling.js';
|
|
3
3
|
export type SkeletonType = 'chat' | 'list' | 'textBlock';
|
|
4
|
-
export type SkeletonRounded = Rounded;
|
|
5
4
|
export interface SkeletonProps extends Omit<ViewProps, 'style'> {
|
|
6
5
|
animated?: boolean;
|
|
7
6
|
animationDuration?: number;
|
|
8
7
|
className?: string;
|
|
9
8
|
radius?: number;
|
|
10
|
-
rounded?:
|
|
9
|
+
rounded?: Rounded;
|
|
11
10
|
shadow?: boolean;
|
|
12
|
-
|
|
11
|
+
shadowVariant?: ShadowVariant;
|
|
13
12
|
shadowOffset?: number;
|
|
14
13
|
style?: StyleProp<ViewStyle>;
|
|
15
14
|
type?: SkeletonType;
|
|
16
15
|
}
|
|
17
|
-
export declare function Skeleton({ accessibilityLabel, animated, animationDuration, radius, rounded, shadow,
|
|
16
|
+
export declare function Skeleton({ accessibilityLabel, animated, animationDuration, radius, rounded, shadow, shadowVariant, shadowOffset, style, type, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
18
17
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,aAAa,EACnB,MAAM,sBAAmB,CAAC;AAE3B,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;AAEzD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAiBD,wBAAgB,QAAQ,CAAC,EACvB,kBAAkB,EAClB,QAAe,EACf,iBAAuB,EACvB,MAAM,EACN,OAAiB,EACjB,MAAa,EACb,aAAyB,EACzB,YAAY,EACZ,KAAK,EACL,IAAkB,EAClB,GAAG,KAAK,EACT,EAAE,aAAa,+BA0Df"}
|
|
@@ -10,8 +10,6 @@ export type TabItem = {
|
|
|
10
10
|
};
|
|
11
11
|
export type TabsLayout = 'equal' | 'scroll';
|
|
12
12
|
export type TabsBorder = 'all' | 'bottom' | 'none';
|
|
13
|
-
export type TabsRounded = Rounded;
|
|
14
|
-
export type TabsItemRounded = TabsRounded;
|
|
15
13
|
export type TabsVariant = 'primary' | 'secondary' | 'destructive' | 'warning' | 'success' | 'info' | 'neutral';
|
|
16
14
|
export type TabsProps = {
|
|
17
15
|
accessibilityLabel?: string;
|
|
@@ -24,13 +22,13 @@ export type TabsProps = {
|
|
|
24
22
|
defaultValue?: string;
|
|
25
23
|
items: readonly TabItem[];
|
|
26
24
|
itemRadius?: number;
|
|
27
|
-
itemRounded?:
|
|
25
|
+
itemRounded?: Rounded;
|
|
28
26
|
itemStyle?: StyleProp<ViewStyle>;
|
|
29
27
|
labelStyle?: StyleProp<TextStyle>;
|
|
30
28
|
layout?: TabsLayout;
|
|
31
29
|
onValueChange?: (value: string) => void;
|
|
32
30
|
radius?: number;
|
|
33
|
-
rounded?:
|
|
31
|
+
rounded?: Rounded;
|
|
34
32
|
selectedItemStyle?: StyleProp<ViewStyle>;
|
|
35
33
|
selectedLabelStyle?: StyleProp<TextStyle>;
|
|
36
34
|
shadow?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/tabs.tsx"],"names":[],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,WAAqB,EACrB,KAAK,EACL,SAAS,EACT,UAAU,EACV,MAAiB,EACjB,aAAa,EACb,MAAM,EACN,OAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,MAAc,EACd,KAAK,EACL,KAAK,EACL,OAAmB,GACpB,EAAE,SAAS,+BAgGX"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { Button, type
|
|
2
|
-
export { IconButton, type IconButtonProps, type
|
|
3
|
-
export { createTheme, theme, type Theme, type ThemeMode, } from './theme/theme.js';
|
|
1
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, } from './components/button/button.js';
|
|
2
|
+
export { IconButton, type IconButtonProps, type IconButtonVariant, } from './components/icon-button/icon-button.js';
|
|
3
|
+
export { createTheme, createNativeWindVariables, theme, type Theme, type ThemeMode, type ThemeStatus, type ThemeVariant, } from './theme/theme.js';
|
|
4
4
|
export type { CornerRadius, Radius, Rounded, ShadowVariant, } from './components/shared/styling.js';
|
|
5
5
|
export { ThemeProvider, useTheme, type ThemeProviderProps, } from './theme/theme-provider.js';
|
|
6
|
+
export { NativeWindThemeProvider, type NativeWindThemeProviderProps, } from './theme/nativewind-theme-provider.js';
|
|
6
7
|
export { defaultDesignTokenModes, designTokens, } from './theme/design-tokens.generated.js';
|
|
7
|
-
export { Badge, type BadgeProps, type
|
|
8
|
+
export { Badge, type BadgeProps, type BadgeSize, type BadgeVariant, } from './components/badge/badge.js';
|
|
8
9
|
export { Input, TextArea, type InputProps, type TextAreaProps, } from './components/input/input.js';
|
|
9
10
|
export { PasswordInput, type PasswordInputProps, } from './components/input/password-input.js';
|
|
10
11
|
export { CurrencyInput, type CurrencyInputProps, } from './components/input/currency-input.js';
|
|
@@ -13,17 +14,17 @@ export { PinCodeField, type PinCodeFieldProps, type PinCodeFieldRounded, } from
|
|
|
13
14
|
export { PhoneInput, type PhoneCountry, type PhoneInputProps, } from './components/input/phone-input.js';
|
|
14
15
|
export { UrlInput, type UrlInputProps } from './components/input/url-input.js';
|
|
15
16
|
export { Dropdown, type DropdownOption, type DropdownOptionState, type DropdownProps, type DropdownType, type MultiSelectDropdownProps, type SingleDropdownProps, } from './components/dropdown/dropdown.js';
|
|
16
|
-
export { DropdownMenu, type DropdownMenuAlign, type DropdownMenuItem, type
|
|
17
|
+
export { DropdownMenu, type DropdownMenuAlign, type DropdownMenuItem, type DropdownMenuProps, type DropdownMenuSide, type DropdownMenuVariant, } from './components/dropdown/dropdown-menu.js';
|
|
17
18
|
export { Checkbox, type CheckboxProps, type SelectionControlLabelPosition, } from './components/checkbox/checkbox.js';
|
|
18
19
|
export { Radio, type RadioProps } from './components/radio/radio.js';
|
|
19
20
|
export { Switch, type SwitchProps } from './components/switch/switch.js';
|
|
20
|
-
export { Avatar, type
|
|
21
|
+
export { Avatar, type AvatarProps, type AvatarSize, type AvatarVariant, } from './components/avatar/avatar.js';
|
|
21
22
|
export { Toast, type ToastAction, type ToastProps, type ToastType, } from './components/toast/toast.js';
|
|
22
23
|
export { ToastProvider, useToast, type ToastOptions, type ToastProviderProps, } from './components/toast/toast-provider.js';
|
|
23
24
|
export { ConfirmDialog, Dialog, DialogBody, DialogFooter, DialogHeader, DialogProvider, type ConfirmDialogProps, type DialogHeaderProps, type DialogProps, } from './components/dialog/dialog.js';
|
|
24
25
|
export { BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, type BottomSheetAnimation, type BottomSheetHeaderProps, type BottomSheetProps, } from './components/bottom-sheet/bottom-sheet.js';
|
|
25
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardProps,
|
|
26
|
-
export { Tabs, type TabItem, type TabsLayout, type TabsProps, type
|
|
26
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardProps, } from './components/card/card.js';
|
|
27
|
+
export { Tabs, type TabItem, type TabsLayout, type TabsProps, type TabsVariant, } from './components/tabs/tabs.js';
|
|
27
28
|
export { ListItem, type ListItemProps, type ListItemTrailingAction, } from './components/list-item/list-item.js';
|
|
28
29
|
export { Divider, type DividerInset, type DividerProps } from './components/divider/divider.js';
|
|
29
30
|
export { CallItem, type CallItemProps, type CallItemType, } from './components/call-item/call-item.js';
|
|
@@ -31,7 +32,7 @@ export { ChatListItem, type ChatListItemProps, type ChatListItemState, } from '.
|
|
|
31
32
|
export { Progress, type ProgressProps, type ProgressType, } from './components/progress/progress.js';
|
|
32
33
|
export { Accordion, type AccordionItem, type AccordionProps, type AccordionType, } from './components/accordion/accordion.js';
|
|
33
34
|
export { AppBar, type AppBarBottomProps, type AppBarContentProps, type AppBarProps, } from './components/app-bar/app-bar.js';
|
|
34
|
-
export { Calendar, type CalendarMode, type CalendarProps, type
|
|
35
|
+
export { Calendar, type CalendarMode, type CalendarProps, type CalendarRangeValue, } from './components/calendar/calendar.js';
|
|
35
36
|
export { BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, } from './components/bottom-navigation/bottom-navigation.js';
|
|
36
|
-
export { Skeleton, type SkeletonProps, type
|
|
37
|
+
export { Skeleton, type SkeletonProps, type SkeletonType, } from './components/skeleton/skeleton.js';
|
|
37
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,+BAA4B,CAAC;AACpC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,yCAAsC,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,KAAK,EACL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAA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AkC,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,iCAA8B,CAAC;AAC7F,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,+CAA4C,CAAC;AACpD,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,mCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,WAAW,GACjB,MAAM,iCAA8B,CAAC;AACtC,OAAO,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB,MAAM,mCAAgC,CAAC;AACxC,OAAO,EACL,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,qDAAkD,CAAC;AAC1D,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,mCAAgC,CAAC"}
|
|
@@ -44,7 +44,7 @@ export declare const designTokens: {
|
|
|
44
44
|
readonly "decor-accent": "#01ABFF";
|
|
45
45
|
readonly "decor-ink": "#000000";
|
|
46
46
|
readonly "decor-paper": "#FFFFFF";
|
|
47
|
-
readonly
|
|
47
|
+
readonly overlay: "#00000080";
|
|
48
48
|
readonly "semantic-background": "#8D8D8D";
|
|
49
49
|
readonly "semantic-border": "#908F8F";
|
|
50
50
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -190,7 +190,51 @@ export declare const designTokens: {
|
|
|
190
190
|
readonly "decor-accent": "#01ABFF";
|
|
191
191
|
readonly "decor-ink": "#000000";
|
|
192
192
|
readonly "decor-paper": "#FFFFFF";
|
|
193
|
-
readonly
|
|
193
|
+
readonly overlay: "#00000080";
|
|
194
|
+
readonly "semantic-background": "#8D8D8D";
|
|
195
|
+
readonly "semantic-border": "#908F8F";
|
|
196
|
+
readonly "semantic-foreground": "#FFFFFF";
|
|
197
|
+
};
|
|
198
|
+
readonly Coral: {
|
|
199
|
+
readonly background: "#FFFFFF";
|
|
200
|
+
readonly foreground: "#0A0A0A";
|
|
201
|
+
readonly card: "#F3F3F3";
|
|
202
|
+
readonly "card-foreground": "#0A0A0A";
|
|
203
|
+
readonly popover: "#FAFAFA";
|
|
204
|
+
readonly "popover-foreground": "#0A0A0A";
|
|
205
|
+
readonly primary: "#FF7F50";
|
|
206
|
+
readonly "primary-hover": "#F2A88C";
|
|
207
|
+
readonly "primary-foreground": "#391D13";
|
|
208
|
+
readonly secondary: "#0A0A0A";
|
|
209
|
+
readonly "secondary-foreground": "#FFFFFF";
|
|
210
|
+
readonly muted: "#F2F2F2";
|
|
211
|
+
readonly "muted-foreground": "#5C5C5C";
|
|
212
|
+
readonly accent: "#F2E0D9";
|
|
213
|
+
readonly "accent-foreground": "#4C281A";
|
|
214
|
+
readonly destructive: "#E63946";
|
|
215
|
+
readonly "destructive-foreground": "#FFFFFF";
|
|
216
|
+
readonly border: "#000000";
|
|
217
|
+
readonly input: "#FFFFFF";
|
|
218
|
+
readonly ring: "#FB916A";
|
|
219
|
+
readonly "shadow-color": "#0B0B0B";
|
|
220
|
+
readonly sidebar: "#FFFFFF";
|
|
221
|
+
readonly "sidebar-foreground": "#0A0A0A";
|
|
222
|
+
readonly "sidebar-primary": "#FF7F50";
|
|
223
|
+
readonly "sidebar-primary-foreground": "#391D13";
|
|
224
|
+
readonly "sidebar-accent": "#F2E0D9";
|
|
225
|
+
readonly "sidebar-accent-foreground": "#4C281A";
|
|
226
|
+
readonly "sidebar-border": "#000000";
|
|
227
|
+
readonly "sidebar-ring": "#FB916A";
|
|
228
|
+
readonly surface: "#F3F3F3";
|
|
229
|
+
readonly "surface-foreground": "#0A0A0A";
|
|
230
|
+
readonly code: "#F2F2F2";
|
|
231
|
+
readonly "code-foreground": "#0A0A0A";
|
|
232
|
+
readonly selection: "#FF7F50";
|
|
233
|
+
readonly "selection-foreground": "#391D13";
|
|
234
|
+
readonly "decor-accent": "#FF7F50";
|
|
235
|
+
readonly "decor-ink": "#000000";
|
|
236
|
+
readonly "decor-paper": "#FFFFFF";
|
|
237
|
+
readonly overlay: "#00000080";
|
|
194
238
|
readonly "semantic-background": "#8D8D8D";
|
|
195
239
|
readonly "semantic-border": "#908F8F";
|
|
196
240
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -236,7 +280,51 @@ export declare const designTokens: {
|
|
|
236
280
|
readonly "decor-accent": "#5CA1C4";
|
|
237
281
|
readonly "decor-ink": "#000000";
|
|
238
282
|
readonly "decor-paper": "#FFFFFF";
|
|
239
|
-
readonly
|
|
283
|
+
readonly overlay: "#00000080";
|
|
284
|
+
readonly "semantic-background": "#272625";
|
|
285
|
+
readonly "semantic-border": "#515253";
|
|
286
|
+
readonly "semantic-foreground": "#FFFFFF";
|
|
287
|
+
};
|
|
288
|
+
readonly Coral: {
|
|
289
|
+
readonly background: "#1F1F1F";
|
|
290
|
+
readonly foreground: "#FAFAFA";
|
|
291
|
+
readonly card: "#1A1A1A";
|
|
292
|
+
readonly "card-foreground": "#FAFAFA";
|
|
293
|
+
readonly popover: "#1A1A1A";
|
|
294
|
+
readonly "popover-foreground": "#FAFAFA";
|
|
295
|
+
readonly primary: "#FF7F50";
|
|
296
|
+
readonly "primary-hover": "#F2A88C";
|
|
297
|
+
readonly "primary-foreground": "#391D13";
|
|
298
|
+
readonly secondary: "#FAFAFA";
|
|
299
|
+
readonly "secondary-foreground": "#0F0F0F";
|
|
300
|
+
readonly muted: "#262626";
|
|
301
|
+
readonly "muted-foreground": "#A3A3A3";
|
|
302
|
+
readonly accent: "#4C281A";
|
|
303
|
+
readonly "accent-foreground": "#F2E0D9";
|
|
304
|
+
readonly destructive: "#FF6B6B";
|
|
305
|
+
readonly "destructive-foreground": "#1A1515";
|
|
306
|
+
readonly border: "#000000";
|
|
307
|
+
readonly input: "#202426";
|
|
308
|
+
readonly ring: "#FC9169";
|
|
309
|
+
readonly "shadow-color": "#3D3D3D";
|
|
310
|
+
readonly sidebar: "#1F1F1F";
|
|
311
|
+
readonly "sidebar-foreground": "#FAFAFA";
|
|
312
|
+
readonly "sidebar-primary": "#FF7F50";
|
|
313
|
+
readonly "sidebar-primary-foreground": "#391D13";
|
|
314
|
+
readonly "sidebar-accent": "#4C281A";
|
|
315
|
+
readonly "sidebar-accent-foreground": "#F2E0D9";
|
|
316
|
+
readonly "sidebar-border": "#000000";
|
|
317
|
+
readonly "sidebar-ring": "#FC9169";
|
|
318
|
+
readonly surface: "#1A1A1A";
|
|
319
|
+
readonly "surface-foreground": "#FAFAFA";
|
|
320
|
+
readonly code: "#262626";
|
|
321
|
+
readonly "code-foreground": "#FAFAFA";
|
|
322
|
+
readonly selection: "#FF7F50";
|
|
323
|
+
readonly "selection-foreground": "#391D13";
|
|
324
|
+
readonly "decor-accent": "#29130A";
|
|
325
|
+
readonly "decor-ink": "#000000";
|
|
326
|
+
readonly "decor-paper": "#FFFFFF";
|
|
327
|
+
readonly overlay: "#00000080";
|
|
240
328
|
readonly "semantic-background": "#272625";
|
|
241
329
|
readonly "semantic-border": "#515253";
|
|
242
330
|
readonly "semantic-foreground": "#FFFFFF";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens.generated.d.ts","sourceRoot":"","sources":["../../../src/theme/design-tokens.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"design-tokens.generated.d.ts","sourceRoot":"","sources":["../../../src/theme/design-tokens.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAucf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type ThemeMode, type ThemeVariant } from './theme.js';
|
|
3
|
+
export type NativeWindThemeProviderProps = PropsWithChildren<{
|
|
4
|
+
mode: ThemeMode;
|
|
5
|
+
variant?: ThemeVariant;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function NativeWindThemeProvider({ children, mode, variant, }: NativeWindThemeProviderProps): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=nativewind-theme-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativewind-theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/nativewind-theme-provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,YAAS,CAAC;AAGjB,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC3D,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC,CAAC;AAEH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,IAAI,EACJ,OAAgB,GACjB,EAAE,4BAA4B,+BAM9B"}
|