@gv-tech/ui-native 2.15.2 → 2.16.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/index.d.ts +35 -0
- package/dist/ui-native.mjs +690 -569
- package/package.json +1 -1
- package/src/index.ts +8 -0
- package/src/lib/utils.ts +10 -0
- package/src/table-of-contents.tsx +237 -0
- package/src/toast.tsx +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ import { SelectSeparatorBaseProps } from '../../ui-core/src';
|
|
|
28
28
|
import { SelectTriggerBaseProps } from '../../ui-core/src';
|
|
29
29
|
import { SwitchBaseProps } from '../../ui-core/src';
|
|
30
30
|
import * as SwitchPrimitive from '@rn-primitives/switch';
|
|
31
|
+
import { TableOfContentsContentBaseProps } from '../../ui-core/src';
|
|
32
|
+
import { TableOfContentsRootBaseProps } from '../../ui-core/src';
|
|
31
33
|
import { TabsContentBaseProps } from '../../ui-core/src';
|
|
32
34
|
import { TabsListBaseProps } from '../../ui-core/src';
|
|
33
35
|
import * as TabsPrimitive from '@rn-primitives/tabs';
|
|
@@ -476,6 +478,39 @@ export declare const TableHead: React_2.ForwardRefExoticComponent<Omit<TextProps
|
|
|
476
478
|
|
|
477
479
|
export declare const TableHeader: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
478
480
|
|
|
481
|
+
/**
|
|
482
|
+
* Native Table of Contents Provider
|
|
483
|
+
*/
|
|
484
|
+
export declare function TableOfContents({ children, activeId: activeIdOverride }: TableOfContentsRootBaseProps): JSX.Element;
|
|
485
|
+
|
|
486
|
+
export declare namespace TableOfContents {
|
|
487
|
+
var List: typeof TableOfContentsList;
|
|
488
|
+
var Content: typeof TableOfContentsContent;
|
|
489
|
+
var Heading: typeof TableOfContentsHeading;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Wrapper for content that handles scrolling
|
|
494
|
+
*/
|
|
495
|
+
export declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps): JSX.Element;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Heading component that registers itself with the TOC provider
|
|
499
|
+
*/
|
|
500
|
+
export declare function TableOfContentsHeading({ children, level, id: manualId, className, }: {
|
|
501
|
+
children: string;
|
|
502
|
+
level?: number;
|
|
503
|
+
id?: string;
|
|
504
|
+
className?: string;
|
|
505
|
+
}): JSX.Element;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Renders the TOC list of links
|
|
509
|
+
*/
|
|
510
|
+
export declare function TableOfContentsList({ className }: {
|
|
511
|
+
className?: string;
|
|
512
|
+
}): JSX.Element | null;
|
|
513
|
+
|
|
479
514
|
export declare const TableRow: React_2.ForwardRefExoticComponent<ViewProps & React_2.RefAttributes<View>>;
|
|
480
515
|
|
|
481
516
|
export declare const Tabs: React_2.ForwardRefExoticComponent<ViewProps & {
|