@gv-tech/ui-native 2.29.0 → 2.29.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/__contracts.d.ts +0 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/alert-dialog.d.ts +51 -0
- package/dist/alert-dialog.d.ts.map +1 -0
- package/dist/alert.d.ts +10 -0
- package/dist/alert.d.ts.map +1 -0
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/breadcrumb.d.ts +6 -25
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/button-group.d.ts +3 -3
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button.d.ts +2 -5
- package/dist/button.d.ts.map +1 -1
- package/dist/calendar.d.ts +7 -10
- package/dist/calendar.d.ts.map +1 -1
- package/dist/card.d.ts +13 -0
- package/dist/card.d.ts.map +1 -0
- package/dist/carousel.d.ts +6 -29
- package/dist/carousel.d.ts.map +1 -1
- package/dist/checkbox.d.ts +15 -0
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/combobox.d.ts +2 -2
- package/dist/combobox.d.ts.map +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/context-menu.d.ts +61 -0
- package/dist/context-menu.d.ts.map +1 -0
- package/dist/dialog.d.ts +61 -0
- package/dist/dialog.d.ts.map +1 -0
- package/dist/direction.d.ts +1 -1
- package/dist/drawer.d.ts +33 -0
- package/dist/drawer.d.ts.map +1 -0
- package/dist/dropdown-menu.d.ts +60 -0
- package/dist/dropdown-menu.d.ts.map +1 -0
- package/dist/empty.d.ts +1 -1
- package/dist/empty.d.ts.map +1 -1
- package/dist/field.d.ts +1 -1
- package/dist/field.d.ts.map +1 -1
- package/dist/form.d.ts +33 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hooks/use-theme.d.ts.map +1 -1
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hover-card.d.ts +23 -0
- package/dist/hover-card.d.ts.map +1 -0
- package/dist/input-group.d.ts +2 -2
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-otp.d.ts +1 -1
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input.d.ts +8 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/item.d.ts +10 -10
- package/dist/item.d.ts.map +1 -1
- package/dist/kbd.d.ts.map +1 -1
- package/dist/label.d.ts +9 -0
- package/dist/label.d.ts.map +1 -0
- package/dist/menubar.d.ts +53 -0
- package/dist/menubar.d.ts.map +1 -0
- package/dist/native-select.d.ts +1 -1
- package/dist/native-select.d.ts.map +1 -1
- package/dist/navigation-menu.d.ts +14 -0
- package/dist/navigation-menu.d.ts.map +1 -0
- package/dist/pagination.d.ts +5 -12
- package/dist/pagination.d.ts.map +1 -1
- package/dist/popover.d.ts +9 -0
- package/dist/popover.d.ts.map +1 -0
- package/dist/progress.d.ts +6 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/radio-group.d.ts +11 -0
- package/dist/radio-group.d.ts.map +1 -0
- package/dist/scroll-area.d.ts +2 -9
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-to-top.d.ts +6 -5
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/search.d.ts +2 -5
- package/dist/search.d.ts.map +1 -1
- package/dist/select.d.ts +59 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.d.ts.map +1 -0
- package/dist/sheet.d.ts +59 -0
- package/dist/sheet.d.ts.map +1 -0
- package/dist/sidebar.d.ts +8 -8
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/switch.d.ts +8 -0
- package/dist/switch.d.ts.map +1 -0
- package/dist/table-of-contents.d.ts +5 -13
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table.d.ts +12 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/tabs.d.ts +24 -0
- package/dist/tabs.d.ts.map +1 -0
- package/dist/text.d.ts +13 -0
- package/dist/text.d.ts.map +1 -0
- package/dist/textarea.d.ts +6 -0
- package/dist/textarea.d.ts.map +1 -0
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/toast.d.ts +35 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toggle-group.d.ts +11 -0
- package/dist/toggle-group.d.ts.map +1 -0
- package/dist/toggle.d.ts +8 -0
- package/dist/toggle.d.ts.map +1 -0
- package/dist/tooltip.d.ts +30 -0
- package/dist/tooltip.d.ts.map +1 -0
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.esm.js +365 -429
- package/package.json +19 -19
- package/src/__contracts.ts +321 -324
- package/src/aspect-ratio.tsx +1 -0
- package/src/badge.tsx +3 -3
- package/src/breadcrumb.tsx +2 -8
- package/src/button-group.tsx +8 -3
- package/src/button.tsx +4 -3
- package/src/calendar.tsx +8 -5
- package/src/card.tsx +1 -1
- package/src/carousel.tsx +6 -23
- package/src/collapsible.tsx +1 -1
- package/src/combobox.tsx +8 -8
- package/src/command.tsx +1 -0
- package/src/context-menu.tsx +1 -0
- package/src/dialog.tsx +1 -1
- package/src/drawer.tsx +1 -0
- package/src/dropdown-menu.tsx +1 -0
- package/src/empty.tsx +6 -1
- package/src/field.tsx +2 -1
- package/src/form.tsx +9 -9
- package/src/hooks/use-theme.ts +1 -0
- package/src/hooks/use-toast.ts +1 -0
- package/src/hover-card.tsx +1 -0
- package/src/input-group.tsx +7 -2
- package/src/input-otp.tsx +6 -1
- package/src/input.tsx +1 -1
- package/src/item.tsx +9 -3
- package/src/kbd.tsx +1 -0
- package/src/menubar.tsx +1 -0
- package/src/native-select.tsx +2 -1
- package/src/navigation-menu.tsx +18 -6
- package/src/pagination.tsx +5 -2
- package/src/popover.tsx +1 -1
- package/src/progress.tsx +1 -2
- package/src/radio-group.tsx +1 -1
- package/src/scroll-area.tsx +1 -0
- package/src/scroll-to-top.tsx +10 -9
- package/src/search.tsx +2 -1
- package/src/select.tsx +1 -1
- package/src/sidebar.tsx +20 -19
- package/src/skeleton.tsx +4 -2
- package/src/slider.tsx +2 -1
- package/src/sonner.tsx +1 -0
- package/src/spinner.tsx +4 -1
- package/src/switch.tsx +1 -1
- package/src/table-of-contents.tsx +9 -25
- package/src/tabs.tsx +2 -2
- package/src/text.tsx +3 -3
- package/src/theme-provider.tsx +3 -1
- package/src/theme-toggle.tsx +32 -29
- package/src/toaster.tsx +1 -0
- package/src/toggle-group.tsx +2 -2
- package/src/toggle.tsx +3 -2
package/dist/pagination.d.ts
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { PaginationBaseProps, PaginationContentBaseProps, PaginationEllipsisBaseProps, PaginationItemBaseProps, PaginationLinkBaseProps, PaginationNextBaseProps, PaginationPreviousBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export declare const Pagination: {
|
|
4
5
|
({ className, children, ...props }: PaginationBaseProps): React.JSX.Element;
|
|
5
6
|
displayName: string;
|
|
6
7
|
};
|
|
7
|
-
export declare const PaginationContent: React.ForwardRefExoticComponent<PaginationContentBaseProps & React.RefAttributes<
|
|
8
|
-
|
|
9
|
-
}> & {
|
|
10
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
11
|
-
}) => React.ReactNode>>;
|
|
12
|
-
export declare const PaginationItem: React.ForwardRefExoticComponent<PaginationItemBaseProps & React.RefAttributes<(props: Omit<import('react-native').ViewProps, keyof {
|
|
13
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
14
|
-
}> & {
|
|
15
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
16
|
-
}) => React.ReactNode>>;
|
|
8
|
+
export declare const PaginationContent: React.ForwardRefExoticComponent<PaginationContentBaseProps & React.RefAttributes<View>>;
|
|
9
|
+
export declare const PaginationItem: React.ForwardRefExoticComponent<PaginationItemBaseProps & React.RefAttributes<View>>;
|
|
17
10
|
export type PaginationLinkProps = PaginationLinkBaseProps & {
|
|
18
11
|
onPress?: () => void;
|
|
19
12
|
};
|
|
@@ -22,13 +15,13 @@ export declare const PaginationLink: {
|
|
|
22
15
|
displayName: string;
|
|
23
16
|
};
|
|
24
17
|
export declare const PaginationPrevious: {
|
|
25
|
-
({ className, children, onPress, ...props }: PaginationPreviousBaseProps & {
|
|
18
|
+
({ className, children: _children, onPress, ...props }: PaginationPreviousBaseProps & {
|
|
26
19
|
onPress?: () => void;
|
|
27
20
|
}): React.JSX.Element;
|
|
28
21
|
displayName: string;
|
|
29
22
|
};
|
|
30
23
|
export declare const PaginationNext: {
|
|
31
|
-
({ className, children, onPress, ...props }: PaginationNextBaseProps & {
|
|
24
|
+
({ className, children: _children, onPress, ...props }: PaginationNextBaseProps & {
|
|
32
25
|
onPress?: () => void;
|
|
33
26
|
}): React.JSX.Element;
|
|
34
27
|
displayName: string;
|
package/dist/pagination.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAMpC,eAAO,MAAM,UAAU;wCAAuC,mBAAmB;;CAahF,CAAC;AAGF,eAAO,MAAM,iBAAiB,yFAM7B,CAAC;AAGF,eAAO,MAAM,cAAc,sFAM1B,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG;IAC1D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc;iEAOxB,mBAAmB;;CAMrB,CAAC;AAGF,eAAO,MAAM,kBAAkB;4DAK5B,2BAA2B,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;;CAWxD,CAAC;AAGF,eAAO,MAAM,cAAc;4DAKxB,uBAAuB,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;;CAWpD,CAAC;AAGF,eAAO,MAAM,kBAAkB;8BAA6B,2BAA2B;;CAItF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PopoverAnchorBaseProps, PopoverBaseProps, PopoverContentBaseProps, PopoverTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Popover: React.ForwardRefExoticComponent<import('react-native').ViewProps & PopoverBaseProps & React.RefAttributes<View>>;
|
|
5
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & PopoverTriggerBaseProps & React.RefAttributes<View>>;
|
|
6
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<import('react-native').ViewProps & PopoverAnchorBaseProps & React.RefAttributes<View>>;
|
|
7
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<import('react-native').ViewProps & PopoverContentBaseProps & React.RefAttributes<View>>;
|
|
8
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
9
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../src/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,IAAI,EAAE,MAAM,cAAc,CAAC;AAYtD,QAAA,MAAM,OAAO,kHAgBX,CAAC;AAGH,QAAA,MAAM,cAAc,uKAWlB,CAAC;AAGH,QAAA,MAAM,aAAa,wHAGoC,CAAC;AAGxD,QAAA,MAAM,cAAc,yHAuBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProgressBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Progress: React.ForwardRefExoticComponent<import('react-native').ViewProps & ProgressBaseProps & React.RefAttributes<View>>;
|
|
5
|
+
export { Progress };
|
|
6
|
+
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,QAAA,MAAM,QAAQ,mHAYZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as RadioGroupPrimitive from '@rn-primitives/radio-group';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface RadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<import('react-native').View>>;
|
|
7
|
+
export interface RadioGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, 'disabled'>, RadioGroupItemBaseProps {
|
|
8
|
+
}
|
|
9
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<import('react-native').View>>;
|
|
10
|
+
export { RadioGroup, RadioGroupItem };
|
|
11
|
+
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../src/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAAE,mBAAmB;CAAG;AAEjG,QAAA,MAAM,UAAU,qGAIf,CAAC;AAGF,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,EAAE,uBAAuB;CAAG;AAEvH,QAAA,MAAM,cAAc,yGAkBnB,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/scroll-area.d.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { ScrollAreaBaseProps, ScrollBarBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { ScrollView } from 'react-native';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
export declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaBaseProps & React.RefAttributes<
|
|
4
|
-
ref?: React.Ref<import('react-native').ScrollViewInstance> | undefined;
|
|
5
|
-
}> & {
|
|
6
|
-
ref?: React.Ref<import('react-native').ScrollViewInstance> | undefined;
|
|
7
|
-
}) => React.ReactNode) & Readonly<{
|
|
8
|
-
Context: React.Context<{
|
|
9
|
-
horizontal: boolean;
|
|
10
|
-
} | null>;
|
|
11
|
-
}>>>;
|
|
4
|
+
export declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaBaseProps & React.RefAttributes<ScrollView>>;
|
|
12
5
|
export declare const ScrollBar: React.FC<ScrollBarBaseProps>;
|
|
13
6
|
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../src/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../src/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAQ,MAAM,cAAc,CAAC;AAIhD,eAAO,MAAM,UAAU,wFActB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAIlD,CAAC"}
|
package/dist/scroll-to-top.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { FlatList, NativeScrollEvent, NativeSyntheticEvent, ScrollView } from 'react-native';
|
|
2
1
|
import { ScrollToTopBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { ScrollView, FlatList, NativeScrollEvent, NativeSyntheticEvent } from 'react-native';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
export interface ScrollToTopProps extends ScrollToTopBaseProps {
|
|
5
5
|
/**
|
|
6
|
-
* For Native: The scroll target is typically a ref to a ScrollView or FlatList.
|
|
7
|
-
*
|
|
6
|
+
* For Native: The scroll target is typically a ref to a ScrollView or FlatList. This is required unless you manually
|
|
7
|
+
* call the scroll handler.
|
|
8
8
|
*/
|
|
9
9
|
scrollRef?: React.RefObject<ScrollView | FlatList | null>;
|
|
10
10
|
/**
|
|
11
11
|
* Custom duration specifically for Native animations (opacity/transform).
|
|
12
|
+
*
|
|
12
13
|
* @default 300
|
|
13
14
|
*/
|
|
14
15
|
animationDuration?: number;
|
|
@@ -16,8 +17,8 @@ export interface ScrollToTopProps extends ScrollToTopBaseProps {
|
|
|
16
17
|
/**
|
|
17
18
|
* GV Tech Animated Scroll To Top (Native)
|
|
18
19
|
*
|
|
19
|
-
* A floating action button that appears when scrolling down and allows the user
|
|
20
|
-
*
|
|
20
|
+
* A floating action button that appears when scrolling down and allows the user to quickly return to the top of a
|
|
21
|
+
* ScrollView, FlatList, or SectionList.
|
|
21
22
|
*
|
|
22
23
|
* Reuses the internal GV Tech Button primitive for consistent styling.
|
|
23
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-to-top.d.ts","sourceRoot":"","sources":["../src/scroll-to-top.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scroll-to-top.d.ts","sourceRoot":"","sources":["../src/scroll-to-top.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,KAAK,UAAU,EAGf,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAG1B,MAAM,cAAc,CAAC;AAKtB,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;IAE1D;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACvE,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,WAAW,4FAyIvB,CAAC"}
|
package/dist/search.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { SearchBaseProps, SearchTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View } from 'react-native';
|
|
2
3
|
import { Button } from './button';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export type SearchProps = SearchBaseProps;
|
|
5
6
|
export declare function Search({ children, open: customOpen, onOpenChange }: SearchProps): React.JSX.Element;
|
|
6
7
|
export interface SearchTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Button>, 'variant'>, SearchTriggerBaseProps {
|
|
7
8
|
}
|
|
8
|
-
export declare const SearchTrigger: React.ForwardRefExoticComponent<SearchTriggerProps & React.RefAttributes<
|
|
9
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
10
|
-
}> & {
|
|
11
|
-
ref?: React.Ref<import('react-native').ViewInstance> | undefined;
|
|
12
|
-
}) => React.ReactNode>>;
|
|
9
|
+
export declare const SearchTrigger: React.ForwardRefExoticComponent<SearchTriggerProps & React.RefAttributes<View>>;
|
|
13
10
|
//# sourceMappingURL=search.d.ts.map
|
package/dist/search.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/search.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAkB,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;AAE1C,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,WAAW,qBAqB/E;AAED,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,sBAAsB;CAAG;AAEnG,eAAO,MAAM,aAAa,iFAyCzB,CAAC"}
|
package/dist/select.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SelectBaseProps, SelectContentBaseProps, SelectGroupBaseProps, SelectItemBaseProps, SelectLabelBaseProps, SelectScrollDownButtonBaseProps, SelectScrollUpButtonBaseProps, SelectSeparatorBaseProps, SelectTriggerBaseProps, SelectValueBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { View, ViewStyle } from 'react-native';
|
|
3
|
+
import * as SelectPrimitive from '@rn-primitives/select';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export interface SelectProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'value' | 'defaultValue' | 'onValueChange' | 'disabled'>, SelectBaseProps {
|
|
6
|
+
}
|
|
7
|
+
declare const Select: {
|
|
8
|
+
({ asChild, value: valueProp, defaultValue, onValueChange: onValueChangeProp, onOpenChange: onOpenChangeProp, disabled, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
value?: import('@rn-primitives/select').Option;
|
|
12
|
+
defaultValue?: import('@rn-primitives/select').Option;
|
|
13
|
+
onValueChange?: (option: import('@rn-primitives/select').Option) => void;
|
|
14
|
+
onOpenChange?: (open: boolean) => void;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
dir?: "ltr" | "rtl";
|
|
17
|
+
name?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export interface SelectGroupProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Group>, SelectGroupBaseProps {
|
|
23
|
+
}
|
|
24
|
+
declare const SelectGroup: {
|
|
25
|
+
({ asChild, ref, ...props }: import('react-native').ViewProps & {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export interface SelectValueProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>, 'placeholder'>, SelectValueBaseProps {
|
|
31
|
+
}
|
|
32
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectValueProps & React.RefAttributes<import('react-native').Text>>;
|
|
33
|
+
export interface SelectTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children' | 'disabled'>, SelectTriggerBaseProps {
|
|
34
|
+
}
|
|
35
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<import('@rn-primitives/select').TriggerRef>>;
|
|
36
|
+
export interface SelectScrollUpButtonProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>, SelectScrollUpButtonBaseProps {
|
|
37
|
+
}
|
|
38
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<SelectScrollUpButtonProps & React.RefAttributes<unknown>>;
|
|
39
|
+
export interface SelectScrollDownButtonProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>, SelectScrollDownButtonBaseProps {
|
|
40
|
+
}
|
|
41
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<SelectScrollDownButtonProps & React.RefAttributes<unknown>>;
|
|
42
|
+
export interface SelectContentProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'position'>, SelectContentBaseProps {
|
|
43
|
+
portalHost?: string;
|
|
44
|
+
overlayClassName?: string;
|
|
45
|
+
overlayStyle?: ViewStyle;
|
|
46
|
+
}
|
|
47
|
+
declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<View>>;
|
|
48
|
+
export interface SelectLabelProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>, SelectLabelBaseProps {
|
|
49
|
+
}
|
|
50
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<SelectLabelProps & React.RefAttributes<import('react-native').Text>>;
|
|
51
|
+
export interface SelectItemProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children' | 'disabled' | 'label'>, SelectItemBaseProps {
|
|
52
|
+
label?: string;
|
|
53
|
+
}
|
|
54
|
+
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<View>>;
|
|
55
|
+
export interface SelectSeparatorProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>, SelectSeparatorBaseProps {
|
|
56
|
+
}
|
|
57
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<SelectSeparatorProps & React.RefAttributes<View>>;
|
|
58
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
59
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../src/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,+BAA+B,EAC/B,6BAA6B,EAC7B,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK1E,MAAM,WAAW,WACf,SACE,IAAI,CACF,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAC3D,OAAO,GAAG,cAAc,GAAG,eAAe,GAAG,UAAU,CACxD,EACD,eAAe;CAAG;AAEtB,QAAA,MAAM,MAAM;;;;;;;;;;;;;;CAAuB,CAAC;AAEpC,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,oBAAoB;CAAG;AAE/F,QAAA,MAAM,WAAW;;;;;CAAwB,CAAC;AAE1C,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,EAAE,oBAAoB;CAAG;AAEpH,QAAA,MAAM,WAAW,sGAShB,CAAC;AAGF,MAAM,W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C,EAAE,wBAAwB;CAAG;AAEvG,QAAA,MAAM,eAAe,mFAQpB,CAAC;AAGF,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<import('react-native').ViewProps & {
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
} & {
|
|
5
|
+
orientation?: "horizontal" | "vertical";
|
|
6
|
+
decorative?: boolean;
|
|
7
|
+
} & React.RefAttributes<import('react-native').View>, "ref"> & React.RefAttributes<import('react-native').View>>;
|
|
8
|
+
export { Separator };
|
|
9
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../src/separator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,SAAS;;;;;gHAWb,CAAC;AAGH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/sheet.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { View, ViewStyle } from 'react-native';
|
|
2
|
+
import { DialogContentProps } from './dialog';
|
|
3
|
+
import * as DialogPrimitive from '@rn-primitives/dialog';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
declare const Sheet: {
|
|
6
|
+
({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
} & {
|
|
9
|
+
open?: boolean;
|
|
10
|
+
defaultOpen?: boolean;
|
|
11
|
+
onOpenChange?: (value: boolean) => void;
|
|
12
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const SheetTrigger: {
|
|
16
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
} & {
|
|
19
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
20
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
21
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
declare const SheetClose: {
|
|
25
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<View>, "ref"> & {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
} & {
|
|
28
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
29
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
30
|
+
} & React.RefAttributes<View>): React.JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
declare const SheetPortal: typeof DialogPrimitive.Portal;
|
|
34
|
+
export type SheetOverlayRef = React.ComponentRef<typeof DialogPrimitive.Overlay>;
|
|
35
|
+
export type SheetOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
36
|
+
declare const SheetOverlay: React.ForwardRefExoticComponent<SheetOverlayProps & React.RefAttributes<SheetOverlayRef>>;
|
|
37
|
+
export type SheetContentRef = React.ComponentRef<typeof DialogPrimitive.Content>;
|
|
38
|
+
export type SheetContentProps = DialogContentProps & {
|
|
39
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
40
|
+
overlayClassName?: string;
|
|
41
|
+
overlayStyle?: ViewStyle;
|
|
42
|
+
};
|
|
43
|
+
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<SheetContentRef>>;
|
|
44
|
+
declare const SheetHeader: {
|
|
45
|
+
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): React.JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
48
|
+
declare const SheetFooter: {
|
|
49
|
+
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>): React.JSX.Element;
|
|
50
|
+
displayName: string;
|
|
51
|
+
};
|
|
52
|
+
export type SheetTitleRef = React.ComponentRef<typeof DialogPrimitive.Title>;
|
|
53
|
+
export type SheetTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
54
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<SheetTitleProps & React.RefAttributes<SheetTitleRef>>;
|
|
55
|
+
export type SheetDescriptionRef = React.ComponentRef<typeof DialogPrimitive.Description>;
|
|
56
|
+
export type SheetDescriptionProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
57
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<SheetDescriptionProps & React.RefAttributes<SheetDescriptionRef>>;
|
|
58
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, };
|
|
59
|
+
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../src/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAc1E,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD,QAAA,MAAM,KAAK;;;;;;;;;CAAuB,CAAC;AAEnC,QAAA,MAAM,YAAY;;;;;;;;CAA0B,CAAC;AAE7C,QAAA,MAAM,UAAU;;;;;;;;CAAwB,CAAC;AAEzC,QAAA,M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G,CAAC;AAGL,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACzF,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACvG,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,yBAAyB,CACrD,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAGhE,CAAC;AAGH,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
|
package/dist/sidebar.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SidebarBaseProps, SidebarContentBaseProps, SidebarFooterBaseProps, SidebarGroupActionBaseProps, SidebarGroupBaseProps, SidebarGroupContentBaseProps, SidebarGroupLabelBaseProps, SidebarHeaderBaseProps, SidebarInputBaseProps, SidebarInsetBaseProps, SidebarMenuActionBaseProps, SidebarMenuBadgeBaseProps, SidebarMenuBaseProps, SidebarMenuButtonBaseProps, SidebarMenuItemBaseProps, SidebarMenuSkeletonBaseProps, SidebarMenuSubBaseProps, SidebarMenuSubButtonBaseProps, SidebarMenuSubItemBaseProps, SidebarProviderBaseProps, SidebarRailBaseProps, SidebarSeparatorBaseProps, SidebarTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import { Pressable, View } from 'react-native';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function SidebarProvider({ className, defaultOpen, open, onOpenChange, ...props }: React.ComponentProps<typeof View> & SidebarProviderBaseProps): React.JSX.Element;
|
|
5
|
-
declare function Sidebar({ className, side, variant, collapsible, ...props }: React.ComponentProps<typeof View> & SidebarBaseProps): React.JSX.Element;
|
|
4
|
+
declare function SidebarProvider({ className, defaultOpen: _defaultOpen, open: _open, onOpenChange: _onOpenChange, ...props }: React.ComponentProps<typeof View> & SidebarProviderBaseProps): React.JSX.Element;
|
|
5
|
+
declare function Sidebar({ className, side: _side, variant: _variant, collapsible: _collapsible, ...props }: React.ComponentProps<typeof View> & SidebarBaseProps): React.JSX.Element;
|
|
6
6
|
declare function SidebarTrigger({ className, ...props }: React.ComponentProps<typeof Pressable> & SidebarTriggerBaseProps): React.JSX.Element;
|
|
7
7
|
declare function SidebarRail({ className, ...props }: React.ComponentProps<typeof View> & SidebarRailBaseProps): React.JSX.Element;
|
|
8
8
|
declare function SidebarInset({ className, ...props }: React.ComponentProps<typeof View> & SidebarInsetBaseProps): React.JSX.Element;
|
|
@@ -12,18 +12,18 @@ declare function SidebarFooter({ className, ...props }: React.ComponentProps<typ
|
|
|
12
12
|
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof View> & SidebarSeparatorBaseProps): React.JSX.Element;
|
|
13
13
|
declare function SidebarContent({ className, ...props }: React.ComponentProps<typeof View> & SidebarContentBaseProps): React.JSX.Element;
|
|
14
14
|
declare function SidebarGroup({ className, ...props }: React.ComponentProps<typeof View> & SidebarGroupBaseProps): React.JSX.Element;
|
|
15
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<typeof View> & SidebarGroupLabelBaseProps): React.JSX.Element;
|
|
16
|
-
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<typeof Pressable> & SidebarGroupActionBaseProps): React.JSX.Element;
|
|
15
|
+
declare function SidebarGroupLabel({ className, asChild: _asChild, ...props }: React.ComponentProps<typeof View> & SidebarGroupLabelBaseProps): React.JSX.Element;
|
|
16
|
+
declare function SidebarGroupAction({ className, asChild: _asChild, ...props }: React.ComponentProps<typeof Pressable> & SidebarGroupActionBaseProps): React.JSX.Element;
|
|
17
17
|
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<typeof View> & SidebarGroupContentBaseProps): React.JSX.Element;
|
|
18
18
|
declare function SidebarMenu({ className, ...props }: React.ComponentProps<typeof View> & SidebarMenuBaseProps): React.JSX.Element;
|
|
19
19
|
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<typeof View> & SidebarMenuItemBaseProps): React.JSX.Element;
|
|
20
|
-
declare function SidebarMenuButton({ className, asChild, isActive, variant, size, tooltip, ...props }: React.ComponentProps<typeof Pressable> & SidebarMenuButtonBaseProps): React.JSX.Element;
|
|
21
|
-
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<typeof Pressable> & SidebarMenuActionBaseProps): React.JSX.Element;
|
|
20
|
+
declare function SidebarMenuButton({ className, asChild: _asChild, isActive: _isActive, variant: _variant, size: _size, tooltip: _tooltip, ...props }: React.ComponentProps<typeof Pressable> & SidebarMenuButtonBaseProps): React.JSX.Element;
|
|
21
|
+
declare function SidebarMenuAction({ className, asChild: _asChild, showOnHover: _showOnHover, ...props }: React.ComponentProps<typeof Pressable> & SidebarMenuActionBaseProps): React.JSX.Element;
|
|
22
22
|
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<typeof View> & SidebarMenuBadgeBaseProps): React.JSX.Element;
|
|
23
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<typeof View> & SidebarMenuSkeletonBaseProps): React.JSX.Element;
|
|
23
|
+
declare function SidebarMenuSkeleton({ className, showIcon: _showIcon, ...props }: React.ComponentProps<typeof View> & SidebarMenuSkeletonBaseProps): React.JSX.Element;
|
|
24
24
|
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<typeof View> & SidebarMenuSubBaseProps): React.JSX.Element;
|
|
25
25
|
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<typeof View> & SidebarMenuSubItemBaseProps): React.JSX.Element;
|
|
26
|
-
declare function SidebarMenuSubButton({ className, asChild, size, isActive, ...props }: React.ComponentProps<typeof Pressable> & SidebarMenuSubButtonBaseProps): React.JSX.Element;
|
|
26
|
+
declare function SidebarMenuSubButton({ className, asChild: _asChild, size: _size, isActive: _isActive, ...props }: React.ComponentProps<typeof Pressable> & SidebarMenuSubButtonBaseProps): React.JSX.Element;
|
|
27
27
|
declare function useSidebar(): {
|
|
28
28
|
state: string;
|
|
29
29
|
open: boolean;
|
package/dist/sidebar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../src/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,qBAAqB,EACrB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAQ,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../src/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,qBAAqB,EACrB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OA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EACnB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,CAAC"}
|
package/dist/skeleton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../src/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../src/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAWzC,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,qBAkBrF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/slider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../src/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../src/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmC5C,CAAC"}
|
package/dist/sonner.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../src/sonner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../src/sonner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAM7C,CAAC"}
|
package/dist/spinner.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpinnerBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import { ActivityIndicator } from 'react-native';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function Spinner({ className, ...props }: React.ComponentProps<typeof ActivityIndicator> & SpinnerBaseProps): React.JSX.Element;
|
|
4
|
+
declare function Spinner({ className: _className, ...props }: React.ComponentProps<typeof ActivityIndicator> & SpinnerBaseProps): React.JSX.Element;
|
|
5
5
|
export { Spinner };
|
|
6
6
|
//# sourceMappingURL=spinner.d.ts.map
|
package/dist/spinner.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../src/spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,iBAAS,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../src/spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,iBAAS,OAAO,CAAC,EACf,SAAS,EAAE,UAAU,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,gBAAgB,qBAEnE;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/switch.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SwitchBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as SwitchPrimitives from '@rn-primitives/switch';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, 'checked' | 'onCheckedChange'>, SwitchBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<import('react-native').View>>;
|
|
7
|
+
export { Switch };
|
|
8
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../src/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,WACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,EAAE,SAAS,GAAG,iBAAiB,CAAC,EACjG,eAAe;CAAG;AAEtB,QAAA,MAAM,MAAM,iGAmBX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NativeScrollEvent, NativeSyntheticEvent, ScrollView } from 'react-native';
|
|
2
1
|
import { HeadingItem as BaseHeadingItem, TableOfContentsContentBaseProps, TableOfContentsRootBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { NativeScrollEvent, NativeSyntheticEvent, ScrollView } from 'react-native';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
interface HeadingItem extends BaseHeadingItem {
|
|
5
5
|
pageY: number;
|
|
@@ -15,33 +15,25 @@ interface TOCContextValue {
|
|
|
15
15
|
scrollViewRef: React.RefObject<ScrollView | null>;
|
|
16
16
|
}
|
|
17
17
|
export declare function useTOC(): TOCContextValue;
|
|
18
|
-
/**
|
|
19
|
-
* Native Table of Contents Provider
|
|
20
|
-
*/
|
|
18
|
+
/** Native Table of Contents Provider */
|
|
21
19
|
export declare function TableOfContents({ children, activeId: activeIdOverride }: TableOfContentsRootBaseProps): React.JSX.Element;
|
|
22
20
|
export declare namespace TableOfContents {
|
|
23
21
|
var List: typeof TableOfContentsList;
|
|
24
22
|
var Content: typeof TableOfContentsContent;
|
|
25
23
|
var Heading: typeof TableOfContentsHeader;
|
|
26
24
|
}
|
|
27
|
-
/**
|
|
28
|
-
* Heading component that registers itself with the TOC provider
|
|
29
|
-
*/
|
|
25
|
+
/** Heading component that registers itself with the TOC provider */
|
|
30
26
|
export declare function TableOfContentsHeader({ children, level, id: manualId, className, }: {
|
|
31
27
|
children: string;
|
|
32
28
|
level?: number;
|
|
33
29
|
id?: string;
|
|
34
30
|
className?: string;
|
|
35
31
|
}): React.JSX.Element;
|
|
36
|
-
/**
|
|
37
|
-
* Renders the TOC list of links
|
|
38
|
-
*/
|
|
32
|
+
/** Renders the TOC list of links */
|
|
39
33
|
export declare function TableOfContentsList({ className }: {
|
|
40
34
|
className?: string;
|
|
41
35
|
}): React.JSX.Element | null;
|
|
42
|
-
/**
|
|
43
|
-
* Wrapper for content that handles scrolling
|
|
44
|
-
*/
|
|
36
|
+
/** Wrapper for content that handles scrolling */
|
|
45
37
|
export declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps): React.JSX.Element;
|
|
46
38
|
export { TableOfContentsHeader as TableOfContentsHeading };
|
|
47
39
|
//# sourceMappingURL=table-of-contents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-of-contents.d.ts","sourceRoot":"","sources":["../src/table-of-contents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"table-of-contents.d.ts","sourceRoot":"","sources":["../src/table-of-contents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,IAAI,eAAe,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAqB,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EAA4B,UAAU,EAA0B,MAAM,cAAc,CAAC;AAK5F,UAAU,WAAY,SAAQ,eAAe;IAC3C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,eAAe;IACvB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClF,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACnE,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;CACnD;AAID,wBAAgB,MAAM,oBAMrB;AAED,wCAAwC;AACxC,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,4BAA4B,qBAwFrG;yBAxFe,eAAe;;;;;AA0F/B,oEAAoE;AACpE,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,KAAS,EACT,EAAE,EAAE,QAAQ,EACZ,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,qBAuBA;AAED,oCAAoC;AACpC,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,4BAsCxE;AAED,iDAAiD;AACjD,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,+BAA+B,qBAgB9F;AAED,OAAO,EAAE,qBAAqB,IAAI,sBAAsB,EAAE,CAAC"}
|
package/dist/table.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Table: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
4
|
+
declare const TableHeader: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
5
|
+
declare const TableBody: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
6
|
+
declare const TableFooter: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
7
|
+
declare const TableRow: React.ForwardRefExoticComponent<import('react-native').ViewProps & React.RefAttributes<View>>;
|
|
8
|
+
declare const TableHead: React.ForwardRefExoticComponent<Omit<import('./text').TextProps & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
9
|
+
declare const TableCell: React.ForwardRefExoticComponent<Omit<import('./text').TextProps & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
10
|
+
declare const TableCaption: React.ForwardRefExoticComponent<Omit<import('./text').TextProps & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
11
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
12
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAKpC,QAAA,MAAM,KAAK,+FAIV,CAAC;AAGF,QAAA,MAAM,WAAW,+FAEhB,CAAC;AAGF,QAAA,MAAM,SAAS,+FAEd,CAAC;AAGF,QAAA,MAAM,WAAW,+FAIhB,CAAC;AAGF,QAAA,MAAM,QAAQ,+FAWb,CAAC;AAGF,QAAA,MAAM,SAAS,gLAWd,CAAC;AAGF,QAAA,MAAM,SAAS,gLAId,CAAC;AAGF,QAAA,MAAM,YAAY,gLAIjB,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/tabs.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TabsBaseProps, TabsContentBaseProps, TabsListBaseProps, TabsTriggerBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as TabsPrimitive from '@rn-primitives/tabs';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<Omit<import('react-native').ViewProps & {
|
|
5
|
+
asChild?: boolean;
|
|
6
|
+
} & {
|
|
7
|
+
value: string;
|
|
8
|
+
onValueChange: (value: string) => void;
|
|
9
|
+
orientation?: "horizontal" | "vertical";
|
|
10
|
+
dir?: "ltr" | "rtl";
|
|
11
|
+
activationMode?: "automatic" | "manual";
|
|
12
|
+
} & React.RefAttributes<import('react-native').View>, "ref">, "defaultValue" | "value" | "onValueChange"> & TabsBaseProps & React.RefAttributes<import('react-native').View>>;
|
|
13
|
+
export type TabsProps = Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'onValueChange' | 'value' | 'defaultValue'> & TabsBaseProps;
|
|
14
|
+
export interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, TabsListBaseProps {
|
|
15
|
+
}
|
|
16
|
+
export interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, 'children' | 'disabled'>, TabsTriggerBaseProps {
|
|
17
|
+
}
|
|
18
|
+
export interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, TabsContentBaseProps {
|
|
19
|
+
}
|
|
20
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<import('react-native').View>>;
|
|
21
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<import('react-native').View>>;
|
|
22
|
+
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<import('react-native').View>>;
|
|
23
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
24
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../src/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACrH,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,IAAI;;;;;;;;6KAUT,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,IAAI,CAC1B,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EACzD,eAAe,GAAG,OAAO,GAAG,cAAc,CAC3C,GACC,aAAa,CAAC;AAChB,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB;CAAG;AACtH,MAAM,WAAW,gBACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,EAC3F,oBAAoB;CAAG;AAC3B,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,EAAE,oBAAoB;CAAG;AAE/F,QAAA,MAAM,QAAQ,mGAWb,CAAC;AAGF,QAAA,MAAM,WAAW,sGAuBhB,CAAC;AAGF,QAAA,MAAM,WAAW,sGAWhB,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
|
package/dist/text.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { Text as RNText } from 'react-native';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
declare const TextClassContext: React.Context<string | undefined>;
|
|
6
|
+
declare const textVariants: (props?: ({
|
|
7
|
+
variant?: "body" | "caption" | "h1" | "h2" | "h3" | "h4" | "label" | "bodySmall" | "overline" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export interface TextProps extends React.ComponentPropsWithoutRef<typeof RNText>, VariantProps<typeof textVariants>, TextBaseProps {
|
|
10
|
+
}
|
|
11
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<RNText>>;
|
|
12
|
+
export { Text, TextClassContext, textVariants };
|
|
13
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../src/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAI9C,QAAA,MAAM,gBAAgB,mCAAqD,CAAC;AAE5E,QAAA,MAAM,YAAY;;8EAiBhB,CAAC;AAEH,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,MAAM,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC,EAAE,aAAa;CAAG;AAE5G,QAAA,MAAM,IAAI,0EAQT,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TextInput } from 'react-native';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type TextareaProps = React.ComponentPropsWithoutRef<typeof TextInput>;
|
|
4
|
+
declare const Textarea: React.ForwardRefExoticComponent<import('react-native').TextInputProps & React.RefAttributes<TextInput>>;
|
|
5
|
+
export { Textarea };
|
|
6
|
+
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../src/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7E,QAAA,MAAM,QAAQ,yGAiBb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../src/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../src/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACnC,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,MAAM,EAAE,OAAO,YAAY,CAAC,KAAK,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;CAC9D;AAED,eAAO,MAAM,YAAY,yCAAsD,CAAC;AAEhF,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBA8ChG"}
|
package/dist/theme-toggle.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThemeToggleBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
export type ThemeToggleProps = ThemeToggleBaseProps;
|
|
3
|
-
export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import(
|
|
3
|
+
export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import('react').JSX.Element;
|
|
4
4
|
//# sourceMappingURL=theme-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../src/theme-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../src/theme-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAe7D,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAiCpD,wBAAgB,WAAW,CAAC,EAAE,OAAkB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BA6D1G"}
|