@contractspec/lib.ui-kit 1.46.2 → 1.48.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/alert-dialog.d.ts +11 -11
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert.d.ts +4 -4
- package/dist/ui/alert.d.ts.map +1 -1
- 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/badge.d.ts +4 -4
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button.d.ts +5 -5
- package/dist/ui/card.d.ts +7 -7
- package/dist/ui/checkbox.d.ts +3 -3
- package/dist/ui/collapsible.d.ts +9 -9
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/date-picker.d.ts +2 -2
- package/dist/ui/date-picker.d.ts.map +1 -1
- package/dist/ui/date-range-picker.d.ts +2 -2
- package/dist/ui/date-range-picker.d.ts.map +1 -1
- package/dist/ui/datetime-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts.map +1 -1
- package/dist/ui/dialog.d.ts +10 -10
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/empty-state.d.ts +4 -4
- package/dist/ui/empty-state.d.ts.map +1 -1
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/fab.d.ts +3 -3
- package/dist/ui/field.d.ts +14 -14
- package/dist/ui/field.d.ts.map +1 -1
- 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/link.d.ts +2 -2
- package/dist/ui/loading-button.d.ts +2 -2
- package/dist/ui/loading-overlay.d.ts +2 -2
- package/dist/ui/loading-screen.d.ts +2 -2
- package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
- package/dist/ui/marketing/Hero.d.ts +2 -2
- package/dist/ui/marketing/PricingTable.d.ts +2 -2
- package/dist/ui/menubar.d.ts +17 -17
- 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/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 +2 -2
- package/dist/ui/password-strength.d.ts +2 -2
- package/dist/ui/password-strength.js.map +1 -1
- package/dist/ui/popover.d.ts +8 -8
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/select.d.ts +13 -13
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/separator.d.ts +2 -2
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/stack.d.ts +8 -8
- package/dist/ui/stack.d.ts.map +1 -1
- package/dist/ui/stepper.d.ts +4 -4
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/table.d.ts +8 -8
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/tabs.d.ts +11 -11
- package/dist/ui/text.d.ts +2 -2
- package/dist/ui/text.d.ts.map +1 -1
- 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-group.d.ts.map +1 -1
- 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/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/package.json +13 -10
package/dist/ui/text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Text as Text$1 } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/text.d.ts
|
|
6
6
|
declare const TextClassContext: React$1.Context<string | undefined>;
|
|
@@ -15,7 +15,7 @@ declare function Text({
|
|
|
15
15
|
}: React$1.ComponentProps<typeof Text$1> & {
|
|
16
16
|
ref?: React$1.RefObject<React$1.ComponentRef<typeof Text$1>>;
|
|
17
17
|
asChild?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime143.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Text, TextClassContext, TextProps };
|
|
21
21
|
//# sourceMappingURL=text.d.ts.map
|
package/dist/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","names":[],"sources":["../../ui/text.tsx"],"sourcesContent":[],"mappings":";;;;;cAKM,kBAAgB,OAAA,CAAA;KAEV,SAAA,GAAY,OAAA,CAAM,sBAAsB;QAC5C,OAAA,CAAM,UAAU,OAAA,CAAM,oBAAoB;EAH5C,OAAA,CAAA,EAAA,OAAA;AAEN,CAAA;iBAKS,IAAA,CAL2C;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EASjD,OAAA,CAAM,cAT2C,CAAA,OASrB,MATqB,CAAA,GAAA;EAA5B,GAAA,CAAA,EAUhB,OAAA,CAAM,SAVgB,CAUN,OAAA,CAAM,YAVA,CAAA,OAUoB,MAVpB,CAAA,CAAA;EACoB,OAAA,CAAA,EAAA,OAAA;CAA1B,CAAA,EAWvB,
|
|
1
|
+
{"version":3,"file":"text.d.ts","names":[],"sources":["../../ui/text.tsx"],"sourcesContent":[],"mappings":";;;;;cAKM,kBAAgB,OAAA,CAAA;KAEV,SAAA,GAAY,OAAA,CAAM,sBAAsB;QAC5C,OAAA,CAAM,UAAU,OAAA,CAAM,oBAAoB;EAH5C,OAAA,CAAA,EAAA,OAAA;AAEN,CAAA;iBAKS,IAAA,CAL2C;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EASjD,OAAA,CAAM,cAT2C,CAAA,OASrB,MATqB,CAAA,GAAA;EAA5B,GAAA,CAAA,EAUhB,OAAA,CAAM,SAVgB,CAUN,OAAA,CAAM,YAVA,CAAA,OAUoB,MAVpB,CAAA,CAAA;EACoB,OAAA,CAAA,EAAA,OAAA;CAA1B,CAAA,EAWvB,oBAAA,CAAA,GAAA,CAAA,OAX6B"}
|
package/dist/ui/time-picker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime144 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/time-picker.d.ts
|
|
4
4
|
interface TimePickerProps {
|
|
@@ -16,7 +16,7 @@ declare function TimePicker({
|
|
|
16
16
|
placeholder,
|
|
17
17
|
is24Hour,
|
|
18
18
|
className
|
|
19
|
-
}: TimePickerProps):
|
|
19
|
+
}: TimePickerProps): react_jsx_runtime144.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { TimePicker, TimePickerProps };
|
|
22
22
|
//# sourceMappingURL=time-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-picker.d.ts","names":[],"sources":["../../ui/time-picker.tsx"],"sourcesContent":[],"mappings":";;;UAUiB,eAAA;SACR;mBACU;EAFF,QAAA,CAAA,EAAA,OAAe;EAsBhB,WAAA,CAAA,EAAU,MAAA;EACxB,QAAA,CAAA,EAAA,OAAA;EACA,SAAA,CAAA,EAAA,MAAA;;AAEA,iBAJc,UAAA,CAId;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,WAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAGC,eAHD,CAAA,EAGgB,
|
|
1
|
+
{"version":3,"file":"time-picker.d.ts","names":[],"sources":["../../ui/time-picker.tsx"],"sourcesContent":[],"mappings":";;;UAUiB,eAAA;SACR;mBACU;EAFF,QAAA,CAAA,EAAA,OAAe;EAsBhB,WAAA,CAAA,EAAU,MAAA;EACxB,QAAA,CAAA,EAAA,OAAA;EACA,SAAA,CAAA,EAAA,MAAA;;AAEA,iBAJc,UAAA,CAId;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,WAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAGC,eAHD,CAAA,EAGgB,oBAAA,CAAA,GAAA,CAAA,OAHhB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { LucideIcon } from "lucide-react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime145 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
import * as ToggleGroupPrimitive from "@rn-primitives/toggle-group";
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ declare function ToggleGroup({
|
|
|
14
14
|
...props
|
|
15
15
|
}: ToggleGroupPrimitive.RootProps & VariantProps<typeof toggleVariants> & {
|
|
16
16
|
ref?: React$1.RefObject<ToggleGroupPrimitive.RootRef>;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime145.JSX.Element;
|
|
18
18
|
declare function ToggleGroupItem({
|
|
19
19
|
className,
|
|
20
20
|
children,
|
|
@@ -23,14 +23,14 @@ declare function ToggleGroupItem({
|
|
|
23
23
|
...props
|
|
24
24
|
}: ToggleGroupPrimitive.ItemProps & VariantProps<typeof toggleVariants> & {
|
|
25
25
|
ref?: React$1.RefObject<ToggleGroupPrimitive.ItemRef>;
|
|
26
|
-
}):
|
|
26
|
+
}): react_jsx_runtime145.JSX.Element;
|
|
27
27
|
declare function ToggleGroupIcon({
|
|
28
28
|
className,
|
|
29
29
|
icon: Icon,
|
|
30
30
|
...props
|
|
31
31
|
}: React$1.ComponentPropsWithoutRef<LucideIcon> & {
|
|
32
32
|
icon: LucideIcon;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime145.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
|
|
36
36
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-group.d.ts","names":[],"sources":["../../ui/toggle-group.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBAYS,WAAA;;;;;;GAMN,oBAAA,CAAqB,YACtB,oBAAoB;QACZ,OAAA,CAAM,UAAU,oBAAA,CAAqB;IAC5C,
|
|
1
|
+
{"version":3,"file":"toggle-group.d.ts","names":[],"sources":["../../ui/toggle-group.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBAYS,WAAA;;;;;;GAMN,oBAAA,CAAqB,YACtB,oBAAoB;QACZ,OAAA,CAAM,UAAU,oBAAA,CAAqB;IAC5C,oBAAA,CAAA,GAAA,CAAA;AAhBiE,iBA0C3D,eAAA,CAnCW;EAAA,SAAA;EAAA,QAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAyCjB,oBAAA,CAAqB,SAzCJ,GA0ClB,YA1CkB,CAAA,OA0CE,cA1CF,CAAA,GAAA;EAClB,GAAA,CAAA,EA0CQ,OAAA,CAAM,SA1Cd,CA0CwB,oBAAA,CAAqB,OA1C7C,CAAA;CACA,CAAA,EA0CC,oBAAA,CAAA,GAAA,CAAA,OA1CD;iBA0EO,eAAA,CAzEP;EAAA,SAAA;EAAA,IAAA,EA2EM,IA3EN;EAAA,GAAA;CAAA,EA6EC,OAAA,CAAM,wBA7EP,CA6EgC,UA7EhC,CAAA,GAAA;EACA,IAAA,EA6EM,UA7EN;CAEC,CAAA,EA4EF,oBAAA,CAAA,GAAA,CAAA,OA5EuB"}
|
package/dist/ui/toggle.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { LucideIcon } from "lucide-react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime148 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as TogglePrimitive from "@rn-primitives/toggle";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
7
7
|
|
|
8
8
|
//#region ui/toggle.d.ts
|
|
9
9
|
declare const toggleVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | null | undefined;
|
|
11
11
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
13
13
|
declare const toggleTextVariants: (props?: ({
|
|
14
14
|
variant?: "default" | "outline" | null | undefined;
|
|
15
15
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
16
|
-
} &
|
|
16
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
17
17
|
declare function Toggle({
|
|
18
18
|
className,
|
|
19
19
|
variant,
|
|
@@ -21,14 +21,14 @@ declare function Toggle({
|
|
|
21
21
|
...props
|
|
22
22
|
}: TogglePrimitive.RootProps & VariantProps<typeof toggleVariants> & VariantProps<typeof toggleVariants> & {
|
|
23
23
|
ref?: React$1.RefObject<TogglePrimitive.RootRef>;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime148.JSX.Element;
|
|
25
25
|
declare function ToggleIcon({
|
|
26
26
|
className,
|
|
27
27
|
icon: Icon,
|
|
28
28
|
...props
|
|
29
29
|
}: React$1.ComponentPropsWithoutRef<LucideIcon> & {
|
|
30
30
|
icon: LucideIcon;
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime148.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
|
34
34
|
//# sourceMappingURL=toggle.d.ts.map
|
package/dist/ui/toggle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","names":[],"sources":["../../ui/toggle.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAOM;;;IAoBL
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","names":[],"sources":["../../ui/toggle.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAOM;;;IAoBL,gCAAA,CAAA;AAxB8B,cA0BzB,kBAFL,EAAA,CAAA,KAyBC,CAzBD,EAAA,CAAA;EAEK,OAAA,CAAA,EAAA,SAAA,GAoBL,SAAA,GAAA,IAAA,GAAA,SAAA;EAEQ,IAAA,CAAA,EAAA,SAAM,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;CACb,GAHD,gCAAA,CAAA,SAGC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;iBADO,MAAA,CAEP;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAGC,eAAA,CAAgB,SAHjB,GAIA,YAJA,CAAA,OAIoB,cAJpB,CAAA,GAKA,YALA,CAAA,OAKoB,cALpB,CAAA,GAAA;EACA,GAAA,CAAA,EAKQ,OAAA,CAAM,SALd,CAKwB,eAAA,CAAgB,OALxC,CAAA;CAEC,CAAA,EAIA,oBAAA,CAAA,GAAA,CAAA,OAJgB;iBA4BV,UAAA,CA3Ba;EAAA,SAAA;EAAA,IAAA,EA6Bd,IA7Bc;EAAA,GAAA;CAAA,EA+BnB,OAAA,CAAM,wBA/Ba,CA+BY,UA/BZ,CAAA,GAAA;EAApB,IAAA,EAgCM,UAhCN;CACoB,CAAA,EAgCrB,oBAAA,CAAA,GAAA,CAAA,OAhCqB"}
|
package/dist/ui/tooltip.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_native55 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime150 from "react/jsx-runtime";
|
|
4
4
|
import * as _rn_primitives_tooltip0 from "@rn-primitives/tooltip";
|
|
5
5
|
|
|
6
6
|
//#region ui/tooltip.d.ts
|
|
7
|
-
declare const Tooltip: React$1.ForwardRefExoticComponent<
|
|
7
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<react_native55.ViewProps & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
} & {
|
|
10
10
|
onOpenChange?: (open: boolean) => void;
|
|
11
11
|
delayDuration?: number;
|
|
12
12
|
skipDelayDuration?: number;
|
|
13
13
|
disableHoverableContent?: boolean;
|
|
14
|
-
} & React$1.RefAttributes<
|
|
15
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
14
|
+
} & React$1.RefAttributes<react_native55.View>>;
|
|
15
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<react_native55.PressableProps & React$1.RefAttributes<react_native55.View>, "ref"> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -26,7 +26,7 @@ declare function TooltipContent({
|
|
|
26
26
|
}: _rn_primitives_tooltip0.ContentProps & {
|
|
27
27
|
ref?: React$1.RefObject<_rn_primitives_tooltip0.ContentRef>;
|
|
28
28
|
portalHost?: string;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime150.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Tooltip, TooltipContent, TooltipTrigger };
|
|
32
32
|
//# sourceMappingURL=tooltip.d.ts.map
|
package/dist/ui/typography.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextProps } from "./text.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime151 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/typography.d.ts
|
|
5
5
|
type TypographyProps = TextProps & {
|
|
@@ -9,57 +9,57 @@ declare function H1({
|
|
|
9
9
|
className,
|
|
10
10
|
asChild,
|
|
11
11
|
...props
|
|
12
|
-
}: TypographyProps):
|
|
12
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
13
13
|
declare function H2({
|
|
14
14
|
className,
|
|
15
15
|
asChild,
|
|
16
16
|
...props
|
|
17
|
-
}: TypographyProps):
|
|
17
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
18
18
|
declare function H3({
|
|
19
19
|
className,
|
|
20
20
|
asChild,
|
|
21
21
|
...props
|
|
22
|
-
}: TypographyProps):
|
|
22
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
23
23
|
declare function H4({
|
|
24
24
|
className,
|
|
25
25
|
asChild,
|
|
26
26
|
...props
|
|
27
|
-
}: TypographyProps):
|
|
27
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
28
28
|
declare function P({
|
|
29
29
|
className,
|
|
30
30
|
asChild,
|
|
31
31
|
...props
|
|
32
|
-
}: TypographyProps):
|
|
32
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
33
33
|
declare function BlockQuote({
|
|
34
34
|
className,
|
|
35
35
|
asChild,
|
|
36
36
|
...props
|
|
37
|
-
}: TypographyProps):
|
|
37
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
38
38
|
declare function Code({
|
|
39
39
|
className,
|
|
40
40
|
asChild,
|
|
41
41
|
...props
|
|
42
|
-
}: TypographyProps):
|
|
42
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
43
43
|
declare function Lead({
|
|
44
44
|
className,
|
|
45
45
|
asChild,
|
|
46
46
|
...props
|
|
47
|
-
}: TypographyProps):
|
|
47
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
48
48
|
declare function Large({
|
|
49
49
|
className,
|
|
50
50
|
asChild,
|
|
51
51
|
...props
|
|
52
|
-
}: TypographyProps):
|
|
52
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
53
53
|
declare function Small({
|
|
54
54
|
className,
|
|
55
55
|
asChild,
|
|
56
56
|
...props
|
|
57
|
-
}: TypographyProps):
|
|
57
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
58
58
|
declare function Muted({
|
|
59
59
|
className,
|
|
60
60
|
asChild,
|
|
61
61
|
...props
|
|
62
|
-
}: TypographyProps):
|
|
62
|
+
}: TypographyProps): react_jsx_runtime151.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small, TypographyProps };
|
|
65
65
|
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","names":[],"sources":["../../ui/typography.tsx"],"sourcesContent":[],"mappings":";;;;KAMY,eAAA,GAAkB;;;AAA9B,iBAIS,EAAA,CAJG;EAAe,SAAA;EAAA,OAAG;EAAA,GAAS;AAAA,CAAA,EAIe,eAJf,CAAA,EAI8B,
|
|
1
|
+
{"version":3,"file":"typography.d.ts","names":[],"sources":["../../ui/typography.tsx"],"sourcesContent":[],"mappings":";;;;KAMY,eAAA,GAAkB;;;AAA9B,iBAIS,EAAA,CAJG;EAAe,SAAA;EAAA,OAAG;EAAA,GAAS;AAAA,CAAA,EAIe,eAJf,CAAA,EAI8B,oBAAA,CAAA,GAAA,CAAA,OAJ9B;AAErC,iBAiBO,EAAA,CAfE;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAe2C,eAf3C,CAAA,EAe0D,oBAAA,CAAA,GAAA,CAAA,OAf1D;iBA8BF,EAAA,CA9BK;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA8BwC,eA9BxC,CAAA,EA8BuD,oBAAA,CAAA,GAAA,CAAA,OA9BvD;iBA6CL,EAAA,CA7CgB;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA6C6B,eA7C7B,CAAA,EA6C4C,oBAAA,CAAA,GAAA,CAAA,OA7C5C;iBA4DhB,CAAA,CA5D6C;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA4DD,eA5DC,CAAA,EA4Dc,oBAAA,CAAA,GAAA,CAAA,OA5Dd;iBAsE7C,UAAA,CAtE4D;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAsEP,eAtEO,CAAA,EAsEQ,oBAAA,CAAA,GAAA,CAAA,OAtER;iBAqF5D,IAAA,CArF4D;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAqFb,eArFa,CAAA,EAqFE,oBAAA,CAAA,GAAA,CAAA,OArFF;AAAA,iBAoG5D,IAAA,CArFE;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAqF6C,eArF7C,CAAA,EAqF4D,oBAAA,CAAA,GAAA,CAAA,OArF5D;iBA+FF,KAAA,CA/FK;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA+F2C,eA/F3C,CAAA,EA+F0D,oBAAA,CAAA,GAAA,CAAA,OA/F1D;iBA4GL,KAAA,CA5GgB;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA4GgC,eA5GhC,CAAA,EA4G+C,oBAAA,CAAA,GAAA,CAAA,OA5G/C;iBAyHhB,KAAA,CAzH6C;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAyHG,eAzHH,CAAA,EAyHkB,oBAAA,CAAA,GAAA,CAAA,OAzHlB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_native59 from "react-native";
|
|
2
2
|
|
|
3
3
|
//#region ui/useColorScheme.d.ts
|
|
4
4
|
declare function useColorScheme(): {
|
|
5
5
|
colorScheme: "light" | "dark";
|
|
6
6
|
isDarkColorScheme: boolean;
|
|
7
|
-
setColorScheme: (scheme:
|
|
7
|
+
setColorScheme: (scheme: react_native59.ColorSchemeName) => void;
|
|
8
8
|
toggleColorScheme: () => void;
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListState.js","names":[
|
|
1
|
+
{"version":3,"file":"useListState.js","names":[],"sources":["../../ui/useListState.tsx"],"sourcesContent":["import { useCallback, useMemo, useState } from 'react';\n\nexport interface UseListStateOptions {\n initialSearch?: string;\n initialFilters?: Record<string, string>;\n initialPage?: number;\n initialItemsPerPage?: number;\n debounceMs?: number;\n}\n\nexport interface UseListStateReturn {\n // Search\n searchQuery: string;\n setSearchQuery: (query: string) => void;\n\n // Filters\n filters: Record<string, string>;\n setFilter: (key: string, value: string) => void;\n clearFilters: () => void;\n\n // Pagination\n currentPage: number;\n itemsPerPage: number;\n setCurrentPage: (page: number) => void;\n setItemsPerPage: (itemsPerPage: number) => void;\n\n // Combined state for API calls\n queryParams: {\n search: string;\n page: number;\n limit: number;\n } & Record<string, string | number>;\n\n // Reset all\n resetAll: () => void;\n}\n\nexport const useListState = ({\n initialSearch = '',\n initialFilters = {},\n initialPage = 1,\n initialItemsPerPage = 25,\n}: UseListStateOptions = {}): UseListStateReturn => {\n const [searchQuery, setSearchQuery] = useState(initialSearch);\n const [filters, setFilters] = useState(initialFilters);\n const [currentPage, setCurrentPage] = useState(initialPage);\n const [itemsPerPage, setItemsPerPage] = useState(initialItemsPerPage);\n\n const setFilter = useCallback((key: string, value: string) => {\n setFilters((prev) => ({\n ...prev,\n [key]: value,\n }));\n // Reset to first page when filtering\n setCurrentPage(1);\n }, []);\n\n const clearFilters = useCallback(() => {\n setFilters({});\n setCurrentPage(1);\n }, []);\n\n const handleSetSearchQuery = useCallback((query: string) => {\n setSearchQuery(query);\n // Reset to first page when searching\n setCurrentPage(1);\n }, []);\n\n const handleSetItemsPerPage = useCallback((newItemsPerPage: number) => {\n setItemsPerPage(newItemsPerPage);\n // Reset to first page when changing items per page\n setCurrentPage(1);\n }, []);\n\n const resetAll = useCallback(() => {\n setSearchQuery(initialSearch);\n setFilters(initialFilters);\n setCurrentPage(initialPage);\n setItemsPerPage(initialItemsPerPage);\n }, [initialSearch, initialFilters, initialPage, initialItemsPerPage]);\n\n const queryParams = useMemo(() => {\n const baseParams = {\n search: searchQuery,\n page: currentPage,\n limit: itemsPerPage,\n };\n\n // Add active filters to params\n const filterParams: Record<string, string> = {};\n Object.entries(filters).forEach(([key, value]) => {\n if (value) {\n filterParams[key] = value;\n }\n });\n\n return { ...baseParams, ...filterParams };\n }, [searchQuery, filters, currentPage, itemsPerPage]);\n\n return {\n searchQuery,\n setSearchQuery: handleSetSearchQuery,\n filters,\n setFilter,\n clearFilters,\n currentPage,\n itemsPerPage,\n setCurrentPage,\n setItemsPerPage: handleSetItemsPerPage,\n queryParams,\n resetAll,\n };\n};\n"],"mappings":";;;AAqCA,MAAa,gBAAgB,EAC3B,gBAAgB,IAChB,iBAAiB,EAAE,EACnB,cAAc,GACd,sBAAsB,OACC,EAAE,KAAyB;CAClD,MAAM,CAAC,aAAa,kBAAkB,SAAS,cAAc;CAC7D,MAAM,CAAC,SAAS,cAAc,SAAS,eAAe;CACtD,MAAM,CAAC,aAAa,kBAAkB,SAAS,YAAY;CAC3D,MAAM,CAAC,cAAc,mBAAmB,SAAS,oBAAoB;CAErE,MAAM,YAAY,aAAa,KAAa,UAAkB;AAC5D,cAAY,UAAU;GACpB,GAAG;IACF,MAAM;GACR,EAAE;AAEH,iBAAe,EAAE;IAChB,EAAE,CAAC;CAEN,MAAM,eAAe,kBAAkB;AACrC,aAAW,EAAE,CAAC;AACd,iBAAe,EAAE;IAChB,EAAE,CAAC;CAEN,MAAM,uBAAuB,aAAa,UAAkB;AAC1D,iBAAe,MAAM;AAErB,iBAAe,EAAE;IAChB,EAAE,CAAC;CAEN,MAAM,wBAAwB,aAAa,oBAA4B;AACrE,kBAAgB,gBAAgB;AAEhC,iBAAe,EAAE;IAChB,EAAE,CAAC;CAEN,MAAM,WAAW,kBAAkB;AACjC,iBAAe,cAAc;AAC7B,aAAW,eAAe;AAC1B,iBAAe,YAAY;AAC3B,kBAAgB,oBAAoB;IACnC;EAAC;EAAe;EAAgB;EAAa;EAAoB,CAAC;AAoBrE,QAAO;EACL;EACA,gBAAgB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA,iBAAiB;EACjB,aA5BkB,cAAc;GAChC,MAAM,aAAa;IACjB,QAAQ;IACR,MAAM;IACN,OAAO;IACR;GAGD,MAAM,eAAuC,EAAE;AAC/C,UAAO,QAAQ,QAAQ,CAAC,SAAS,CAAC,KAAK,WAAW;AAChD,QAAI,MACF,cAAa,OAAO;KAEtB;AAEF,UAAO;IAAE,GAAG;IAAY,GAAG;IAAc;KACxC;GAAC;GAAa;GAAS;GAAa;GAAa,CAAC;EAanD;EACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/usecases/UseCaseCard.d.ts
|
|
4
4
|
declare function UseCaseCard({
|
|
@@ -13,7 +13,7 @@ declare function UseCaseCard({
|
|
|
13
13
|
ctaHref?: string;
|
|
14
14
|
ctaLabel?: string;
|
|
15
15
|
onCtaClick?: () => void;
|
|
16
|
-
}):
|
|
16
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { UseCaseCard };
|
|
19
19
|
//# sourceMappingURL=UseCaseCard.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime117 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/usecases/UserStoryCard.d.ts
|
|
4
4
|
declare function UserStoryCard({
|
|
@@ -9,7 +9,7 @@ declare function UserStoryCard({
|
|
|
9
9
|
title: string;
|
|
10
10
|
body?: string;
|
|
11
11
|
outcome?: string;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime117.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { UserStoryCard };
|
|
15
15
|
//# sourceMappingURL=UserStoryCard.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.0",
|
|
4
4
|
"description": "Cross-platform UI components for React Native and web",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
"typescript"
|
|
12
12
|
],
|
|
13
13
|
"type": "module",
|
|
14
|
-
"main": "./dist/index.js",
|
|
15
|
-
"module": "./dist/index.js",
|
|
16
14
|
"types": "./dist/index.d.ts",
|
|
17
15
|
"sideEffects": false,
|
|
18
16
|
"scripts": {
|
|
@@ -28,9 +26,10 @@
|
|
|
28
26
|
"lint:check": "eslint ui"
|
|
29
27
|
},
|
|
30
28
|
"dependencies": {
|
|
31
|
-
"@contractspec/lib.ui-kit-core": "1.
|
|
32
|
-
"@
|
|
29
|
+
"@contractspec/lib.ui-kit-core": "1.48.0",
|
|
30
|
+
"@hookform/resolvers": "^5.2.2",
|
|
33
31
|
"@react-native-async-storage/async-storage": "^2.1.2",
|
|
32
|
+
"@react-native-community/datetimepicker": "^8.6.0",
|
|
34
33
|
"@react-navigation/native": "^7.1.26",
|
|
35
34
|
"@rn-primitives/accordion": "^1.2.0",
|
|
36
35
|
"@rn-primitives/alert-dialog": "^1.2.0",
|
|
@@ -79,10 +78,12 @@
|
|
|
79
78
|
"expo-system-ui": "~5.0.7",
|
|
80
79
|
"expo-updates": "~0.28.15",
|
|
81
80
|
"expo-web-browser": "^14.2.0",
|
|
81
|
+
"lucide-react": "^0.562.0",
|
|
82
82
|
"lucide-react-native": "^0.562.0",
|
|
83
83
|
"nativewind": "5.0.0-preview.2",
|
|
84
84
|
"react": "19.2.3",
|
|
85
85
|
"react-dom": "19.2.3",
|
|
86
|
+
"react-hook-form": "^7.70.0",
|
|
86
87
|
"react-native": "0.81.4",
|
|
87
88
|
"react-native-device-info": "^14.1.1",
|
|
88
89
|
"react-native-localize": "^3.5.2",
|
|
@@ -94,13 +95,15 @@
|
|
|
94
95
|
"react-use": "^17.6.0",
|
|
95
96
|
"tailwind-merge": "^3.3.1",
|
|
96
97
|
"tailwindcss": "4.1.18",
|
|
97
|
-
"tailwindcss-animate": "^1.0.7"
|
|
98
|
+
"tailwindcss-animate": "^1.0.7",
|
|
99
|
+
"zod": "^4.3.5"
|
|
98
100
|
},
|
|
99
101
|
"devDependencies": {
|
|
100
|
-
"@babel/core": "^7.28.
|
|
101
|
-
"@contractspec/tool.
|
|
102
|
-
"@contractspec/tool.
|
|
103
|
-
"
|
|
102
|
+
"@babel/core": "^7.28.6",
|
|
103
|
+
"@contractspec/tool.tsdown": "1.48.0",
|
|
104
|
+
"@contractspec/tool.typescript": "1.48.0",
|
|
105
|
+
"react-native-css": "^3.0.0",
|
|
106
|
+
"tsdown": "^0.19.0",
|
|
104
107
|
"typescript": "^5.9.3"
|
|
105
108
|
},
|
|
106
109
|
"exports": {
|