@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.
Files changed (157) hide show
  1. package/README.md +5 -0
  2. package/dist/-core/src/utils.js +10 -0
  3. package/dist/_virtual/rolldown_runtime.js +33 -0
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/dist/ui/accordion.js +1 -1
  6. package/dist/ui/alert-dialog.js +1 -1
  7. package/dist/ui/alert.js +1 -1
  8. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +3 -3
  9. package/dist/ui/atoms/Pagination/Pagination.js +4 -1
  10. package/dist/ui/atoms/SearchInput/SearchInput.js +2 -1
  11. package/dist/ui/avatar.js +1 -1
  12. package/dist/ui/badge.js +1 -1
  13. package/dist/ui/breadcrumb.js +4 -3
  14. package/dist/ui/button.js +1 -1
  15. package/dist/ui/card.js +1 -1
  16. package/dist/ui/checkbox.js +1 -1
  17. package/dist/ui/context-menu.js +1 -1
  18. package/dist/ui/date-picker.js +1 -1
  19. package/dist/ui/date-range-picker.js +1 -1
  20. package/dist/ui/dialog.js +1 -1
  21. package/dist/ui/dropdown-menu.js +1 -1
  22. package/dist/ui/empty-state.js +1 -1
  23. package/dist/ui/empty.js +1 -1
  24. package/dist/ui/fab.js +1 -1
  25. package/dist/ui/field.js +1 -1
  26. package/dist/ui/form.js +1 -1
  27. package/dist/ui/hover-card.js +1 -1
  28. package/dist/ui/input.js +1 -1
  29. package/dist/ui/label.js +1 -1
  30. package/dist/ui/link.js +1 -1
  31. package/dist/ui/marketing/Hero.js +1 -1
  32. package/dist/ui/marketing/PricingTable.js +1 -1
  33. package/dist/ui/menubar.js +1 -1
  34. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +4 -2
  35. package/dist/ui/nativewind-env.d.js +0 -0
  36. package/dist/ui/navigation-menu.js +1 -1
  37. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +5 -3
  38. package/dist/ui/organisms/ListPage/ListPage.js +12 -7
  39. package/dist/ui/page-header.js +1 -1
  40. package/dist/ui/popover.js +1 -1
  41. package/dist/ui/progress.js +1 -1
  42. package/dist/ui/radio-group.js +1 -1
  43. package/dist/ui/select.js +1 -1
  44. package/dist/ui/separator.js +1 -1
  45. package/dist/ui/skeleton.js +1 -1
  46. package/dist/ui/stack.js +1 -1
  47. package/dist/ui/stepper.js +1 -1
  48. package/dist/ui/switch.js +1 -1
  49. package/dist/ui/table.js +1 -1
  50. package/dist/ui/tabs.js +1 -1
  51. package/dist/ui/text.js +1 -1
  52. package/dist/ui/textarea.js +1 -1
  53. package/dist/ui/time-picker.js +1 -1
  54. package/dist/ui/toggle-group.js +1 -1
  55. package/dist/ui/toggle.js +1 -1
  56. package/dist/ui/tooltip.js +1 -1
  57. package/dist/ui/typography.js +1 -1
  58. package/package.json +205 -114
  59. package/dist/index.d.ts +0 -4
  60. package/dist/ui/accordion.d.ts +0 -35
  61. package/dist/ui/alert-dialog.d.ts +0 -71
  62. package/dist/ui/alert.d.ts +0 -36
  63. package/dist/ui/aspect-ratio.d.ts +0 -11
  64. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
  65. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
  66. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
  67. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
  68. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
  69. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
  70. package/dist/ui/atoms/Pagination/index.d.ts +0 -3
  71. package/dist/ui/atoms/Pagination/types.d.ts +0 -15
  72. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
  73. package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
  74. package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
  75. package/dist/ui/avatar.d.ts +0 -27
  76. package/dist/ui/badge.d.ts +0 -21
  77. package/dist/ui/breadcrumb.d.ts +0 -38
  78. package/dist/ui/button.d.ts +0 -25
  79. package/dist/ui/card.d.ts +0 -43
  80. package/dist/ui/carousel.d.ts +0 -4
  81. package/dist/ui/checkbox.d.ts +0 -16
  82. package/dist/ui/collapsible.d.ts +0 -24
  83. package/dist/ui/command.d.ts +0 -4
  84. package/dist/ui/context-menu.d.ts +0 -109
  85. package/dist/ui/date-picker.d.ts +0 -23
  86. package/dist/ui/date-range-picker.d.ts +0 -30
  87. package/dist/ui/datetime-picker.d.ts +0 -27
  88. package/dist/ui/dialog.d.ts +0 -68
  89. package/dist/ui/dropdown-menu.d.ts +0 -111
  90. package/dist/ui/empty-state.d.ts +0 -28
  91. package/dist/ui/empty.d.ts +0 -36
  92. package/dist/ui/fab.d.ts +0 -35
  93. package/dist/ui/field.d.ts +0 -66
  94. package/dist/ui/form.d.ts +0 -49
  95. package/dist/ui/hover-card.d.ts +0 -29
  96. package/dist/ui/icons/Check.d.ts +0 -2
  97. package/dist/ui/icons/ChevronDown.d.ts +0 -2
  98. package/dist/ui/icons/ChevronRight.d.ts +0 -2
  99. package/dist/ui/icons/ChevronUp.d.ts +0 -2
  100. package/dist/ui/icons/CircleUser.d.ts +0 -2
  101. package/dist/ui/icons/Info.d.ts +0 -2
  102. package/dist/ui/icons/Key.d.ts +0 -2
  103. package/dist/ui/icons/MoonStar.d.ts +0 -2
  104. package/dist/ui/icons/Sun.d.ts +0 -2
  105. package/dist/ui/icons/X.d.ts +0 -2
  106. package/dist/ui/icons/iconWithClassName.d.ts +0 -6
  107. package/dist/ui/input.d.ts +0 -14
  108. package/dist/ui/label.d.ts +0 -15
  109. package/dist/ui/link.d.ts +0 -13
  110. package/dist/ui/loading-button.d.ts +0 -19
  111. package/dist/ui/loading-overlay.d.ts +0 -15
  112. package/dist/ui/loading-screen.d.ts +0 -13
  113. package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
  114. package/dist/ui/marketing/Hero.d.ts +0 -27
  115. package/dist/ui/marketing/PricingTable.d.ts +0 -24
  116. package/dist/ui/marketing/index.d.ts +0 -4
  117. package/dist/ui/menubar.d.ts +0 -114
  118. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -4
  119. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
  120. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
  121. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -24
  122. package/dist/ui/molecules/SkeletonList.d.ts +0 -15
  123. package/dist/ui/nativewind-env.d.ts +0 -1
  124. package/dist/ui/navigation-menu.d.ts +0 -67
  125. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
  126. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
  127. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
  128. package/dist/ui/organisms/ListPage/index.d.ts +0 -3
  129. package/dist/ui/organisms/ListPage/types.d.ts +0 -41
  130. package/dist/ui/page-header.d.ts +0 -26
  131. package/dist/ui/password-strength.d.ts +0 -20
  132. package/dist/ui/popover.d.ts +0 -29
  133. package/dist/ui/progress.d.ts +0 -16
  134. package/dist/ui/radio-group.d.ts +0 -14
  135. package/dist/ui/select.d.ts +0 -83
  136. package/dist/ui/separator.d.ts +0 -15
  137. package/dist/ui/sheet.d.ts +0 -4
  138. package/dist/ui/sidebar.d.ts +0 -4
  139. package/dist/ui/skeleton.d.ts +0 -11
  140. package/dist/ui/stack.d.ts +0 -76
  141. package/dist/ui/stepper.d.ts +0 -22
  142. package/dist/ui/switch.d.ts +0 -14
  143. package/dist/ui/table.d.ts +0 -50
  144. package/dist/ui/tabs.d.ts +0 -32
  145. package/dist/ui/text.d.ts +0 -20
  146. package/dist/ui/textarea.d.ts +0 -9
  147. package/dist/ui/time-picker.d.ts +0 -21
  148. package/dist/ui/toggle-group.d.ts +0 -35
  149. package/dist/ui/toggle.d.ts +0 -33
  150. package/dist/ui/tooltip.d.ts +0 -31
  151. package/dist/ui/typography.d.ts +0 -64
  152. package/dist/ui/useColorScheme.d.ts +0 -11
  153. package/dist/ui/useListState.d.ts +0 -33
  154. package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
  155. package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
  156. package/dist/ui/usecases/index.d.ts +0 -3
  157. package/dist/ui/utils.d.ts +0 -6
@@ -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 };
@@ -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 };
@@ -1,3 +0,0 @@
1
- import { UseCaseCard } from "./UseCaseCard.js";
2
- import { UserStoryCard } from "./UserStoryCard.js";
3
- export { UseCaseCard, UserStoryCard };
@@ -1,6 +0,0 @@
1
- import { ClassValue } from "clsx";
2
-
3
- //#region ui/utils.d.ts
4
- declare function cn(...inputs: ClassValue[]): string;
5
- //#endregion
6
- export { cn };