@contractspec/lib.ui-kit 1.46.1 → 1.47.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/ui/accordion.d.ts +5 -5
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/alert-dialog.d.ts +9 -9
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert.d.ts +4 -4
- package/dist/ui/aspect-ratio.d.ts +5 -5
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +1 -1
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +1 -1
- package/dist/ui/atoms/Pagination/Pagination.js.map +1 -1
- package/dist/ui/atoms/SearchInput/SearchInput.js.map +1 -1
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/button.d.ts +7 -7
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/card.d.ts +7 -7
- package/dist/ui/checkbox.d.ts +3 -3
- package/dist/ui/collapsible.d.ts +8 -8
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/date-picker.d.ts +2 -2
- package/dist/ui/date-range-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts +2 -2
- package/dist/ui/dialog.d.ts +10 -10
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/empty-state.d.ts +4 -4
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/fab.d.ts +3 -3
- package/dist/ui/field.d.ts +13 -13
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/input.d.ts +2 -2
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/link.d.ts +2 -2
- package/dist/ui/link.d.ts.map +1 -1
- package/dist/ui/loading-button.d.ts +2 -2
- package/dist/ui/loading-button.d.ts.map +1 -1
- package/dist/ui/loading-overlay.d.ts +2 -2
- package/dist/ui/loading-overlay.d.ts.map +1 -1
- package/dist/ui/loading-screen.d.ts +2 -2
- package/dist/ui/loading-screen.d.ts.map +1 -1
- package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
- package/dist/ui/marketing/FeatureGrid.d.ts.map +1 -1
- package/dist/ui/marketing/Hero.d.ts +2 -2
- package/dist/ui/marketing/Hero.d.ts.map +1 -1
- package/dist/ui/marketing/PricingTable.d.ts +2 -2
- package/dist/ui/marketing/PricingTable.d.ts.map +1 -1
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +0 -2
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +1 -1
- package/dist/ui/molecules/SkeletonList.d.ts +2 -2
- package/dist/ui/molecules/SkeletonList.d.ts.map +1 -1
- package/dist/ui/navigation-menu.d.ts +12 -12
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
- package/dist/ui/organisms/ListPage/ListPage.d.ts.map +1 -1
- package/dist/ui/organisms/ListPage/ListPage.js +0 -2
- package/dist/ui/organisms/ListPage/ListPage.js.map +1 -1
- package/dist/ui/page-header.d.ts +4 -4
- package/dist/ui/page-header.d.ts.map +1 -1
- package/dist/ui/password-strength.d.ts +2 -2
- package/dist/ui/password-strength.js.map +1 -1
- package/dist/ui/popover.d.ts +6 -6
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/select.d.ts +13 -13
- package/dist/ui/separator.d.ts +2 -2
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/stack.d.ts +17 -17
- package/dist/ui/stack.d.ts.map +1 -1
- package/dist/ui/stepper.d.ts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.ts +8 -8
- package/dist/ui/tabs.d.ts +9 -9
- package/dist/ui/text.d.ts +2 -2
- package/dist/ui/time-picker.d.ts +2 -2
- package/dist/ui/time-picker.d.ts.map +1 -1
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle.d.ts +6 -6
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +6 -6
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/typography.d.ts +12 -12
- package/dist/ui/typography.d.ts.map +1 -1
- package/dist/ui/useColorScheme.d.ts +2 -2
- package/dist/ui/useListState.js.map +1 -1
- package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
- package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
- package/dist/ui/usecases/UserStoryCard.d.ts.map +1 -1
- package/package.json +13 -10
package/dist/ui/accordion.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@rn-primitives/accordion";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/accordion.d.ts
|
|
6
6
|
declare function Accordion({
|
|
@@ -8,14 +8,14 @@ declare function Accordion({
|
|
|
8
8
|
...props
|
|
9
9
|
}: Omit<AccordionPrimitive.RootProps, 'asChild'> & {
|
|
10
10
|
ref?: React$1.RefObject<AccordionPrimitive.RootRef>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
12
12
|
declare function AccordionItem({
|
|
13
13
|
className,
|
|
14
14
|
value,
|
|
15
15
|
...props
|
|
16
16
|
}: AccordionPrimitive.ItemProps & {
|
|
17
17
|
ref?: React$1.RefObject<AccordionPrimitive.ItemRef>;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
19
19
|
declare function AccordionTrigger({
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
@@ -23,14 +23,14 @@ declare function AccordionTrigger({
|
|
|
23
23
|
}: AccordionPrimitive.TriggerProps & {
|
|
24
24
|
children?: React$1.ReactNode;
|
|
25
25
|
ref?: React$1.RefObject<AccordionPrimitive.TriggerRef>;
|
|
26
|
-
}):
|
|
26
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
27
27
|
declare function AccordionContent({
|
|
28
28
|
className,
|
|
29
29
|
children,
|
|
30
30
|
...props
|
|
31
31
|
}: AccordionPrimitive.ContentProps & {
|
|
32
32
|
ref?: React$1.RefObject<AccordionPrimitive.ContentRef>;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
36
36
|
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","names":[],"sources":["../../ui/accordion.tsx"],"sourcesContent":[],"mappings":";;;;;iBAkBS,SAAA;;;GAGN,KAAK,kBAAA,CAAmB;QACnB,OAAA,CAAM,UAAU,kBAAA,CAAmB;IAC1C,
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","names":[],"sources":["../../ui/accordion.tsx"],"sourcesContent":[],"mappings":";;;;;iBAkBS,SAAA;;;GAGN,KAAK,kBAAA,CAAmB;QACnB,OAAA,CAAM,UAAU,kBAAA,CAAmB;IAC1C,kBAAA,CAAA,GAAA,CAAA;AAtB8B,iBAqCtB,aAAA,CApBS;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;CAAA,EAwBf,kBAAA,CAAmB,SAxBJ,GAAA;EAChB,GAAA,CAAA,EAwBM,OAAA,CAAM,SAxBZ,CAwBsB,kBAAA,CAAmB,OAxBzC,CAAA;CAEM,CAAA,EAuBP,kBAAA,CAAA,GAAA,CAAA,OAvB0B;iBAwClB,gBAAA,CAxCN;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EA4CA,kBAAA,CAAmB,YA5CnB,GAAA;EACqB,QAAA,CAAA,EA4CX,OAAA,CAAM,SA5CwB;EAAnC,GAAA,CAAA,EA6CA,OAAA,CAAM,SA7CA,CA6CU,kBAAA,CAAmB,UA7C7B,CAAA;CACb,CAAA,EA6CA,kBAAA,CAAA,GAAA,CAAA,OA7CA;iBA+EQ,gBAAA,CA/ER;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAmFE,kBAAA,CAAmB,YAnFrB,GAAA;EAeQ,GAAA,CAAA,EAqED,OAAA,CAAM,SArEQ,CAqEE,kBAAA,CAAmB,UArErB,CAAA;CACpB,CAAA,EAqED,kBAAA,CAAA,GAAA,CAAA,OArEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import * as react_native0 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
5
5
|
import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
|
|
6
6
|
|
|
7
7
|
//#region ui/alert-dialog.d.ts
|
|
@@ -25,7 +25,7 @@ declare function AlertDialogOverlayNative({
|
|
|
25
25
|
...props
|
|
26
26
|
}: AlertDialogPrimitive.OverlayProps & {
|
|
27
27
|
ref?: React$1.RefObject<AlertDialogPrimitive.OverlayRef>;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
29
29
|
declare const AlertDialogOverlay: typeof AlertDialogOverlayNative;
|
|
30
30
|
declare function AlertDialogContent({
|
|
31
31
|
className,
|
|
@@ -34,39 +34,39 @@ declare function AlertDialogContent({
|
|
|
34
34
|
}: AlertDialogPrimitive.ContentProps & {
|
|
35
35
|
ref?: React$1.RefObject<AlertDialogPrimitive.ContentRef>;
|
|
36
36
|
portalHost?: string;
|
|
37
|
-
}):
|
|
37
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
38
38
|
declare function AlertDialogHeader({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: ViewProps):
|
|
41
|
+
}: ViewProps): react_jsx_runtime6.JSX.Element;
|
|
42
42
|
declare function AlertDialogFooter({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: ViewProps):
|
|
45
|
+
}: ViewProps): react_jsx_runtime6.JSX.Element;
|
|
46
46
|
declare function AlertDialogTitle({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
49
|
}: AlertDialogPrimitive.TitleProps & {
|
|
50
50
|
ref?: React$1.RefObject<AlertDialogPrimitive.TitleRef>;
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
52
52
|
declare function AlertDialogDescription({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
55
|
}: AlertDialogPrimitive.DescriptionProps & {
|
|
56
56
|
ref?: React$1.RefObject<AlertDialogPrimitive.DescriptionRef>;
|
|
57
|
-
}):
|
|
57
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
58
58
|
declare function AlertDialogAction({
|
|
59
59
|
className,
|
|
60
60
|
...props
|
|
61
61
|
}: AlertDialogPrimitive.ActionProps & {
|
|
62
62
|
ref?: React$1.RefObject<AlertDialogPrimitive.ActionRef>;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
64
64
|
declare function AlertDialogCancel({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
67
|
}: AlertDialogPrimitive.CancelProps & {
|
|
68
68
|
ref?: React$1.RefObject<AlertDialogPrimitive.CancelRef>;
|
|
69
|
-
}):
|
|
69
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
72
72
|
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../../ui/alert-dialog.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAQM,aAAW,OAAA,CAAA;;;;AAN6C,CAAA,YAMxD,GAAA;;;cAEA,oBAAkB,OAAA,CAAA,0BAAA,KAA+B,aAAA,CAA/B,cAAA,GAAA,OAAA,CAAA,cAAA;EAFP,OAAA,CAAA,EAAA,OAAA;CAAA,GAAA;EAEX,SAAA,CAAA,EAAA,CAAA,EAAA,uBAAiD,EAAA,GAAA,IAAA;EAAA,OAAA,CAAA,EAAA,CAA/B,EAAA,uBAAA,EAAA,GAAA,IAAA;CAAA,wBAAA,KAAA,CAAA,CAAA;cAElB,iBAFkB,EAAA,OAED,oBAAA,CAAA,MAFC;iBAyBf,wBAAA,CAzBe;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EA6BrB,oBAAA,CAAqB,YA7BA,GAAA;QA8BhB,OAAA,CAAM,UAAU,oBAAA,CAAqB;IAC5C,
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../../ui/alert-dialog.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAQM,aAAW,OAAA,CAAA;;;;AAN6C,CAAA,YAMxD,GAAA;;;cAEA,oBAAkB,OAAA,CAAA,0BAAA,KAA+B,aAAA,CAA/B,cAAA,GAAA,OAAA,CAAA,cAAA;EAFP,OAAA,CAAA,EAAA,OAAA;CAAA,GAAA;EAEX,SAAA,CAAA,EAAA,CAAA,EAAA,uBAAiD,EAAA,GAAA,IAAA;EAAA,OAAA,CAAA,EAAA,CAA/B,EAAA,uBAAA,EAAA,GAAA,IAAA;CAAA,wBAAA,KAAA,CAAA,CAAA;cAElB,iBAFkB,EAAA,OAED,oBAAA,CAAA,MAFC;iBAyBf,wBAAA,CAzBe;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EA6BrB,oBAAA,CAAqB,YA7BA,GAAA;QA8BhB,OAAA,CAAM,UAAU,oBAAA,CAAqB;IAC5C,kBAAA,CAAA,GAAA,CAAA;cAoBK,2BAAkB;iBAKf,kBAAA;;;;AAxDe,GA4DrB,oBAAA,CAAqB;EA5DA,GAAA,CAAA,EA6DhB,OAAA,CAAM,SA7DU,CA6DA,oBAAA,CAAqB,UA7DrB,CAAA;EAAA,UAAA,CAAA,EAAA,MAAA;AAAA,CAAA,CAAA,EA+DvB,kBAAA,CAAA,GAAA,CAAA,OA7DsB;AAA8B,iBAkF5C,iBAAA,CA3DwB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2DmB,SA3DnB,CAAA,EA2D4B,kBAAA,CAAA,GAAA,CAAA,OA3D5B;iBA+DxB,iBAAA,CA9DP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8DkD,SA9DlD,CAAA,EA8D2D,kBAAA,CAAA,GAAA,CAAA,OA9D3D;iBA0EO,gBAAA,CAzEP;EAAA,SAAA;EAAA,GAAA;CAAA,EA4EC,oBAAA,CAAqB,UA5EtB,GAAA;EAEC,GAAA,CAAA,EA2EK,OAAA,CAAM,SA3EU,CA2EA,oBAAA,CAAqB,QA3ErB,CAAA;CACA,CAAA,EA2EvB,kBAAA,CAAA,GAAA,CAAA,OA3E4C;iBAuFpC,sBAAA,CAvFK;EAAA,SAAA;EAAA,GAAA;CAAA,EA0FX,oBAAA,CAAqB,gBA1FV,GAAA;EACb,GAAA,CAAA,EA0FO,OAAA,CAAM,SA1Fb,CA0FuB,oBAAA,CAAqB,cA1F5C,CAAA;CAAA,CAAA,EA2FA,kBAAA,CAAA,GAAA,CAAA,OA3FA;AAAA,iBAuGQ,iBAAA,CAhFP;EAHsB,SAAA;EAAA,GAAA;CAAA,EAsFrB,oBAAA,CAAqB,WAnFtB,GAAA;EAEO,GAAA,CAAA,EAkFD,OAAA,CAAM,SAlFa,CAkFH,oBAAA,CAAqB,SAlFlB,CAAA;CACzB,CAAA,EAkFD,kBAAA,CAAA,GAAA,CAAA,OAlFC;iBA6FO,iBAAA,CA5FP;EAAA,SAAA;EAAA,GAAA;CAAA,EA+FC,oBAAA,CAAqB,WA/FtB,GAAA;EAEC,GAAA,CAAA,EA8FK,OAAA,CAAM,SA9FU,CA8FA,oBAAA,CAAqB,SA9FrB,CAAA;CACA,CAAA,EA8FvB,kBAAA,CAAA,GAAA,CAAA,OA9F4C"}
|
package/dist/ui/alert.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Text as Text$1 } from "./text.js";
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
4
|
import { LucideIcon } from "lucide-react-native";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
7
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
8
8
|
|
|
@@ -23,15 +23,15 @@ declare function Alert({
|
|
|
23
23
|
icon: LucideIcon;
|
|
24
24
|
iconSize?: number;
|
|
25
25
|
iconClassName?: string;
|
|
26
|
-
}):
|
|
26
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
27
27
|
declare function AlertTitle({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentProps<typeof Text$1>):
|
|
30
|
+
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime3.JSX.Element;
|
|
31
31
|
declare function AlertDescription({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React$1.ComponentProps<typeof Text$1>):
|
|
34
|
+
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime3.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { Alert, AlertDescription, AlertTitle };
|
|
37
37
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
import * as react_native0 from "react-native";
|
|
3
3
|
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/aspect-ratio.d.ts
|
|
6
|
-
declare const AspectRatio:
|
|
6
|
+
declare const AspectRatio: react0.ForwardRefExoticComponent<Omit<_rn_primitives_types0.SlottableViewProps, "style"> & {
|
|
7
7
|
ratio?: number;
|
|
8
|
-
style?:
|
|
9
|
-
} &
|
|
8
|
+
style?: react_native0.ViewStyle;
|
|
9
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AspectRatio };
|
|
12
12
|
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.d.ts","names":[],"sources":["../../ui/aspect-ratio.tsx"],"sourcesContent":[],"mappings":";;;;;cAEM,oBAAW,0BAAA,KAA4B,qBAAA,CAA5B,kBAAA;;UAAA,
|
|
1
|
+
{"version":3,"file":"aspect-ratio.d.ts","names":[],"sources":["../../ui/aspect-ratio.tsx"],"sourcesContent":[],"mappings":";;;;;cAEM,oBAAW,0BAAA,KAA4B,qBAAA,CAA5B,kBAAA;;UAAA,aAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterSelect.js","names":["
|
|
1
|
+
{"version":3,"file":"FilterSelect.js","names":["Text"],"sources":["../../../../ui/atoms/FilterSelect/FilterSelect.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport { Label } from '../../label';\nimport { HStack } from '../../stack';\nimport { View } from 'react-native';\nimport { Text } from '../../text';\nimport type { FilterSelectProps } from './types';\n\nexport const FilterSelect: React.FC<FilterSelectProps> = ({\n value,\n options,\n onChange,\n placeholder = 'Sélectionner...',\n label,\n disabled = false,\n className = '',\n showCounts = false,\n}) => {\n return (\n <HStack className={`space-y-2 ${className}`}>\n {label && (\n <Label className=\"text-foreground text-base font-medium\">{label}</Label>\n )}\n <Select value={value} onValueChange={onChange} disabled={disabled}>\n <SelectTrigger className=\"w-full\">\n <SelectValue placeholder={placeholder} />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {/* All/Reset option */}\n <SelectItem value=\"all\" label=\"Tous\">\n <Text>Tous</Text>\n {showCounts && (\n <View className=\"text-muted-foreground ml-2 text-sm\">\n ({options.reduce((sum, option) => sum + (option.count || 0), 0)}\n )\n </View>\n )}\n </SelectItem>\n\n {/* Filter options */}\n {options.map((option) => (\n <SelectItem\n key={option.value}\n value={option.value}\n label={option.label}\n >\n <HStack className=\"flex w-full items-center justify-between\">\n <Text>{option.label}</Text>\n {showCounts && option.count !== undefined && (\n <Text className=\"text-muted-foreground ml-2 text-sm\">\n ({option.count})\n </Text>\n )}\n </HStack>\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </HStack>\n );\n};\n"],"mappings":";;;;;;;;;AAcA,MAAa,gBAA6C,EACxD,OACA,SACA,UACA,cAAc,mBACd,OACA,WAAW,OACX,YAAY,IACZ,aAAa,YACT;AACJ,QACE,qBAAC;EAAO,WAAW,aAAa;aAC7B,SACC,oBAAC;GAAM,WAAU;aAAyC;IAAc,EAE1E,qBAAC;GAAc;GAAO,eAAe;GAAoB;cACvD,oBAAC;IAAc,WAAU;cACvB,oBAAC,eAAyB,cAAe;KAC3B,EAChB,qBAAC;IAAc,WAAU;eAEvB,qBAAC;KAAW,OAAM;KAAM,OAAM;gBAC5B,oBAACA,oBAAK,SAAW,EAChB,cACC,qBAAC;MAAK,WAAU;;OAAqC;OACjD,QAAQ,QAAQ,KAAK,WAAW,OAAO,OAAO,SAAS,IAAI,EAAE;OAAC;;OAE3D;MAEE,EAGZ,QAAQ,KAAK,WACZ,oBAAC;KAEC,OAAO,OAAO;KACd,OAAO,OAAO;eAEd,qBAAC;MAAO,WAAU;iBAChB,oBAACA,oBAAM,OAAO,QAAa,EAC1B,cAAc,OAAO,UAAU,UAC9B,qBAACA;OAAK,WAAU;;QAAqC;QACjD,OAAO;QAAM;;QACV;OAEF;OAXJ,OAAO,MAYD,CACb;KACY;IACT;GACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingSpinner.js","names":[
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.js","names":[],"sources":["../../../../ui/atoms/LoadingSpinner/LoadingSpinner.tsx"],"sourcesContent":["import React from 'react';\nimport { Loader2 } from 'lucide-react';\nimport { cn } from '../../utils';\nimport { P } from '../../typography';\nimport { View } from 'react-native';\n\ninterface LoadingSpinnerProps {\n size?: 'sm' | 'md' | 'lg' | 'xl';\n className?: string;\n text?: string;\n fullScreen?: boolean;\n}\n\nconst sizeClasses = {\n sm: 'h-4 w-4',\n md: 'h-6 w-6',\n lg: 'h-8 w-8',\n xl: 'h-12 w-12',\n};\n\nexport const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({\n size = 'md',\n className,\n text,\n fullScreen = false,\n}) => {\n const spinner = (\n <View\n className={cn(\n 'flex flex-col items-center justify-center gap-2',\n className\n )}\n >\n <Loader2\n className={cn('text-primary-600 animate-spin', sizeClasses[size])}\n />\n {text && <P className=\"animate-pulse text-base text-gray-600\">{text}</P>}\n </View>\n );\n\n if (fullScreen) {\n return (\n <View className=\"fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-xs\">\n {spinner}\n </View>\n );\n }\n\n return spinner;\n};\n\n// Skeleton loading components for better UX\nexport const SkeletonLine: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <View className={cn('h-4 animate-pulse rounded-xs bg-gray-200', className)} />\n);\n\nexport const SkeletonCard: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <View\n className={cn(\n 'animate-pulse space-y-3 rounded-lg bg-gray-200 p-4',\n className\n )}\n >\n <SkeletonLine className=\"h-6 w-3/4\" />\n <SkeletonLine className=\"h-4 w-full\" />\n <SkeletonLine className=\"h-4 w-2/3\" />\n </View>\n);\n\nexport const SkeletonTable: React.FC<{ rows?: number; cols?: number }> = ({\n rows = 5,\n cols = 4,\n}) => (\n <View className=\"space-y-3\">\n {Array.from({ length: rows }).map((_, i) => (\n <View key={i} className=\"flex space-x-4\">\n {Array.from({ length: cols }).map((_, j) => (\n <SkeletonLine key={j} className=\"flex-1\" />\n ))}\n </View>\n ))}\n </View>\n);\n"],"mappings":";;;;;;;;AAaA,MAAM,cAAc;CAClB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,MAAa,kBAAiD,EAC5D,OAAO,MACP,WACA,MACA,aAAa,YACT;CACJ,MAAM,UACJ,qBAAC;EACC,WAAW,GACT,mDACA,UACD;aAED,oBAAC,WACC,WAAW,GAAG,iCAAiC,YAAY,MAAM,GACjE,EACD,QAAQ,oBAAC;GAAE,WAAU;aAAyC;IAAS;GACnE;AAGT,KAAI,WACF,QACE,oBAAC;EAAK,WAAU;YACb;GACI;AAIX,QAAO;;AAIT,MAAa,gBAAkD,EAC7D,gBAEA,oBAAC,QAAK,WAAW,GAAG,4CAA4C,UAAU,GAAI;AAGhF,MAAa,gBAAkD,EAC7D,gBAEA,qBAAC;CACC,WAAW,GACT,sDACA,UACD;;EAED,oBAAC,gBAAa,WAAU,cAAc;EACtC,oBAAC,gBAAa,WAAU,eAAe;EACvC,oBAAC,gBAAa,WAAU,cAAc;;EACjC;AAGT,MAAa,iBAA6D,EACxE,OAAO,GACP,OAAO,QAEP,oBAAC;CAAK,WAAU;WACb,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,GAAG,MACpC,oBAAC;EAAa,WAAU;YACrB,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,KAAG,MACpC,oBAAC,gBAAqB,WAAU,YAAb,EAAwB,CAC3C;IAHO,EAIJ,CACP;EACG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.js","names":["
|
|
1
|
+
{"version":3,"file":"Pagination.js","names":["Text"],"sources":["../../../../ui/atoms/Pagination/Pagination.tsx"],"sourcesContent":["import React from 'react';\nimport {\n ChevronLeft,\n ChevronRight,\n ChevronsLeft,\n ChevronsRight,\n} from 'lucide-react';\nimport { Button } from '../../button';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport type { PaginationProps } from './types';\nimport { View } from 'react-native';\nimport { Text } from '../../text';\n\nexport const Pagination: React.FC<PaginationProps> = ({\n currentPage,\n totalPages,\n totalItems,\n itemsPerPage,\n onPageChange,\n onItemsPerPageChange,\n disabled = false,\n className = '',\n showItemsPerPage = true,\n itemsPerPageOptions = [10, 25, 50, 100],\n}) => {\n const startItem = (currentPage - 1) * itemsPerPage + 1;\n const endItem = Math.min(currentPage * itemsPerPage, totalItems);\n\n const canGoPrevious = currentPage > 1 && !disabled;\n const canGoNext = currentPage < totalPages && !disabled;\n\n const getVisiblePageNumbers = () => {\n if (totalPages <= 7) {\n return Array.from({ length: totalPages }, (_, i) => i + 1);\n }\n\n if (currentPage <= 3) {\n return [1, 2, 3, 4, 5, -1, totalPages]; // -1 represents ellipsis\n }\n\n if (currentPage >= totalPages - 2) {\n return [\n 1,\n -1,\n totalPages - 4,\n totalPages - 3,\n totalPages - 2,\n totalPages - 1,\n totalPages,\n ];\n }\n\n return [\n 1,\n -1,\n currentPage - 1,\n currentPage,\n currentPage + 1,\n -1,\n totalPages,\n ];\n };\n\n if (totalPages === 0) return null;\n\n return (\n <View\n className={`flex flex-col items-center justify-between gap-4 sm:flex-row ${className}`}\n >\n {/* Items info */}\n <View className=\"text-muted-foreground order-2 text-base sm:order-1\">\n Affichage de {startItem} à {endItem} sur {totalItems} résultats\n </View>\n\n {/* Pagination controls */}\n <View className=\"order-1 flex items-center gap-2 sm:order-2\">\n {/* First page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onPress={() => onPageChange(1)}\n disabled={!canGoPrevious}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsLeft className=\"h-4 w-4\" />\n <Text className=\"sr-only\">Première page</Text>\n </Button>\n\n {/* Previous page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onPress={() => onPageChange(currentPage - 1)}\n disabled={!canGoPrevious}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronLeft className=\"h-4 w-4\" />\n <Text className=\"sr-only\">Page précédente</Text>\n </Button>\n\n {/* Page numbers */}\n <View className=\"flex items-center gap-1\">\n {getVisiblePageNumbers().map((page, index) => {\n if (page === -1) {\n return (\n <View\n key={`ellipsis-${index}`}\n className=\"text-muted-foreground px-2 py-1\"\n >\n ...\n </View>\n );\n }\n\n return (\n <Button\n key={page}\n variant={page === currentPage ? 'default' : 'outline'}\n size=\"sm\"\n onPress={() => onPageChange(page)}\n disabled={disabled}\n className=\"h-8 min-w-8 px-2\"\n >\n <Text>{page}</Text>\n </Button>\n );\n })}\n </View>\n\n {/* Next page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onPress={() => onPageChange(currentPage + 1)}\n disabled={!canGoNext}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronRight className=\"h-4 w-4\" />\n <Text className=\"sr-only\">Page suivante</Text>\n </Button>\n\n {/* Last page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onPress={() => onPageChange(totalPages)}\n disabled={!canGoNext}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsRight className=\"h-4 w-4\" />\n <Text className=\"sr-only\">Dernière page</Text>\n </Button>\n </View>\n\n {/* Items per page */}\n {showItemsPerPage && onItemsPerPageChange && (\n <View className=\"order-3 flex items-center gap-2 text-base\">\n <Text className=\"text-muted-foreground\">Afficher:</Text>\n <Select\n value={{\n value: itemsPerPage.toString(),\n label: itemsPerPage.toString(),\n }}\n onValueChange={(value) =>\n onItemsPerPageChange(parseInt(value?.value || ''))\n }\n disabled={disabled}\n >\n <SelectTrigger className=\"h-8 w-16\">\n <SelectValue placeholder=\"Afficher:\" />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {itemsPerPageOptions.map((option) => (\n <SelectItem\n key={option}\n value={option.toString()}\n label={option.toString()}\n >\n {option}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </View>\n )}\n </View>\n );\n};\n"],"mappings":";;;;;;;;;AAmBA,MAAa,cAAyC,EACpD,aACA,YACA,YACA,cACA,cACA,sBACA,WAAW,OACX,YAAY,IACZ,mBAAmB,MACnB,sBAAsB;CAAC;CAAI;CAAI;CAAI;CAAI,OACnC;CACJ,MAAM,aAAa,cAAc,KAAK,eAAe;CACrD,MAAM,UAAU,KAAK,IAAI,cAAc,cAAc,WAAW;CAEhE,MAAM,gBAAgB,cAAc,KAAK,CAAC;CAC1C,MAAM,YAAY,cAAc,cAAc,CAAC;CAE/C,MAAM,8BAA8B;AAClC,MAAI,cAAc,EAChB,QAAO,MAAM,KAAK,EAAE,QAAQ,YAAY,GAAG,GAAG,MAAM,IAAI,EAAE;AAG5D,MAAI,eAAe,EACjB,QAAO;GAAC;GAAG;GAAG;GAAG;GAAG;GAAG;GAAI;GAAW;AAGxC,MAAI,eAAe,aAAa,EAC9B,QAAO;GACL;GACA;GACA,aAAa;GACb,aAAa;GACb,aAAa;GACb,aAAa;GACb;GACD;AAGH,SAAO;GACL;GACA;GACA,cAAc;GACd;GACA,cAAc;GACd;GACA;GACD;;AAGH,KAAI,eAAe,EAAG,QAAO;AAE7B,QACE,qBAAC;EACC,WAAW,gEAAgE;;GAG3E,qBAAC;IAAK,WAAU;;KAAqD;KACrD;KAAU;KAAI;KAAQ;KAAM;KAAW;;KAChD;GAGP,qBAAC;IAAK,WAAU;;KAEd,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,EAAE;MAC9B,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAACA;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,eAAY,WAAU,YAAY,EACnC,oBAACA;OAAK,WAAU;iBAAU;QAAsB;OACzC;KAGT,oBAAC;MAAK,WAAU;gBACb,uBAAuB,CAAC,KAAK,MAAM,UAAU;AAC5C,WAAI,SAAS,GACX,QACE,oBAAC;QAEC,WAAU;kBACX;UAFM,YAAY,QAIZ;AAIX,cACE,oBAAC;QAEC,SAAS,SAAS,cAAc,YAAY;QAC5C,MAAK;QACL,eAAe,aAAa,KAAK;QACvB;QACV,WAAU;kBAEV,oBAACA,oBAAM,OAAY;UAPd,KAQE;QAEX;OACG;KAGP,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAACA;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,WAAW;MACvC,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,iBAAc,WAAU,YAAY,EACrC,oBAACA;OAAK,WAAU;iBAAU;QAAoB;OACvC;;KACJ;GAGN,oBAAoB,wBACnB,qBAAC;IAAK,WAAU;eACd,oBAACA;KAAK,WAAU;eAAwB;MAAgB,EACxD,qBAAC;KACC,OAAO;MACL,OAAO,aAAa,UAAU;MAC9B,OAAO,aAAa,UAAU;MAC/B;KACD,gBAAgB,UACd,qBAAqB,SAAS,OAAO,SAAS,GAAG,CAAC;KAE1C;gBAEV,oBAAC;MAAc,WAAU;gBACvB,oBAAC,eAAY,aAAY,cAAc;OACzB,EAChB,oBAAC;MAAc,WAAU;gBACtB,oBAAoB,KAAK,WACxB,oBAAC;OAEC,OAAO,OAAO,UAAU;OACxB,OAAO,OAAO,UAAU;iBAEvB;SAJI,OAKM,CACb;OACY;MACT;KACJ;;GAEJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.js","names":["
|
|
1
|
+
{"version":3,"file":"SearchInput.js","names":["Text"],"sources":["../../../../ui/atoms/SearchInput/SearchInput.tsx"],"sourcesContent":["import React from 'react';\nimport { Search, X } from 'lucide-react';\nimport { Input } from '../../input';\nimport { Button } from '../../button';\nimport type { SearchInputProps } from './types';\nimport { View } from 'react-native';\nimport { Text } from '../../text';\n\nexport const SearchInput: React.FC<SearchInputProps> = ({\n value,\n onChange,\n placeholder = 'Rechercher...',\n onClear,\n disabled = false,\n className = '',\n}) => {\n const handleClear = () => {\n onChange('');\n onClear?.();\n };\n\n return (\n <View className={`relative w-full ${className}`}>\n <View className=\"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3\">\n <Search className=\"text-muted-foreground h-4 w-4\" />\n </View>\n\n <Input\n // type=\"text\"\n value={value}\n onChange={(e) => onChange(e.nativeEvent.text)}\n placeholder={placeholder}\n editable={!disabled}\n className=\"pr-10 pl-10\"\n />\n\n {value && (\n <View className=\"absolute inset-y-0 right-0 flex items-center pr-3\">\n <Button\n // type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n onPress={handleClear}\n disabled={disabled}\n className=\"h-6 w-6 p-0 hover:bg-transparent\"\n >\n <X className=\"text-muted-foreground hover:text-foreground h-4 w-4\" />\n <Text className=\"sr-only\">Effacer la recherche</Text>\n </Button>\n </View>\n )}\n </View>\n );\n};\n"],"mappings":";;;;;;;;;AAQA,MAAa,eAA2C,EACtD,OACA,UACA,cAAc,iBACd,SACA,WAAW,OACX,YAAY,SACR;CACJ,MAAM,oBAAoB;AACxB,WAAS,GAAG;AACZ,aAAW;;AAGb,QACE,qBAAC;EAAK,WAAW,mBAAmB;;GAClC,oBAAC;IAAK,WAAU;cACd,oBAAC,UAAO,WAAU,kCAAkC;KAC/C;GAEP,oBAAC;IAEQ;IACP,WAAW,MAAM,SAAS,EAAE,YAAY,KAAK;IAChC;IACb,UAAU,CAAC;IACX,WAAU;KACV;GAED,SACC,oBAAC;IAAK,WAAU;cACd,qBAAC;KAEC,SAAQ;KACR,MAAK;KACL,SAAS;KACC;KACV,WAAU;gBAEV,oBAAC,KAAE,WAAU,wDAAwD,EACrE,oBAACA;MAAK,WAAU;gBAAU;OAA2B;MAC9C;KACJ;;GAEJ"}
|
package/dist/ui/avatar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
import * as AvatarPrimitive from "@rn-primitives/avatar";
|
|
4
4
|
|
|
5
5
|
//#region ui/avatar.d.ts
|
|
@@ -8,7 +8,7 @@ declare function Avatar({
|
|
|
8
8
|
...props
|
|
9
9
|
}: AvatarPrimitive.RootProps & {
|
|
10
10
|
ref?: React$1.RefObject<AvatarPrimitive.RootRef>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime14.JSX.Element;
|
|
12
12
|
declare function AvatarImage({
|
|
13
13
|
className,
|
|
14
14
|
alt,
|
|
@@ -16,13 +16,13 @@ declare function AvatarImage({
|
|
|
16
16
|
}: AvatarPrimitive.ImageProps & {
|
|
17
17
|
ref?: React$1.RefObject<AvatarPrimitive.ImageRef>;
|
|
18
18
|
alt?: string;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime14.JSX.Element;
|
|
20
20
|
declare function AvatarFallback({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
23
|
}: AvatarPrimitive.FallbackProps & {
|
|
24
24
|
ref?: React$1.RefObject<AvatarPrimitive.FallbackRef>;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime14.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
28
28
|
//# sourceMappingURL=avatar.d.ts.map
|
package/dist/ui/avatar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","names":[],"sources":["../../ui/avatar.tsx"],"sourcesContent":[],"mappings":";;;;;iBAIS,MAAA;;;GAGN,eAAA,CAAgB;QACX,OAAA,CAAM,UAAU,eAAA,CAAgB;IACvC,
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","names":[],"sources":["../../ui/avatar.tsx"],"sourcesContent":[],"mappings":";;;;;iBAIS,MAAA;;;GAGN,eAAA,CAAgB;QACX,OAAA,CAAM,UAAU,eAAA,CAAgB;IACvC,mBAAA,CAAA,GAAA,CAAA;AAR8B,iBAoBtB,WAAA,CAjBM;EAAA,SAAA;EAAA,GAAA;EAAA,GAAA;CAAA,EAqBZ,eAAA,CAAgB,UArBJ,GAAA;EACb,GAAA,CAAA,EAqBM,OAAA,CAAM,SArBZ,CAqBsB,eAAA,CAAgB,QArBtC,CAAA;EAEC,GAAA,CAAA,EAAA,MAAA;CACqB,CAAA,EAoBvB,mBAAA,CAAA,GAAA,CAAA,OApBuC;iBA6B/B,cAAA,CA7BK;EAAA,SAAA;EAAA,GAAA;CAAA,EAgCX,eAAA,CAAgB,aAhCL,GAAA;EACb,GAAA,CAAA,EAgCO,OAAA,CAAM,SAhCb,CAgCuB,eAAA,CAAgB,WAhCvC,CAAA;CAAA,CAAA,EAiCA,mBAAA,CAAA,GAAA,CAAA,OAjCA"}
|
package/dist/ui/badge.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/badge.d.ts
|
|
8
8
|
declare const badgeVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
9
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
type BadgeProps = React$1.ComponentProps<typeof View> & VariantProps<typeof badgeVariants> & {
|
|
12
12
|
labelClassName?: string;
|
|
@@ -16,7 +16,7 @@ declare function Badge({
|
|
|
16
16
|
variant,
|
|
17
17
|
labelClassName,
|
|
18
18
|
...props
|
|
19
|
-
}: BadgeProps):
|
|
19
|
+
}: BadgeProps): react_jsx_runtime17.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Badge, badgeVariants };
|
|
22
22
|
//# sourceMappingURL=badge.d.ts.map
|
package/dist/ui/badge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","names":[],"sources":["../../ui/badge.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAKM;;IAkBL,+BAAA,CAAA;KAEI,UAAA,GAAa,OAAA,CAAM,sBAAsB,QAC5C,oBAAoB;EArBhB,cAAA,CAAA,EAkBL,MAAA;;iBAOQ,KAAA,CALqC;EAAA,SAAA;EAAA,OAAA;EAAA,cAAA;EAAA,GAAA;AAAA,CAAA,EAKmB,UALnB,CAAA,EAK6B,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","names":[],"sources":["../../ui/badge.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAKM;;IAkBL,+BAAA,CAAA;KAEI,UAAA,GAAa,OAAA,CAAM,sBAAsB,QAC5C,oBAAoB;EArBhB,cAAA,CAAA,EAkBL,MAAA;;iBAOQ,KAAA,CALqC;EAAA,SAAA;EAAA,OAAA;EAAA,cAAA;EAAA,GAAA;AAAA,CAAA,EAKmB,UALnB,CAAA,EAK6B,mBAAA,CAAA,GAAA,CAAA,OAL7B"}
|
package/dist/ui/breadcrumb.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/breadcrumb.d.ts
|
|
6
6
|
declare function Breadcrumb({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<'nav'>):
|
|
8
|
+
}: React$1.ComponentProps<'nav'>): react_jsx_runtime18.JSX.Element;
|
|
9
9
|
declare function BreadcrumbList({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof View>):
|
|
12
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
13
13
|
declare function BreadcrumbItem({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<typeof View>):
|
|
16
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
17
17
|
declare function BreadcrumbLink({
|
|
18
18
|
asChild,
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: React$1.ComponentProps<typeof View> & {
|
|
22
22
|
asChild?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime18.JSX.Element;
|
|
24
24
|
declare function BreadcrumbPage({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React$1.ComponentProps<typeof View>):
|
|
27
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
28
28
|
declare function BreadcrumbSeparator({
|
|
29
29
|
children,
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<typeof View>):
|
|
32
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
33
33
|
declare function BreadcrumbEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<typeof View>):
|
|
36
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
39
39
|
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.d.ts","names":[],"sources":["../../ui/breadcrumb.tsx"],"sourcesContent":[],"mappings":";;;;;iBAMS,UAAA;;GAAyB,OAAA,CAAM,wBAAqB,
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","names":[],"sources":["../../ui/breadcrumb.tsx"],"sourcesContent":[],"mappings":";;;;;iBAMS,UAAA;;GAAyB,OAAA,CAAM,wBAAqB,mBAAA,CAAA,GAAA,CAAA;iBAIpD,cAAA;;;GAGN,OAAA,CAAM,sBAAsB,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAa3B,cAAA;;;GAGN,OAAA,CAAM,sBAAsB,QAAK,mBAAA,CAAA,GAAA,CAAA;AA3BM,iBAqCjC,cAAA,CAjCyB;EAAA,OAAM;EAAA,SAAA;EAAqB,GAAA;CAAA,EAqC1D,OAAA,CAAM,cArCoD,CAAA,OAqC9B,IArC8B,CAAA,GAAA;EAIpD,OAAA,CAAA,EAAA,OAAc;CACrB,CAAA,EAkCD,mBAAA,CAAA,GAAA,CAAA,OAlCC;iBA8CO,cAAA,CA5CsB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+C5B,OAAA,CAAM,cA/CsB,CAAA,OA+CA,IA/CA,CAAA,CAAA,EA+CK,mBAAA,CAAA,GAAA,CAAA,OA/CL;iBA4DtB,mBAAA,CA5DA;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgEN,OAAA,CAAM,cAhEA,CAAA,OAgEsB,IAhEtB,CAAA,CAAA,EAgE2B,mBAAA,CAAA,GAAA,CAAA,OAhE3B;iBA8EA,kBAAA,CA9E2B;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiFjC,OAAA,CAAM,cAjF2B,CAAA,OAiFL,IAjFK,CAAA,CAAA,EAiFA,mBAAA,CAAA,GAAA,CAAA,OAjFA"}
|
package/dist/ui/button.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Pressable } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/button.d.ts
|
|
8
8
|
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
9
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
10
10
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
12
12
|
declare const buttonTextVariants: (props?: ({
|
|
13
|
-
variant?: "default" | "
|
|
13
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
14
14
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
15
|
-
} &
|
|
15
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
16
16
|
type ButtonProps = React$1.ComponentProps<typeof Pressable> & VariantProps<typeof buttonVariants>;
|
|
17
17
|
declare function Button({
|
|
18
18
|
ref,
|
|
@@ -20,7 +20,7 @@ declare function Button({
|
|
|
20
20
|
variant,
|
|
21
21
|
size,
|
|
22
22
|
...props
|
|
23
|
-
}: ButtonProps):
|
|
23
|
+
}: ButtonProps): react_jsx_runtime36.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
|
|
26
26
|
//# sourceMappingURL=button.d.ts.map
|
package/dist/ui/button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","names":[],"sources":["../../ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAMM;;;IA0BL,+BAAA,CAAA;AA9BwC,cAgCnC,kBAFL,EAAA,CAAA,KA6B8C,CA7B9C,EAAA,CAAA;EAEK,OAAA,CAAA,EAAA,SAAA,GAyBL,
|
|
1
|
+
{"version":3,"file":"button.d.ts","names":[],"sources":["../../ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAMM;;;IA0BL,+BAAA,CAAA;AA9BwC,cAgCnC,kBAFL,EAAA,CAAA,KA6B8C,CA7B9C,EAAA,CAAA;EAEK,OAAA,CAAA,EAAA,SAAA,GAyBL,aAAA,GAAA,WAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEI,IAAA,CAAA,EAAA,SAAW,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;CAA+B,GAF9C,+BAAA,CAAA,SAE8C,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAA1C,WAAA,GAAc,OAAA,CAAM,cAAA,CAAA,OAAsB,SAAtB,CAAA,GACvB,YADuB,CAAA,OACH,cADG,CAAA;iBAGhB,MAAA,CAFa;EAAA,GAAA;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAEuC,WAFvC,CAAA,EAEkD,mBAAA,CAAA,GAAA,CAAA,OAFlD"}
|
package/dist/ui/card.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Text, TextProps, View, ViewProps } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/card.d.ts
|
|
6
6
|
declare function Card({
|
|
@@ -8,37 +8,37 @@ declare function Card({
|
|
|
8
8
|
...props
|
|
9
9
|
}: ViewProps & {
|
|
10
10
|
ref?: React$1.RefObject<View>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
12
12
|
declare function CardHeader({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
15
|
}: ViewProps & {
|
|
16
16
|
ref?: React$1.RefObject<View>;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
18
18
|
declare function CardTitle({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: TextProps & {
|
|
22
22
|
ref?: React$1.RefObject<Text>;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
24
24
|
declare function CardDescription({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
27
|
}: TextProps & {
|
|
28
28
|
ref?: React$1.RefObject<Text>;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
30
30
|
declare function CardContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
33
|
}: ViewProps & {
|
|
34
34
|
ref?: React$1.RefObject<View>;
|
|
35
|
-
}):
|
|
35
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
36
36
|
declare function CardFooter({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
39
|
}: ViewProps & {
|
|
40
40
|
ref?: React$1.RefObject<View>;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
44
44
|
//# sourceMappingURL=card.d.ts.map
|
package/dist/ui/checkbox.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native2 from "react-native";
|
|
3
3
|
|
|
4
4
|
//#region ui/checkbox.d.ts
|
|
5
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
5
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native2.PressableProps & React$1.RefAttributes<react_native2.View>, "ref"> & {
|
|
6
6
|
asChild?: boolean;
|
|
7
7
|
} & {
|
|
8
8
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -11,7 +11,7 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native
|
|
|
11
11
|
checked: boolean;
|
|
12
12
|
onCheckedChange: (checked: boolean) => void;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
-
} & React$1.RefAttributes<
|
|
14
|
+
} & React$1.RefAttributes<react_native2.View>, "ref"> & React$1.RefAttributes<react_native2.View>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Checkbox };
|
|
17
17
|
//# sourceMappingURL=checkbox.d.ts.map
|
package/dist/ui/collapsible.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
|
+
import * as react_native6 from "react-native";
|
|
3
3
|
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/collapsible.d.ts
|
|
6
|
-
declare const Collapsible:
|
|
6
|
+
declare const Collapsible: react1.ForwardRefExoticComponent<react_native6.ViewProps & {
|
|
7
7
|
asChild?: boolean;
|
|
8
8
|
} & {
|
|
9
9
|
open?: boolean;
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
disabled?: boolean;
|
|
13
|
-
} &
|
|
14
|
-
declare const CollapsibleTrigger:
|
|
13
|
+
} & react1.RefAttributes<react_native6.View>>;
|
|
14
|
+
declare const CollapsibleTrigger: react1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & react1.RefAttributes<react_native6.View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
18
18
|
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
19
|
-
} &
|
|
20
|
-
declare const CollapsibleContent:
|
|
19
|
+
} & react1.RefAttributes<react_native6.View>>;
|
|
20
|
+
declare const CollapsibleContent: react1.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native6.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
} &
|
|
22
|
+
} & react1.RefAttributes<react_native6.View>>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
25
25
|
//# sourceMappingURL=collapsible.d.ts.map
|