@lssm/lib.ui-kit 1.11.1 → 1.41.1
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/README.md +5 -0
- package/dist/-core/src/utils.js +10 -0
- package/dist/_virtual/rolldown_runtime.js +33 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.js +1 -1
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +3 -3
- package/dist/ui/atoms/Pagination/Pagination.js +4 -1
- package/dist/ui/atoms/SearchInput/SearchInput.js +2 -1
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.js +4 -3
- package/dist/ui/button.js +1 -1
- package/dist/ui/card.js +1 -1
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/date-picker.js +1 -1
- package/dist/ui/date-range-picker.js +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/empty-state.js +1 -1
- package/dist/ui/empty.js +1 -1
- package/dist/ui/fab.js +1 -1
- package/dist/ui/field.js +1 -1
- package/dist/ui/form.js +1 -1
- package/dist/ui/hover-card.js +1 -1
- package/dist/ui/input.js +1 -1
- package/dist/ui/label.js +1 -1
- package/dist/ui/link.js +1 -1
- package/dist/ui/marketing/Hero.js +1 -1
- package/dist/ui/marketing/PricingTable.js +1 -1
- package/dist/ui/menubar.js +1 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +4 -2
- package/dist/ui/nativewind-env.d.js +0 -0
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +5 -3
- package/dist/ui/organisms/ListPage/ListPage.js +12 -7
- package/dist/ui/page-header.js +1 -1
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.js +1 -1
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.js +1 -1
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/stack.js +1 -1
- package/dist/ui/stepper.js +1 -1
- package/dist/ui/switch.js +1 -1
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/time-picker.js +1 -1
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/ui/typography.js +1 -1
- package/package.json +205 -114
- package/dist/index.d.ts +0 -4
- package/dist/ui/accordion.d.ts +0 -35
- package/dist/ui/alert-dialog.d.ts +0 -71
- package/dist/ui/alert.d.ts +0 -36
- package/dist/ui/aspect-ratio.d.ts +0 -11
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
- package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
- package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
- package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
- package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
- package/dist/ui/atoms/Pagination/index.d.ts +0 -3
- package/dist/ui/atoms/Pagination/types.d.ts +0 -15
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
- package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
- package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
- package/dist/ui/avatar.d.ts +0 -27
- package/dist/ui/badge.d.ts +0 -21
- package/dist/ui/breadcrumb.d.ts +0 -38
- package/dist/ui/button.d.ts +0 -25
- package/dist/ui/card.d.ts +0 -43
- package/dist/ui/carousel.d.ts +0 -4
- package/dist/ui/checkbox.d.ts +0 -16
- package/dist/ui/collapsible.d.ts +0 -24
- package/dist/ui/command.d.ts +0 -4
- package/dist/ui/context-menu.d.ts +0 -109
- package/dist/ui/date-picker.d.ts +0 -23
- package/dist/ui/date-range-picker.d.ts +0 -30
- package/dist/ui/datetime-picker.d.ts +0 -27
- package/dist/ui/dialog.d.ts +0 -68
- package/dist/ui/dropdown-menu.d.ts +0 -111
- package/dist/ui/empty-state.d.ts +0 -28
- package/dist/ui/empty.d.ts +0 -36
- package/dist/ui/fab.d.ts +0 -35
- package/dist/ui/field.d.ts +0 -66
- package/dist/ui/form.d.ts +0 -49
- package/dist/ui/hover-card.d.ts +0 -29
- package/dist/ui/icons/Check.d.ts +0 -2
- package/dist/ui/icons/ChevronDown.d.ts +0 -2
- package/dist/ui/icons/ChevronRight.d.ts +0 -2
- package/dist/ui/icons/ChevronUp.d.ts +0 -2
- package/dist/ui/icons/CircleUser.d.ts +0 -2
- package/dist/ui/icons/Info.d.ts +0 -2
- package/dist/ui/icons/Key.d.ts +0 -2
- package/dist/ui/icons/MoonStar.d.ts +0 -2
- package/dist/ui/icons/Sun.d.ts +0 -2
- package/dist/ui/icons/X.d.ts +0 -2
- package/dist/ui/icons/iconWithClassName.d.ts +0 -6
- package/dist/ui/input.d.ts +0 -14
- package/dist/ui/label.d.ts +0 -15
- package/dist/ui/link.d.ts +0 -13
- package/dist/ui/loading-button.d.ts +0 -19
- package/dist/ui/loading-overlay.d.ts +0 -15
- package/dist/ui/loading-screen.d.ts +0 -13
- package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
- package/dist/ui/marketing/Hero.d.ts +0 -27
- package/dist/ui/marketing/PricingTable.d.ts +0 -24
- package/dist/ui/marketing/index.d.ts +0 -4
- package/dist/ui/menubar.d.ts +0 -114
- package/dist/ui/molecules/Autocomplete/index.d.ts +0 -4
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
- package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -24
- package/dist/ui/molecules/SkeletonList.d.ts +0 -15
- package/dist/ui/nativewind-env.d.ts +0 -1
- package/dist/ui/navigation-menu.d.ts +0 -67
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
- package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
- package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
- package/dist/ui/organisms/ListPage/index.d.ts +0 -3
- package/dist/ui/organisms/ListPage/types.d.ts +0 -41
- package/dist/ui/page-header.d.ts +0 -26
- package/dist/ui/password-strength.d.ts +0 -20
- package/dist/ui/popover.d.ts +0 -29
- package/dist/ui/progress.d.ts +0 -16
- package/dist/ui/radio-group.d.ts +0 -14
- package/dist/ui/select.d.ts +0 -83
- package/dist/ui/separator.d.ts +0 -15
- package/dist/ui/sheet.d.ts +0 -4
- package/dist/ui/sidebar.d.ts +0 -4
- package/dist/ui/skeleton.d.ts +0 -11
- package/dist/ui/stack.d.ts +0 -76
- package/dist/ui/stepper.d.ts +0 -22
- package/dist/ui/switch.d.ts +0 -14
- package/dist/ui/table.d.ts +0 -50
- package/dist/ui/tabs.d.ts +0 -32
- package/dist/ui/text.d.ts +0 -20
- package/dist/ui/textarea.d.ts +0 -9
- package/dist/ui/time-picker.d.ts +0 -21
- package/dist/ui/toggle-group.d.ts +0 -35
- package/dist/ui/toggle.d.ts +0 -33
- package/dist/ui/tooltip.d.ts +0 -31
- package/dist/ui/typography.d.ts +0 -64
- package/dist/ui/useColorScheme.d.ts +0 -11
- package/dist/ui/useListState.d.ts +0 -33
- package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
- package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
- package/dist/ui/usecases/index.d.ts +0 -3
- package/dist/ui/utils.d.ts +0 -6
package/dist/ui/tooltip.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import * as react_native40 from "react-native";
|
|
3
|
-
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
4
|
-
import * as _rn_primitives_tooltip0 from "@rn-primitives/tooltip";
|
|
5
|
-
|
|
6
|
-
//#region ui/tooltip.d.ts
|
|
7
|
-
declare const Tooltip: React$1.ForwardRefExoticComponent<react_native40.ViewProps & {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
} & {
|
|
10
|
-
onOpenChange?: (open: boolean) => void;
|
|
11
|
-
delayDuration?: number;
|
|
12
|
-
skipDelayDuration?: number;
|
|
13
|
-
disableHoverableContent?: boolean;
|
|
14
|
-
} & React$1.RefAttributes<react_native40.View>>;
|
|
15
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<react_native40.PressableProps & React$1.RefAttributes<react_native40.View>, "ref"> & {
|
|
16
|
-
asChild?: boolean;
|
|
17
|
-
} & {
|
|
18
|
-
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
19
|
-
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
20
|
-
} & React$1.RefAttributes<_rn_primitives_tooltip0.TriggerRef>>;
|
|
21
|
-
declare function TooltipContent({
|
|
22
|
-
className,
|
|
23
|
-
sideOffset,
|
|
24
|
-
portalHost,
|
|
25
|
-
...props
|
|
26
|
-
}: _rn_primitives_tooltip0.ContentProps & {
|
|
27
|
-
ref?: React$1.RefObject<_rn_primitives_tooltip0.ContentRef>;
|
|
28
|
-
portalHost?: string;
|
|
29
|
-
}): react_jsx_runtime79.JSX.Element;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { Tooltip, TooltipContent, TooltipTrigger };
|
package/dist/ui/typography.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { TextProps } from "./text.js";
|
|
2
|
-
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region ui/typography.d.ts
|
|
5
|
-
type TypographyProps = TextProps & {
|
|
6
|
-
asChild?: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare function H1({
|
|
9
|
-
className,
|
|
10
|
-
asChild,
|
|
11
|
-
...props
|
|
12
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
13
|
-
declare function H2({
|
|
14
|
-
className,
|
|
15
|
-
asChild,
|
|
16
|
-
...props
|
|
17
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
18
|
-
declare function H3({
|
|
19
|
-
className,
|
|
20
|
-
asChild,
|
|
21
|
-
...props
|
|
22
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
23
|
-
declare function H4({
|
|
24
|
-
className,
|
|
25
|
-
asChild,
|
|
26
|
-
...props
|
|
27
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
28
|
-
declare function P({
|
|
29
|
-
className,
|
|
30
|
-
asChild,
|
|
31
|
-
...props
|
|
32
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
33
|
-
declare function BlockQuote({
|
|
34
|
-
className,
|
|
35
|
-
asChild,
|
|
36
|
-
...props
|
|
37
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
38
|
-
declare function Code({
|
|
39
|
-
className,
|
|
40
|
-
asChild,
|
|
41
|
-
...props
|
|
42
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
43
|
-
declare function Lead({
|
|
44
|
-
className,
|
|
45
|
-
asChild,
|
|
46
|
-
...props
|
|
47
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
48
|
-
declare function Large({
|
|
49
|
-
className,
|
|
50
|
-
asChild,
|
|
51
|
-
...props
|
|
52
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
53
|
-
declare function Small({
|
|
54
|
-
className,
|
|
55
|
-
asChild,
|
|
56
|
-
...props
|
|
57
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
58
|
-
declare function Muted({
|
|
59
|
-
className,
|
|
60
|
-
asChild,
|
|
61
|
-
...props
|
|
62
|
-
}: TypographyProps): react_jsx_runtime81.JSX.Element;
|
|
63
|
-
//#endregion
|
|
64
|
-
export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small, TypographyProps };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_native44 from "react-native";
|
|
2
|
-
|
|
3
|
-
//#region ui/useColorScheme.d.ts
|
|
4
|
-
declare function useColorScheme(): {
|
|
5
|
-
colorScheme: "light" | "dark";
|
|
6
|
-
isDarkColorScheme: boolean;
|
|
7
|
-
setColorScheme: (scheme: react_native44.ColorSchemeName) => void;
|
|
8
|
-
toggleColorScheme: () => void;
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { useColorScheme };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//#region ui/useListState.d.ts
|
|
2
|
-
interface UseListStateOptions {
|
|
3
|
-
initialSearch?: string;
|
|
4
|
-
initialFilters?: Record<string, string>;
|
|
5
|
-
initialPage?: number;
|
|
6
|
-
initialItemsPerPage?: number;
|
|
7
|
-
debounceMs?: number;
|
|
8
|
-
}
|
|
9
|
-
interface UseListStateReturn {
|
|
10
|
-
searchQuery: string;
|
|
11
|
-
setSearchQuery: (query: string) => void;
|
|
12
|
-
filters: Record<string, string>;
|
|
13
|
-
setFilter: (key: string, value: string) => void;
|
|
14
|
-
clearFilters: () => void;
|
|
15
|
-
currentPage: number;
|
|
16
|
-
itemsPerPage: number;
|
|
17
|
-
setCurrentPage: (page: number) => void;
|
|
18
|
-
setItemsPerPage: (itemsPerPage: number) => void;
|
|
19
|
-
queryParams: {
|
|
20
|
-
search: string;
|
|
21
|
-
page: number;
|
|
22
|
-
limit: number;
|
|
23
|
-
} & Record<string, string | number>;
|
|
24
|
-
resetAll: () => void;
|
|
25
|
-
}
|
|
26
|
-
declare const useListState: ({
|
|
27
|
-
initialSearch,
|
|
28
|
-
initialFilters,
|
|
29
|
-
initialPage,
|
|
30
|
-
initialItemsPerPage
|
|
31
|
-
}?: UseListStateOptions) => UseListStateReturn;
|
|
32
|
-
//#endregion
|
|
33
|
-
export { UseListStateOptions, UseListStateReturn, useListState };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region ui/usecases/UseCaseCard.d.ts
|
|
4
|
-
declare function UseCaseCard({
|
|
5
|
-
title,
|
|
6
|
-
summary,
|
|
7
|
-
ctaHref,
|
|
8
|
-
ctaLabel,
|
|
9
|
-
onCtaClick
|
|
10
|
-
}: {
|
|
11
|
-
title: string;
|
|
12
|
-
summary?: string;
|
|
13
|
-
ctaHref?: string;
|
|
14
|
-
ctaLabel?: string;
|
|
15
|
-
onCtaClick?: () => void;
|
|
16
|
-
}): react_jsx_runtime112.JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { UseCaseCard };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region ui/usecases/UserStoryCard.d.ts
|
|
4
|
-
declare function UserStoryCard({
|
|
5
|
-
title,
|
|
6
|
-
body,
|
|
7
|
-
outcome
|
|
8
|
-
}: {
|
|
9
|
-
title: string;
|
|
10
|
-
body?: string;
|
|
11
|
-
outcome?: string;
|
|
12
|
-
}): react_jsx_runtime3.JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { UserStoryCard };
|