@gv-tech/ui-native 2.21.0 → 2.22.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/dist/accordion.d.ts +13 -0
- package/dist/accordion.d.ts.map +1 -0
- package/dist/accordion.test.d.ts +2 -0
- package/dist/accordion.test.d.ts.map +1 -0
- 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/alert.test.d.ts +2 -0
- package/dist/alert.test.d.ts.map +1 -0
- package/dist/aspect-ratio.d.ts +4 -0
- package/dist/aspect-ratio.d.ts.map +1 -0
- package/dist/avatar.d.ts +10 -0
- package/dist/avatar.d.ts.map +1 -0
- package/dist/avatar.test.d.ts +2 -0
- package/dist/avatar.test.d.ts.map +1 -0
- package/dist/badge.d.ts +12 -0
- package/dist/badge.d.ts.map +1 -0
- package/dist/badge.test.d.ts +2 -0
- package/dist/badge.test.d.ts.map +1 -0
- package/dist/breadcrumb.d.ts +24 -0
- package/dist/breadcrumb.d.ts.map +1 -0
- package/dist/button.d.ts +14 -0
- package/dist/button.d.ts.map +1 -0
- package/dist/button.test.d.ts +2 -0
- package/dist/button.test.d.ts.map +1 -0
- package/dist/calendar.d.ts +4 -0
- package/dist/calendar.d.ts.map +1 -0
- package/dist/card.d.ts +13 -0
- package/dist/card.d.ts.map +1 -0
- package/dist/card.test.d.ts +2 -0
- package/dist/card.test.d.ts.map +1 -0
- package/dist/carousel.d.ts +8 -0
- package/dist/carousel.d.ts.map +1 -0
- package/dist/chart.d.ts +13 -0
- package/dist/chart.d.ts.map +1 -0
- package/dist/checkbox.d.ts +15 -0
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/checkbox.test.d.ts +2 -0
- package/dist/checkbox.test.d.ts.map +1 -0
- package/dist/collapsible.d.ts +8 -0
- package/dist/collapsible.d.ts.map +1 -0
- package/dist/collapsible.test.d.ts +2 -0
- package/dist/collapsible.test.d.ts.map +1 -0
- package/dist/command.d.ts +14 -0
- package/dist/command.d.ts.map +1 -0
- 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/dialog.test.d.ts +2 -0
- package/dist/dialog.test.d.ts.map +1 -0
- package/dist/drawer.d.ts +31 -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/form.d.ts +2 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/hooks/use-toast.d.ts +46 -0
- package/dist/hooks/use-toast.d.ts.map +1 -0
- package/dist/hover-card.d.ts +23 -0
- package/dist/hover-card.d.ts.map +1 -0
- package/dist/index.d.ts +67 -1199
- package/dist/index.d.ts.map +1 -0
- package/dist/input.d.ts +8 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/input.test.d.ts +2 -0
- package/dist/input.test.d.ts.map +1 -0
- package/dist/label.d.ts +9 -0
- package/dist/label.d.ts.map +1 -0
- package/dist/label.test.d.ts +2 -0
- package/dist/label.test.d.ts.map +1 -0
- package/dist/lib/render-native.d.ts +4 -0
- package/dist/lib/render-native.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +4 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/menubar.d.ts +53 -0
- package/dist/menubar.d.ts.map +1 -0
- package/dist/navigation-menu.d.ts +14 -0
- package/dist/navigation-menu.d.ts.map +1 -0
- package/dist/pagination.d.ts +33 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/popover.d.ts +9 -0
- package/dist/popover.d.ts.map +1 -0
- package/dist/popover.test.d.ts +2 -0
- package/dist/popover.test.d.ts.map +1 -0
- package/dist/progress.d.ts +6 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/progress.test.d.ts +2 -0
- package/dist/progress.test.d.ts.map +1 -0
- package/dist/radio-group.d.ts +11 -0
- package/dist/radio-group.d.ts.map +1 -0
- package/dist/radio-group.test.d.ts +2 -0
- package/dist/radio-group.test.d.ts.map +1 -0
- package/dist/resizable.d.ts +6 -0
- package/dist/resizable.d.ts.map +1 -0
- package/dist/scroll-area.d.ts +6 -0
- package/dist/scroll-area.d.ts.map +1 -0
- package/dist/scroll-to-top.d.ts +29 -0
- package/dist/scroll-to-top.d.ts.map +1 -0
- package/dist/search.d.ts +3 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.test.d.ts +2 -0
- package/dist/search.test.d.ts.map +1 -0
- package/dist/select.d.ts +66 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/select.test.d.ts +2 -0
- package/dist/select.test.d.ts.map +1 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.d.ts.map +1 -0
- package/dist/separator.test.d.ts +2 -0
- package/dist/separator.test.d.ts.map +1 -0
- package/dist/sheet.d.ts +59 -0
- package/dist/sheet.d.ts.map +1 -0
- package/dist/sheet.test.d.ts +2 -0
- package/dist/sheet.test.d.ts.map +1 -0
- package/dist/skeleton.d.ts +5 -0
- package/dist/skeleton.d.ts.map +1 -0
- package/dist/skeleton.test.d.ts +2 -0
- package/dist/skeleton.test.d.ts.map +1 -0
- package/dist/slider.d.ts +4 -0
- package/dist/slider.d.ts.map +1 -0
- package/dist/sonner.d.ts +4 -0
- package/dist/sonner.d.ts.map +1 -0
- package/dist/support-fab.d.ts +18 -0
- package/dist/support-fab.d.ts.map +1 -0
- package/dist/switch.d.ts +8 -0
- package/dist/switch.d.ts.map +1 -0
- package/dist/switch.test.d.ts +2 -0
- package/dist/switch.test.d.ts.map +1 -0
- package/dist/table-of-contents.d.ts +47 -0
- package/dist/table-of-contents.d.ts.map +1 -0
- package/dist/table-of-contents.test.d.ts +2 -0
- package/dist/table-of-contents.test.d.ts.map +1 -0
- package/dist/table.d.ts +12 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/table.test.d.ts +2 -0
- package/dist/table.test.d.ts.map +1 -0
- package/dist/tabs.d.ts +30 -0
- package/dist/tabs.d.ts.map +1 -0
- package/dist/tabs.test.d.ts +2 -0
- package/dist/tabs.test.d.ts.map +1 -0
- package/dist/text.d.ts +13 -0
- package/dist/text.d.ts.map +1 -0
- package/dist/text.test.d.ts +2 -0
- package/dist/text.test.d.ts.map +1 -0
- package/dist/textarea.d.ts +6 -0
- package/dist/textarea.d.ts.map +1 -0
- package/dist/textarea.test.d.ts +2 -0
- package/dist/textarea.test.d.ts.map +1 -0
- package/dist/theme-provider.d.ts +6 -0
- package/dist/theme-provider.d.ts.map +1 -0
- package/dist/theme-toggle.d.ts +4 -0
- package/dist/theme-toggle.d.ts.map +1 -0
- package/dist/theme-toggle.test.d.ts +2 -0
- package/dist/theme-toggle.test.d.ts.map +1 -0
- package/dist/toast.d.ts +35 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toast.test.d.ts +2 -0
- package/dist/toast.test.d.ts.map +1 -0
- package/dist/toaster.d.ts +5 -0
- package/dist/toaster.d.ts.map +1 -0
- package/dist/toggle-group.d.ts +11 -0
- package/dist/toggle-group.d.ts.map +1 -0
- package/dist/toggle-group.test.d.ts +2 -0
- package/dist/toggle-group.test.d.ts.map +1 -0
- package/dist/toggle.d.ts +8 -0
- package/dist/toggle.d.ts.map +1 -0
- package/dist/toggle.test.d.ts +2 -0
- package/dist/toggle.test.d.ts.map +1 -0
- package/dist/tooltip.d.ts +30 -0
- package/dist/tooltip.d.ts.map +1 -0
- package/dist/tooltip.test.d.ts +2 -0
- package/dist/tooltip.test.d.ts.map +1 -0
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.mjs +484 -434
- package/package.json +2 -1
- package/src/theme-provider.tsx +5 -2
- package/src/theme-toggle.tsx +87 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.test.d.ts","sourceRoot":"","sources":["../src/switch.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { NativeScrollEvent, NativeSyntheticEvent, ScrollView } from 'react-native';
|
|
2
|
+
import { HeadingItem as BaseHeadingItem, TableOfContentsContentBaseProps, TableOfContentsRootBaseProps } from '@gv-tech/ui-core';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
interface HeadingItem extends BaseHeadingItem {
|
|
5
|
+
pageY: number;
|
|
6
|
+
}
|
|
7
|
+
interface TOCContextValue {
|
|
8
|
+
headings: HeadingItem[];
|
|
9
|
+
activeId: string | null;
|
|
10
|
+
activeHeadingText: string | null;
|
|
11
|
+
registerHeading: (id: string, text: string, level: number, pageY: number) => void;
|
|
12
|
+
unregisterHeading: (id: string) => void;
|
|
13
|
+
scrollToHeading: (id: string) => void;
|
|
14
|
+
onScroll: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
15
|
+
scrollViewRef: React.RefObject<ScrollView | null>;
|
|
16
|
+
}
|
|
17
|
+
export declare function useTOC(): TOCContextValue;
|
|
18
|
+
/**
|
|
19
|
+
* Native Table of Contents Provider
|
|
20
|
+
*/
|
|
21
|
+
export declare function TableOfContents({ children, activeId: activeIdOverride }: TableOfContentsRootBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare namespace TableOfContents {
|
|
23
|
+
var List: typeof TableOfContentsList;
|
|
24
|
+
var Content: typeof TableOfContentsContent;
|
|
25
|
+
var Heading: typeof TableOfContentsHeader;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Heading component that registers itself with the TOC provider
|
|
29
|
+
*/
|
|
30
|
+
export declare function TableOfContentsHeader({ children, level, id: manualId, className, }: {
|
|
31
|
+
children: string;
|
|
32
|
+
level?: number;
|
|
33
|
+
id?: string;
|
|
34
|
+
className?: string;
|
|
35
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
/**
|
|
37
|
+
* Renders the TOC list of links
|
|
38
|
+
*/
|
|
39
|
+
export declare function TableOfContentsList({ className }: {
|
|
40
|
+
className?: string;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
42
|
+
/**
|
|
43
|
+
* Wrapper for content that handles scrolling
|
|
44
|
+
*/
|
|
45
|
+
export declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export { TableOfContentsHeader as TableOfContentsHeading };
|
|
47
|
+
//# sourceMappingURL=table-of-contents.d.ts.map
|
|
@@ -0,0 +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,EAEL,iBAAiB,EACjB,oBAAoB,EAGpB,UAAU,EAGX,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,WAAW,IAAI,eAAe,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAI1B,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;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,4BAA4B,2CAwFrG;yBAxFe,eAAe;;;;;AA0F/B;;GAEG;AACH,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,2CAuBA;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,kDAiCxE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,+BAA+B,2CAgB9F;AAED,OAAO,EAAE,qBAAqB,IAAI,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-of-contents.test.d.ts","sourceRoot":"","sources":["../src/table-of-contents.test.tsx"],"names":[],"mappings":""}
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.test.d.ts","sourceRoot":"","sources":["../src/table.test.tsx"],"names":[],"mappings":""}
|
package/dist/tabs.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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">, "value" | "onValueChange"> & Omit<TabsBaseProps, "value"> & {
|
|
13
|
+
value: string;
|
|
14
|
+
onValueChange: (value: string) => void;
|
|
15
|
+
} & React.RefAttributes<import('react-native').View>>;
|
|
16
|
+
export type TabsProps = Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'onValueChange' | 'value'> & Omit<TabsBaseProps, 'value'> & {
|
|
17
|
+
value: string;
|
|
18
|
+
onValueChange: (value: string) => void;
|
|
19
|
+
};
|
|
20
|
+
export interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, TabsListBaseProps {
|
|
21
|
+
}
|
|
22
|
+
export interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, 'children' | 'disabled'>, TabsTriggerBaseProps {
|
|
23
|
+
}
|
|
24
|
+
export interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, TabsContentBaseProps {
|
|
25
|
+
}
|
|
26
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<import('react-native').View>>;
|
|
27
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<import('react-native').View>>;
|
|
28
|
+
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<import('react-native').View>>;
|
|
29
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
30
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../src/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAChH,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,IAAI;;;;;;;;;WAMgC,MAAM;mBAAiB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;qDAJtF,CAAC;AAGH,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,GAChH,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAAC;AAC3F,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.test.d.ts","sourceRoot":"","sources":["../src/tabs.test.tsx"],"names":[],"mappings":""}
|
package/dist/text.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Text as RNText } from 'react-native';
|
|
3
|
+
import { TextBaseProps } from '@gv-tech/ui-core';
|
|
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,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;AAE9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,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 @@
|
|
|
1
|
+
{"version":3,"file":"text.test.d.ts","sourceRoot":"","sources":["../src/text.test.tsx"],"names":[],"mappings":""}
|
|
@@ -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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.test.d.ts","sourceRoot":"","sources":["../src/textarea.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../src/theme-provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAGvG"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ThemeToggleBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
export type ThemeToggleProps = ThemeToggleBaseProps;
|
|
3
|
+
export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=theme-toggle.d.ts.map
|
|
@@ -0,0 +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;AASxD,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAAE,OAAkB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CA+E1G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-toggle.test.d.ts","sourceRoot":"","sources":["../src/theme-toggle.test.tsx"],"names":[],"mappings":""}
|
package/dist/toast.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const ToastProvider: ({ children }: {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const ToastViewport: () => null;
|
|
6
|
+
declare const Toast: React.ForwardRefExoticComponent<Omit<import('react-native').ViewProps & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
} & {
|
|
9
|
+
open: boolean;
|
|
10
|
+
onOpenChange: (value: boolean) => void;
|
|
11
|
+
type?: "foreground" | "background";
|
|
12
|
+
} & React.RefAttributes<import('react-native').View>, "ref"> & {
|
|
13
|
+
variant?: "default" | "destructive";
|
|
14
|
+
} & React.RefAttributes<import('react-native').View>>;
|
|
15
|
+
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<import('react-native').TextProps & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
} & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
18
|
+
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<import('react-native').TextProps & {
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
} & React.RefAttributes<import('react-native').Text>, "ref"> & React.RefAttributes<import('react-native').Text>>;
|
|
21
|
+
declare const ToastClose: React.ForwardRefExoticComponent<Omit<Omit<import('react-native').PressableProps & React.RefAttributes<import('react-native').View>, "ref"> & {
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
} & {
|
|
24
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
25
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
26
|
+
} & React.RefAttributes<import('react-native').View>, "ref"> & React.RefAttributes<import('react-native').View>>;
|
|
27
|
+
declare const ToastAction: React.ForwardRefExoticComponent<Omit<Omit<import('react-native').PressableProps & React.RefAttributes<import('react-native').View>, "ref"> & {
|
|
28
|
+
asChild?: boolean;
|
|
29
|
+
} & {
|
|
30
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
31
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
32
|
+
} & React.RefAttributes<import('react-native').View>, "ref"> & React.RefAttributes<import('react-native').View>>;
|
|
33
|
+
export type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
34
|
+
export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport };
|
|
35
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../src/toast.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAAoB,CAAC;AACvF,QAAA,MAAM,aAAa,YAAa,CAAC;AAEjC,QAAA,MAAM,KAAK;;;;;;;cAEgE,SAAS,GAAG,aAAa;qDAiBlG,CAAC;AAGH,QAAA,MAAM,UAAU;;gHAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB;;gHASpB,CAAC;AAGH,QAAA,MAAM,UAAU;;;;;gHAcd,CAAC;AAGH,QAAA,MAAM,WAAW;;;;;gHAYf,CAAC;AAGH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.test.d.ts","sourceRoot":"","sources":["../src/toast.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../src/toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmB9C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ToggleGroupBaseProps, ToggleGroupItemBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@rn-primitives/toggle-group';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ToggleGroupProps extends Omit<React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>, 'value' | 'onValueChange' | 'type'>, ToggleGroupBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<ToggleGroupProps & React.RefAttributes<import('react-native').View>>;
|
|
7
|
+
export interface ToggleGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, 'children' | 'disabled'>, ToggleGroupItemBaseProps {
|
|
8
|
+
}
|
|
9
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<import('react-native').View>>;
|
|
10
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
11
|
+
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../src/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,WAAW,gBACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,eAAe,GAAG,MAAM,CAAC,EAC1G,oBAAoB;CAAG;AAE3B,QAAA,MAAM,WAAW,sGAehB,CAAC;AAIF,MAAM,WAAW,oBACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,EAC/F,wBAAwB;CAAG;AAE/B,QAAA,MAAM,eAAe,0GA8BpB,CAAC;AAIF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-group.test.d.ts","sourceRoot":"","sources":["../src/toggle-group.test.tsx"],"names":[],"mappings":""}
|
package/dist/toggle.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ToggleBaseProps, toggleVariants } from '@gv-tech/ui-core';
|
|
2
|
+
import * as TogglePrimitive from '@rn-primitives/toggle';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ToggleProps extends Omit<React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, 'pressed' | 'onPressedChange' | 'children'>, ToggleBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<import('react-native').View>>;
|
|
7
|
+
export { Toggle, toggleVariants };
|
|
8
|
+
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../src/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,WACf,SACE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,SAAS,GAAG,iBAAiB,GAAG,UAAU,CAAC,EAC7G,eAAe;CAAG;AAEtB,QAAA,MAAM,MAAM,iGAkBX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.test.d.ts","sourceRoot":"","sources":["../src/toggle.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as TooltipPrimitive from '@rn-primitives/tooltip';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Tooltip: {
|
|
4
|
+
({ asChild, delayDuration: _delayDuration, skipDelayDuration: _skipDelayDuration, disableHoverableContent: _disableHoverableContent, onOpenChange: onOpenChangeProp, ref, ...viewProps }: import('react-native').ViewProps & {
|
|
5
|
+
asChild?: boolean;
|
|
6
|
+
} & {
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
delayDuration?: number;
|
|
9
|
+
skipDelayDuration?: number;
|
|
10
|
+
disableHoverableContent?: boolean;
|
|
11
|
+
} & React.RefAttributes<import('react-native').View>): React.JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
declare const TooltipTrigger: {
|
|
15
|
+
({ asChild, onPress: onPressProp, disabled, ref, ...props }: Omit<import('react-native').PressableProps & React.RefAttributes<import('react-native').View>, "ref"> & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
} & {
|
|
18
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
19
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
20
|
+
} & React.RefAttributes<import('@rn-primitives/tooltip').TriggerRef>): React.JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {
|
|
24
|
+
portalHost?: string;
|
|
25
|
+
} & React.RefAttributes<React.ElementRef<typeof TooltipPrimitive.Content>>>;
|
|
26
|
+
declare const TooltipProvider: ({ children }: {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
30
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../src/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,OAAO;;;;;;;;;;CAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc;;;;;;;;CAA2B,CAAC;AAEhD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,yBAAyB,CACnD,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAC3G,KAAK,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAClD,CAqBH,CAAC;AAGH,QAAA,MAAM,eAAe,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAAoB,CAAC;AAEzF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.test.d.ts","sourceRoot":"","sources":["../src/tooltip.test.tsx"],"names":[],"mappings":""}
|