@lssm/lib.design-system 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 (251) hide show
  1. package/README.md +6 -1
  2. package/dist/_virtual/rolldown_runtime.js +9 -4
  3. package/dist/components/agent/ApprovalQueue.js +1 -1
  4. package/dist/components/atoms/Button.js +4 -5
  5. package/dist/components/atoms/ButtonLink.js +2 -2
  6. package/dist/components/atoms/Cta.js +4 -5
  7. package/dist/components/atoms/EmptyState.js +4 -4
  8. package/dist/components/atoms/ErrorState.js +1 -2
  9. package/dist/components/atoms/Input.js +5 -6
  10. package/dist/components/atoms/Link.js +1 -2
  11. package/dist/components/atoms/Link.web.js +4 -2
  12. package/dist/components/atoms/LoaderCircular.js +1 -2
  13. package/dist/components/atoms/Stepper.js +4 -4
  14. package/dist/components/atoms/Textarea.js +8 -9
  15. package/dist/components/data-view/DataViewRenderer.js +2 -2
  16. package/dist/components/forms/ActionForm.js +18 -0
  17. package/dist/components/forms/FormOneByOneLayout.js +3 -3
  18. package/dist/components/forms/FormStepsLayout.js +3 -3
  19. package/dist/components/forms/ZodForm.js +1 -1
  20. package/dist/components/legal/atoms/LegalCallout.js +1 -1
  21. package/dist/components/legal/atoms/LegalHeading.js +1 -1
  22. package/dist/components/legal/atoms/LegalList.js +1 -1
  23. package/dist/components/legal/atoms/LegalSection.js +1 -1
  24. package/dist/components/legal/atoms/LegalText.js +1 -1
  25. package/dist/components/legal/molecules/ContactFields.js +8 -8
  26. package/dist/components/legal/molecules/LegalTOC.js +1 -1
  27. package/dist/components/legal/organisms/ContactForm.js +3 -3
  28. package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
  29. package/dist/components/legal/templates/ContactTemplate.js +3 -3
  30. package/dist/components/marketing/MarketingCard.js +20 -0
  31. package/dist/components/marketing/MarketingCardsSection.js +28 -0
  32. package/dist/components/marketing/MarketingComparisonSection.js +52 -0
  33. package/dist/components/marketing/MarketingIconCard.js +73 -0
  34. package/dist/components/marketing/MarketingSection.js +61 -0
  35. package/dist/components/marketing/MarketingStepCard.js +36 -0
  36. package/dist/components/molecules/AiLinkButton.js +4 -4
  37. package/dist/components/molecules/Breadcrumbs.js +2 -2
  38. package/dist/components/molecules/CommandPalette.js +3 -3
  39. package/dist/components/molecules/CommandSearchTrigger.js +3 -3
  40. package/dist/components/molecules/FiltersToolbar.js +5 -5
  41. package/dist/components/molecules/HoverPreview.js +2 -2
  42. package/dist/components/molecules/LangSwitchDropdown.js +2 -2
  43. package/dist/components/molecules/LoaderBlock.js +1 -2
  44. package/dist/components/molecules/OverviewCard.js +5 -4
  45. package/dist/components/molecules/SkeletonBlock/index.web.js +1 -2
  46. package/dist/components/molecules/SkeletonCircle/index.web.js +1 -2
  47. package/dist/components/molecules/SkeletonList/index.web.js +4 -5
  48. package/dist/components/organisms/AcademyLayout.js +2 -2
  49. package/dist/components/organisms/AppLayout.js +2 -2
  50. package/dist/components/organisms/EmptySearchResult.js +5 -5
  51. package/dist/components/organisms/FAQSection.js +2 -2
  52. package/dist/components/organisms/Footer.js +2 -4
  53. package/dist/components/organisms/MarketingHeader.js +5 -5
  54. package/dist/components/organisms/MarketingHeaderMobile.js +2 -2
  55. package/dist/components/organisms/MarketingLayout.js +1 -0
  56. package/dist/components/templates/lists/ListPageTemplate/index.web.js +2 -2
  57. package/dist/hooks/useListUrlState.js +7 -7
  58. package/dist/index.js +9 -1
  59. package/dist/lib/keyboard.js +1 -172
  60. package/dist/platform/useColorScheme.js +3 -3
  61. package/dist/platform/useReducedMotion.js +3 -3
  62. package/dist/platform/useResponsive.js +4 -4
  63. package/dist/renderers/form-contract.js +1 -1
  64. package/package.json +14 -304
  65. package/dist/components/agent/AgentMonitor.d.ts +0 -28
  66. package/dist/components/agent/ApprovalQueue.d.ts +0 -25
  67. package/dist/components/atoms/ActionButtons.d.ts +0 -25
  68. package/dist/components/atoms/Button.d.ts +0 -39
  69. package/dist/components/atoms/Button.mobile.d.ts +0 -21
  70. package/dist/components/atoms/Button.mobile.js +0 -34
  71. package/dist/components/atoms/ButtonLink.d.ts +0 -21
  72. package/dist/components/atoms/ButtonLink.mobile.d.ts +0 -19
  73. package/dist/components/atoms/ButtonLink.mobile.js +0 -41
  74. package/dist/components/atoms/Cta.d.ts +0 -20
  75. package/dist/components/atoms/Cta.mobile.d.ts +0 -14
  76. package/dist/components/atoms/Cta.mobile.js +0 -38
  77. package/dist/components/atoms/DataChips.d.ts +0 -37
  78. package/dist/components/atoms/EmptyState.d.ts +0 -7
  79. package/dist/components/atoms/ErrorState.d.ts +0 -28
  80. package/dist/components/atoms/ErrorState.mobile.d.ts +0 -28
  81. package/dist/components/atoms/ErrorState.mobile.js +0 -41
  82. package/dist/components/atoms/Input.d.ts +0 -39
  83. package/dist/components/atoms/Input.mobile.d.ts +0 -37
  84. package/dist/components/atoms/Input.mobile.js +0 -27
  85. package/dist/components/atoms/Link.d.ts +0 -11
  86. package/dist/components/atoms/Link.native.d.ts +0 -1
  87. package/dist/components/atoms/Link.native.js +0 -0
  88. package/dist/components/atoms/Link.web.d.ts +0 -23
  89. package/dist/components/atoms/LoaderCircular.d.ts +0 -22
  90. package/dist/components/atoms/LoaderCircular.mobile.d.ts +0 -17
  91. package/dist/components/atoms/LoaderCircular.mobile.js +0 -26
  92. package/dist/components/atoms/NavBrand.d.ts +0 -18
  93. package/dist/components/atoms/Stepper.d.ts +0 -7
  94. package/dist/components/atoms/Textarea.d.ts +0 -41
  95. package/dist/components/atoms/Textarea.mobile.d.ts +0 -37
  96. package/dist/components/atoms/Textarea.mobile.js +0 -27
  97. package/dist/components/data-view/DataViewDetail.d.ts +0 -21
  98. package/dist/components/data-view/DataViewList.d.ts +0 -23
  99. package/dist/components/data-view/DataViewRenderer.d.ts +0 -47
  100. package/dist/components/data-view/DataViewTable.d.ts +0 -25
  101. package/dist/components/data-view/utils.d.ts +0 -5
  102. package/dist/components/forms/FormCardLayout.d.ts +0 -22
  103. package/dist/components/forms/FormDialog.d.ts +0 -24
  104. package/dist/components/forms/FormLayout.d.ts +0 -29
  105. package/dist/components/forms/FormOneByOneLayout.d.ts +0 -25
  106. package/dist/components/forms/FormStepsLayout.d.ts +0 -26
  107. package/dist/components/forms/ZodForm.d.ts +0 -21
  108. package/dist/components/legal/atoms/DefinitionList.d.ts +0 -16
  109. package/dist/components/legal/atoms/KeyValueList.d.ts +0 -16
  110. package/dist/components/legal/atoms/LegalCallout.d.ts +0 -17
  111. package/dist/components/legal/atoms/LegalHeading.d.ts +0 -24
  112. package/dist/components/legal/atoms/LegalList.d.ts +0 -20
  113. package/dist/components/legal/atoms/LegalSection.d.ts +0 -21
  114. package/dist/components/legal/atoms/LegalText.d.ts +0 -24
  115. package/dist/components/legal/molecules/Consent.d.ts +0 -35
  116. package/dist/components/legal/molecules/ContactFields.d.ts +0 -24
  117. package/dist/components/legal/molecules/LegalMeta.d.ts +0 -14
  118. package/dist/components/legal/molecules/LegalTOC.d.ts +0 -30
  119. package/dist/components/legal/organisms/ContactForm.d.ts +0 -29
  120. package/dist/components/legal/organisms/GDPRDataRequest.d.ts +0 -18
  121. package/dist/components/legal/organisms/GDPRRights.d.ts +0 -13
  122. package/dist/components/legal/organisms/LegalPageLayout.d.ts +0 -23
  123. package/dist/components/legal/templates/ContactTemplate.d.ts +0 -23
  124. package/dist/components/legal/templates/CookiesTemplate.d.ts +0 -32
  125. package/dist/components/legal/templates/PrivacyTemplate.d.ts +0 -32
  126. package/dist/components/legal/templates/SalesTermsTemplate.d.ts +0 -27
  127. package/dist/components/legal/templates/TermsTemplate.d.ts +0 -27
  128. package/dist/components/molecules/AiLinkButton.d.ts +0 -15
  129. package/dist/components/molecules/Breadcrumbs.d.ts +0 -15
  130. package/dist/components/molecules/CommandPalette.d.ts +0 -26
  131. package/dist/components/molecules/CommandSearchTrigger.d.ts +0 -18
  132. package/dist/components/molecules/DropdownMenu.d.ts +0 -1
  133. package/dist/components/molecules/DropdownMenu.js +0 -0
  134. package/dist/components/molecules/EntityCard.d.ts +0 -37
  135. package/dist/components/molecules/FiltersToolbar.d.ts +0 -35
  136. package/dist/components/molecules/FiltersToolbar.mobile.d.ts +0 -18
  137. package/dist/components/molecules/FiltersToolbar.mobile.js +0 -48
  138. package/dist/components/molecules/HoverPreview.d.ts +0 -20
  139. package/dist/components/molecules/LangSwitch.d.ts +0 -22
  140. package/dist/components/molecules/LangSwitchDropdown.d.ts +0 -21
  141. package/dist/components/molecules/LoaderBlock.d.ts +0 -18
  142. package/dist/components/molecules/LoaderBlock.mobile.d.ts +0 -18
  143. package/dist/components/molecules/LoaderBlock.mobile.js +0 -25
  144. package/dist/components/molecules/MobileNavMenu.d.ts +0 -13
  145. package/dist/components/molecules/NavItemCard.d.ts +0 -14
  146. package/dist/components/molecules/NavMain.d.ts +0 -13
  147. package/dist/components/molecules/NavUser.d.ts +0 -17
  148. package/dist/components/molecules/OverviewCard.d.ts +0 -20
  149. package/dist/components/molecules/SkeletonBlock/index.d.ts +0 -3
  150. package/dist/components/molecules/SkeletonBlock/index.js +0 -3
  151. package/dist/components/molecules/SkeletonBlock/index.mobile.d.ts +0 -12
  152. package/dist/components/molecules/SkeletonBlock/index.mobile.js +0 -18
  153. package/dist/components/molecules/SkeletonBlock/index.web.d.ts +0 -12
  154. package/dist/components/molecules/SkeletonBlock/types.d.ts +0 -9
  155. package/dist/components/molecules/SkeletonBlock/types.js +0 -0
  156. package/dist/components/molecules/SkeletonCircle/index.d.ts +0 -3
  157. package/dist/components/molecules/SkeletonCircle/index.js +0 -3
  158. package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts +0 -11
  159. package/dist/components/molecules/SkeletonCircle/index.mobile.js +0 -23
  160. package/dist/components/molecules/SkeletonCircle/index.web.d.ts +0 -11
  161. package/dist/components/molecules/SkeletonCircle/types.d.ts +0 -8
  162. package/dist/components/molecules/SkeletonCircle/types.js +0 -0
  163. package/dist/components/molecules/SkeletonList/index.d.ts +0 -3
  164. package/dist/components/molecules/SkeletonList/index.js +0 -3
  165. package/dist/components/molecules/SkeletonList/index.mobile.d.ts +0 -10
  166. package/dist/components/molecules/SkeletonList/index.mobile.js +0 -22
  167. package/dist/components/molecules/SkeletonList/index.web.d.ts +0 -10
  168. package/dist/components/molecules/SkeletonList/types.d.ts +0 -7
  169. package/dist/components/molecules/SkeletonList/types.js +0 -0
  170. package/dist/components/molecules/StatCard.d.ts +0 -36
  171. package/dist/components/molecules/StatusChip.d.ts +0 -26
  172. package/dist/components/molecules/hover-previews/Doc.d.ts +0 -27
  173. package/dist/components/molecules/hover-previews/Media.d.ts +0 -20
  174. package/dist/components/molecules/hover-previews/Simple.d.ts +0 -25
  175. package/dist/components/molecules/hover-previews/Stats.d.ts +0 -22
  176. package/dist/components/molecules/hover-previews/User.d.ts +0 -25
  177. package/dist/components/native/BottomTabs.mobile.d.ts +0 -20
  178. package/dist/components/native/BottomTabs.mobile.js +0 -27
  179. package/dist/components/native/FlatListScreen.mobile.d.ts +0 -43
  180. package/dist/components/native/FlatListScreen.mobile.js +0 -63
  181. package/dist/components/native/SheetMenu.mobile.d.ts +0 -17
  182. package/dist/components/native/SheetMenu.mobile.js +0 -21
  183. package/dist/components/organisms/AcademyLayout.d.ts +0 -29
  184. package/dist/components/organisms/AppHeader.d.ts +0 -18
  185. package/dist/components/organisms/AppHeader.mobile.d.ts +0 -21
  186. package/dist/components/organisms/AppHeader.mobile.js +0 -52
  187. package/dist/components/organisms/AppLayout.d.ts +0 -28
  188. package/dist/components/organisms/AppSidebar.d.ts +0 -23
  189. package/dist/components/organisms/AppSidebar.mobile.d.ts +0 -1
  190. package/dist/components/organisms/AppSidebar.mobile.js +0 -0
  191. package/dist/components/organisms/EmptyDataList.d.ts +0 -20
  192. package/dist/components/organisms/EmptyDataList.mobile.d.ts +0 -20
  193. package/dist/components/organisms/EmptyDataList.mobile.js +0 -27
  194. package/dist/components/organisms/EmptyDataList.types.d.ts +0 -19
  195. package/dist/components/organisms/EmptyDataList.types.js +0 -1
  196. package/dist/components/organisms/EmptySearchResult.d.ts +0 -24
  197. package/dist/components/organisms/FAQSection.d.ts +0 -31
  198. package/dist/components/organisms/FeatureCarousel.d.ts +0 -18
  199. package/dist/components/organisms/FeaturesSection.d.ts +0 -19
  200. package/dist/components/organisms/Footer.d.ts +0 -25
  201. package/dist/components/organisms/GridLayout.d.ts +0 -25
  202. package/dist/components/organisms/GridLayout.js +0 -28
  203. package/dist/components/organisms/Header.d.ts +0 -37
  204. package/dist/components/organisms/Header.mobile.d.ts +0 -24
  205. package/dist/components/organisms/Header.mobile.js +0 -18
  206. package/dist/components/organisms/HeroResponsive.d.ts +0 -14
  207. package/dist/components/organisms/HeroSection.d.ts +0 -29
  208. package/dist/components/organisms/ListCardPage.d.ts +0 -36
  209. package/dist/components/organisms/ListGridPage.d.ts +0 -36
  210. package/dist/components/organisms/ListPageResponsive.d.ts +0 -7
  211. package/dist/components/organisms/ListTablePage.d.ts +0 -33
  212. package/dist/components/organisms/MarketingHeader.d.ts +0 -36
  213. package/dist/components/organisms/MarketingHeaderDesktop.d.ts +0 -15
  214. package/dist/components/organisms/MarketingHeaderMobile.d.ts +0 -12
  215. package/dist/components/organisms/MarketingLayout.d.ts +0 -18
  216. package/dist/components/organisms/PageHeaderResponsive.d.ts +0 -8
  217. package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +0 -22
  218. package/dist/components/organisms/PageHeaderResponsive.mobile.js +0 -32
  219. package/dist/components/organisms/PricingCarousel.d.ts +0 -24
  220. package/dist/components/organisms/PricingSection.d.ts +0 -18
  221. package/dist/components/organisms/TestimonialCarousel.d.ts +0 -19
  222. package/dist/components/templates/lists/ListPageTemplate/index.d.ts +0 -3
  223. package/dist/components/templates/lists/ListPageTemplate/index.js +0 -3
  224. package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts +0 -21
  225. package/dist/components/templates/lists/ListPageTemplate/index.mobile.js +0 -32
  226. package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +0 -22
  227. package/dist/components/templates/lists/ListPageTemplate/types.d.ts +0 -25
  228. package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
  229. package/dist/hooks/useListUrlState.d.ts +0 -30
  230. package/dist/index.d.ts +0 -108
  231. package/dist/lib/keyboard.d.ts +0 -14
  232. package/dist/lib/utils.d.ts +0 -6
  233. package/dist/platform/useColorScheme.d.ts +0 -5
  234. package/dist/platform/useColorScheme.mobile.d.ts +0 -5
  235. package/dist/platform/useColorScheme.mobile.js +0 -20
  236. package/dist/platform/useReducedMotion.d.ts +0 -4
  237. package/dist/platform/useReducedMotion.mobile.d.ts +0 -4
  238. package/dist/platform/useReducedMotion.mobile.js +0 -28
  239. package/dist/platform/useResponsive.d.ts +0 -23
  240. package/dist/platform/useResponsive.mobile.d.ts +0 -23
  241. package/dist/platform/useResponsive.mobile.js +0 -42
  242. package/dist/platform/withPlatformUI.d.ts +0 -28
  243. package/dist/renderers/form-contract.d.ts +0 -11
  244. package/dist/renderers/index.d.ts +0 -2
  245. package/dist/renderers/index.js +0 -3
  246. package/dist/theme/tokenBridge.d.ts +0 -19
  247. package/dist/theme/tokens.d.ts +0 -50
  248. package/dist/theme/variants.d.ts +0 -21
  249. package/dist/types/nativewind-env.d.ts +0 -1
  250. package/dist/types/navigation.d.ts +0 -44
  251. package/dist/types/navigation.js +0 -1
@@ -1,10 +0,0 @@
1
- import { SkeletonListProps } from "./types.js";
2
- import * as react_jsx_runtime68 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/SkeletonList/index.mobile.d.ts
5
- declare function SkeletonList({
6
- count,
7
- className
8
- }: SkeletonListProps): react_jsx_runtime68.JSX.Element;
9
- //#endregion
10
- export { SkeletonList, SkeletonList as default };
@@ -1,22 +0,0 @@
1
- import { SkeletonBlock } from "../SkeletonBlock/index.web.js";
2
- import "react";
3
- import { jsx } from "react/jsx-runtime";
4
- import { View } from "react-native";
5
-
6
- //#region src/components/molecules/SkeletonList/index.mobile.tsx
7
- function SkeletonList({ count = 10, className }) {
8
- return /* @__PURE__ */ jsx(View, {
9
- className,
10
- children: Array.from({ length: Math.max(1, count) }).map((_, i) => /* @__PURE__ */ jsx(View, {
11
- className: "mb-2",
12
- children: /* @__PURE__ */ jsx(SkeletonBlock, {
13
- h: "h-5",
14
- rounded: "md"
15
- })
16
- }, i))
17
- });
18
- }
19
- var index_mobile_default = SkeletonList;
20
-
21
- //#endregion
22
- export { SkeletonList, index_mobile_default as default };
@@ -1,10 +0,0 @@
1
- import { SkeletonListProps } from "./types.js";
2
- import * as react_jsx_runtime73 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/SkeletonList/index.web.d.ts
5
- declare function SkeletonList({
6
- count,
7
- className
8
- }: SkeletonListProps): react_jsx_runtime73.JSX.Element;
9
- //#endregion
10
- export { SkeletonList, SkeletonList as default };
@@ -1,7 +0,0 @@
1
- //#region src/components/molecules/SkeletonList/types.d.ts
2
- interface SkeletonListProps {
3
- count?: number;
4
- className?: string;
5
- }
6
- //#endregion
7
- export { SkeletonListProps };
File without changes
@@ -1,36 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime82 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import { Card } from "@lssm/lib.ui-kit-web/ui/card";
5
- import * as class_variance_authority_types10 from "class-variance-authority/types";
6
-
7
- //#region src/components/molecules/StatCard.d.ts
8
- declare const statVariants: (props?: ({
9
- emphasis?: "default" | "subtle" | "strong" | null | undefined;
10
- density?: "compact" | "comfortable" | null | undefined;
11
- } & class_variance_authority_types10.ClassProp) | undefined) => string;
12
- type StatCardProps = React$1.ComponentProps<typeof Card> & VariantProps<typeof statVariants> & {
13
- label: React$1.ReactNode;
14
- value: React$1.ReactNode;
15
- hint?: React$1.ReactNode;
16
- icon?: React$1.ReactNode;
17
- };
18
- declare function StatCard({
19
- label,
20
- value,
21
- hint,
22
- icon,
23
- emphasis,
24
- density,
25
- className,
26
- ...props
27
- }: StatCardProps): react_jsx_runtime82.JSX.Element;
28
- declare function StatCardGroup({
29
- children,
30
- className
31
- }: {
32
- children: React$1.ReactNode;
33
- className?: string;
34
- }): react_jsx_runtime82.JSX.Element;
35
- //#endregion
36
- export { StatCard, StatCardGroup, StatCardProps };
@@ -1,26 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime37 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types4 from "class-variance-authority/types";
5
-
6
- //#region src/components/molecules/StatusChip.d.ts
7
- declare const chipVariants: (props?: ({
8
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | null | undefined;
9
- size?: "sm" | "md" | null | undefined;
10
- } & class_variance_authority_types4.ClassProp) | undefined) => string;
11
- type StatusChipProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof chipVariants> & {
12
- icon?: React$1.ReactNode;
13
- label?: React$1.ReactNode;
14
- hoverContent?: React$1.ReactNode;
15
- };
16
- declare function StatusChip({
17
- tone,
18
- size,
19
- icon,
20
- label,
21
- className,
22
- hoverContent,
23
- ...props
24
- }: StatusChipProps): react_jsx_runtime37.JSX.Element;
25
- //#endregion
26
- export { StatusChip, StatusChipProps };
@@ -1,27 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime76 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/hover-previews/Doc.d.ts
5
- interface HoverPreviewDocProps {
6
- docType: string;
7
- number?: string;
8
- title?: React$1.ReactNode;
9
- meta?: {
10
- label: React$1.ReactNode;
11
- value: React$1.ReactNode;
12
- }[];
13
- status?: React$1.ReactNode;
14
- amount?: React$1.ReactNode;
15
- className?: string;
16
- }
17
- declare function HoverPreviewDoc({
18
- docType,
19
- number,
20
- title,
21
- meta,
22
- status,
23
- amount,
24
- className
25
- }: HoverPreviewDocProps): react_jsx_runtime76.JSX.Element;
26
- //#endregion
27
- export { HoverPreviewDoc, HoverPreviewDocProps };
@@ -1,20 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime78 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/hover-previews/Media.d.ts
5
- interface HoverPreviewMediaProps {
6
- title?: React$1.ReactNode;
7
- subtitle?: React$1.ReactNode;
8
- media: React$1.ReactNode;
9
- caption?: React$1.ReactNode;
10
- className?: string;
11
- }
12
- declare function HoverPreviewMedia({
13
- title,
14
- subtitle,
15
- media,
16
- caption,
17
- className
18
- }: HoverPreviewMediaProps): react_jsx_runtime78.JSX.Element;
19
- //#endregion
20
- export { HoverPreviewMedia, HoverPreviewMediaProps };
@@ -1,25 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime35 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/hover-previews/Simple.d.ts
5
- interface HoverPreviewLine {
6
- icon?: React$1.ReactNode;
7
- label?: React$1.ReactNode;
8
- value: React$1.ReactNode;
9
- }
10
- interface HoverPreviewSimpleProps {
11
- title: React$1.ReactNode;
12
- subtitle?: React$1.ReactNode;
13
- lines?: HoverPreviewLine[];
14
- footer?: React$1.ReactNode;
15
- className?: string;
16
- }
17
- declare function HoverPreviewSimple({
18
- title,
19
- subtitle,
20
- lines,
21
- footer,
22
- className
23
- }: HoverPreviewSimpleProps): react_jsx_runtime35.JSX.Element;
24
- //#endregion
25
- export { HoverPreviewLine, HoverPreviewSimple, HoverPreviewSimpleProps };
@@ -1,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime85 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/hover-previews/Stats.d.ts
5
- interface HoverPreviewStat {
6
- label: React$1.ReactNode;
7
- value: React$1.ReactNode;
8
- hint?: React$1.ReactNode;
9
- }
10
- declare function HoverPreviewStats({
11
- title,
12
- stats,
13
- footer,
14
- className
15
- }: {
16
- title?: React$1.ReactNode;
17
- stats: HoverPreviewStat[];
18
- footer?: React$1.ReactNode;
19
- className?: string;
20
- }): react_jsx_runtime85.JSX.Element;
21
- //#endregion
22
- export { HoverPreviewStat, HoverPreviewStats };
@@ -1,25 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime89 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/hover-previews/User.d.ts
5
- interface HoverPreviewUserProps {
6
- avatar?: React$1.ReactNode;
7
- name: React$1.ReactNode;
8
- email?: React$1.ReactNode;
9
- meta?: {
10
- label: React$1.ReactNode;
11
- value: React$1.ReactNode;
12
- }[];
13
- actions?: React$1.ReactNode;
14
- className?: string;
15
- }
16
- declare function HoverPreviewUser({
17
- avatar,
18
- name,
19
- email,
20
- meta,
21
- actions,
22
- className
23
- }: HoverPreviewUserProps): react_jsx_runtime89.JSX.Element;
24
- //#endregion
25
- export { HoverPreviewUser, HoverPreviewUserProps };
@@ -1,20 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime92 from "react/jsx-runtime";
3
-
4
- //#region src/components/native/BottomTabs.mobile.d.ts
5
- interface BottomTabItem {
6
- key: string;
7
- label: string;
8
- icon?: React$1.ReactNode;
9
- active?: boolean;
10
- onPress: () => void;
11
- }
12
- declare function BottomTabs({
13
- items,
14
- className
15
- }: {
16
- items: BottomTabItem[];
17
- className?: string;
18
- }): react_jsx_runtime92.JSX.Element;
19
- //#endregion
20
- export { BottomTabItem, BottomTabs };
@@ -1,27 +0,0 @@
1
- 'use client';
2
-
3
- import "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
- import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
6
- import { Pressable, Text, View } from "react-native";
7
-
8
- //#region src/components/native/BottomTabs.mobile.tsx
9
- function BottomTabs({ items, className }) {
10
- return /* @__PURE__ */ jsx(View, {
11
- className: cn("bg-background flex flex-row items-stretch border-t", className),
12
- children: items.map((it) => /* @__PURE__ */ jsxs(Pressable, {
13
- className: cn("flex-1 items-center justify-center py-2", it.active ? "bg-muted" : void 0),
14
- onPress: it.onPress,
15
- accessibilityRole: "tab",
16
- accessibilityState: { selected: !!it.active },
17
- accessibilityLabel: it.label,
18
- children: [it.icon, /* @__PURE__ */ jsx(Text, {
19
- className: cn("mt-1 text-xs", it.active ? "text-foreground" : "text-muted-foreground"),
20
- children: it.label
21
- })]
22
- }, it.key))
23
- });
24
- }
25
-
26
- //#endregion
27
- export { BottomTabs };
@@ -1,43 +0,0 @@
1
- import React from "react";
2
- import * as react_jsx_runtime91 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import { FlatListProps } from "react-native";
5
- import * as class_variance_authority_types11 from "class-variance-authority/types";
6
-
7
- //#region src/components/native/FlatListScreen.mobile.d.ts
8
- interface FlatListScreenProps<T> extends Omit<FlatListProps<T>, 'data' | 'renderItem'>, VariantProps<typeof containerVariants> {
9
- data: T[];
10
- renderItem: FlatListProps<T>['renderItem'];
11
- header?: React.ReactNode;
12
- className?: string;
13
- contentClassName?: string;
14
- edges?: ('top' | 'bottom' | 'left' | 'right')[];
15
- showsVerticalScrollIndicator?: boolean;
16
- keyboardShouldPersistTaps?: 'always' | 'never' | 'handled';
17
- onRefresh?: () => void;
18
- refreshing?: boolean;
19
- emptyComponent?: React.ReactNode;
20
- emptyText?: string;
21
- }
22
- declare const containerVariants: (props?: ({
23
- padding?: "sm" | "md" | "lg" | "none" | null | undefined;
24
- } & class_variance_authority_types11.ClassProp) | undefined) => string;
25
- declare function FlatListScreen<T>({
26
- children,
27
- data,
28
- renderItem,
29
- header,
30
- className,
31
- contentClassName,
32
- edges,
33
- showsVerticalScrollIndicator,
34
- keyboardShouldPersistTaps,
35
- onRefresh,
36
- refreshing,
37
- emptyComponent,
38
- emptyText,
39
- padding,
40
- ...flatListProps
41
- }: FlatListScreenProps<T>): react_jsx_runtime91.JSX.Element;
42
- //#endregion
43
- export { FlatListScreen, FlatListScreenProps };
@@ -1,63 +0,0 @@
1
- 'use client';
2
-
3
- import React from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
- import { cva } from "class-variance-authority";
6
- import { FlatList, RefreshControl } from "react-native";
7
- import { VStack } from "@lssm/lib.ui-kit/ui/stack";
8
- import { Text as Text$1 } from "@lssm/lib.ui-kit/ui/text";
9
- import { SafeAreaView } from "react-native-safe-area-context";
10
-
11
- //#region src/components/native/FlatListScreen.mobile.tsx
12
- const containerVariants = cva("", {
13
- variants: { padding: {
14
- none: "",
15
- sm: "px-3 py-3",
16
- md: "px-4 py-4",
17
- lg: "px-5 py-5"
18
- } },
19
- defaultVariants: { padding: "none" }
20
- });
21
- function FlatListScreen({ children, data, renderItem, header, className, contentClassName, edges = [
22
- "top",
23
- "left",
24
- "right"
25
- ], showsVerticalScrollIndicator = false, keyboardShouldPersistTaps = "handled", onRefresh, refreshing = false, emptyComponent, emptyText = "No items found", padding, ...flatListProps }) {
26
- const renderEmptyComponent = () => {
27
- if (emptyComponent) return emptyComponent;
28
- return /* @__PURE__ */ jsx(VStack, {
29
- align: "center",
30
- justify: "center",
31
- className: "py-20",
32
- children: /* @__PURE__ */ jsx(Text$1, {
33
- className: "text-muted-foreground text-center",
34
- children: emptyText
35
- })
36
- });
37
- };
38
- return /* @__PURE__ */ jsxs(SafeAreaView, {
39
- style: { flex: 1 },
40
- edges,
41
- children: [/* @__PURE__ */ jsx(FlatList, {
42
- data,
43
- renderItem,
44
- keyExtractor: (item, index) => item?.id?.toString?.() || item?.key?.toString?.() || String(index),
45
- showsVerticalScrollIndicator,
46
- keyboardShouldPersistTaps,
47
- ListHeaderComponent: header ? /* @__PURE__ */ jsx(VStack, {
48
- className: [containerVariants({ padding }), contentClassName].filter(Boolean).join(" "),
49
- children: header
50
- }) : void 0,
51
- ListEmptyComponent: renderEmptyComponent,
52
- refreshing,
53
- refreshControl: onRefresh ? /* @__PURE__ */ jsx(RefreshControl, {
54
- refreshing,
55
- onRefresh
56
- }) : void 0,
57
- ...flatListProps
58
- }), children]
59
- });
60
- }
61
-
62
- //#endregion
63
- export { FlatListScreen };
@@ -1,17 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime93 from "react/jsx-runtime";
3
-
4
- //#region src/components/native/SheetMenu.mobile.d.ts
5
- declare function SheetMenu({
6
- open,
7
- onOpenChange,
8
- title,
9
- children
10
- }: {
11
- open: boolean;
12
- onOpenChange: (open: boolean) => void;
13
- title?: string;
14
- children: React$1.ReactNode;
15
- }): react_jsx_runtime93.JSX.Element;
16
- //#endregion
17
- export { SheetMenu };
@@ -1,21 +0,0 @@
1
- 'use client';
2
-
3
- import "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
- import { Dialog, DialogContent, DialogHeader, DialogTitle } from "@lssm/lib.ui-kit-web/ui/dialog";
6
- import { Text, View } from "react-native";
7
-
8
- //#region src/components/native/SheetMenu.mobile.tsx
9
- function SheetMenu({ open, onOpenChange, title = "Menu", children }) {
10
- return /* @__PURE__ */ jsxs(Dialog, {
11
- open,
12
- onOpenChange,
13
- children: [/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: title }) }), /* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(View, {
14
- className: "gap-2",
15
- children: typeof children === "string" ? /* @__PURE__ */ jsx(Text, { children }) : children
16
- }) })]
17
- });
18
- }
19
-
20
- //#endregion
21
- export { SheetMenu };
@@ -1,29 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime95 from "react/jsx-runtime";
3
-
4
- //#region src/components/organisms/AcademyLayout.d.ts
5
- interface AcademyLayoutProps {
6
- header: React$1.ReactNode;
7
- toc?: React$1.ReactNode;
8
- breadcrumb?: {
9
- items: {
10
- href?: string;
11
- label: React$1.ReactNode;
12
- }[];
13
- };
14
- children: React$1.ReactNode;
15
- rightPanel?: React$1.ReactNode;
16
- footer?: React$1.ReactNode;
17
- className?: string;
18
- }
19
- declare function AcademyLayout({
20
- header,
21
- toc,
22
- breadcrumb,
23
- children,
24
- rightPanel,
25
- footer,
26
- className
27
- }: AcademyLayoutProps): react_jsx_runtime95.JSX.Element;
28
- //#endregion
29
- export { AcademyLayout, AcademyLayoutProps };
@@ -1,18 +0,0 @@
1
- import { HeaderProps } from "./Header.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime30 from "react/jsx-runtime";
4
-
5
- //#region src/components/organisms/AppHeader.d.ts
6
- interface AppHeaderProps extends HeaderProps {
7
- breadcrumb?: React$1.ReactNode;
8
- toolbarRight?: React$1.ReactNode;
9
- className?: string;
10
- }
11
- declare function AppHeader({
12
- breadcrumb,
13
- toolbarRight,
14
- className,
15
- ...props
16
- }: AppHeaderProps): react_jsx_runtime30.JSX.Element;
17
- //#endregion
18
- export { AppHeader, AppHeaderProps };
@@ -1,21 +0,0 @@
1
- import { BottomTabItem } from "../native/BottomTabs.mobile.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
-
5
- //#region src/components/organisms/AppHeader.mobile.d.ts
6
- interface AppHeaderMobileProps {
7
- logo?: React$1.ReactNode;
8
- toolbarRight?: React$1.ReactNode;
9
- className?: string;
10
- menuContent?: React$1.ReactNode;
11
- bottomTabs?: BottomTabItem[];
12
- }
13
- declare function AppHeader({
14
- logo,
15
- toolbarRight,
16
- className,
17
- menuContent,
18
- bottomTabs
19
- }: AppHeaderMobileProps): react_jsx_runtime0.JSX.Element;
20
- //#endregion
21
- export { AppHeader, AppHeaderMobileProps };
@@ -1,52 +0,0 @@
1
- 'use client';
2
-
3
- import { BottomTabs } from "../native/BottomTabs.mobile.js";
4
- import { SheetMenu } from "../native/SheetMenu.mobile.js";
5
- import * as React$1 from "react";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
- import { Pressable, Text, View } from "react-native";
8
- import { cn } from "@lssm/lib.ui-kit/ui/utils";
9
-
10
- //#region src/components/organisms/AppHeader.mobile.tsx
11
- function AppHeader({ logo, toolbarRight, className, menuContent, bottomTabs }) {
12
- const [open, setOpen] = React$1.useState(false);
13
- return /* @__PURE__ */ jsxs(View, {
14
- className: cn("bg-background border-b", className),
15
- children: [
16
- /* @__PURE__ */ jsxs(View, {
17
- className: "flex-row items-center justify-between px-3 py-2",
18
- children: [
19
- /* @__PURE__ */ jsx(Pressable, {
20
- accessibilityLabel: "Open menu",
21
- onPress: () => setOpen(true),
22
- children: /* @__PURE__ */ jsx(Text, {
23
- className: "text-lg",
24
- children: "☰"
25
- })
26
- }),
27
- /* @__PURE__ */ jsx(View, {
28
- className: "px-2",
29
- children: typeof logo === "string" ? /* @__PURE__ */ jsx(Text, {
30
- className: "text-xl font-bold",
31
- children: logo
32
- }) : logo
33
- }),
34
- /* @__PURE__ */ jsx(View, {
35
- className: "flex-row items-center gap-2",
36
- children: toolbarRight
37
- })
38
- ]
39
- }),
40
- bottomTabs && bottomTabs.length > 0 && /* @__PURE__ */ jsx(BottomTabs, { items: bottomTabs }),
41
- /* @__PURE__ */ jsx(SheetMenu, {
42
- open,
43
- onOpenChange: setOpen,
44
- title: "Menu",
45
- children: menuContent
46
- })
47
- ]
48
- });
49
- }
50
-
51
- //#endregion
52
- export { AppHeader };
@@ -1,28 +0,0 @@
1
- import { AppSidebar } from "./AppSidebar.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime21 from "react/jsx-runtime";
4
-
5
- //#region src/components/organisms/AppLayout.d.ts
6
- interface AppLayoutProps {
7
- header: React$1.ReactNode;
8
- sidebar?: React$1.ComponentProps<typeof AppSidebar>;
9
- breadcrumb?: {
10
- items: {
11
- href?: string;
12
- label: React$1.ReactNode;
13
- }[];
14
- };
15
- children: React$1.ReactNode;
16
- footer?: React$1.ReactNode;
17
- className?: string;
18
- }
19
- declare function AppLayout({
20
- header,
21
- sidebar,
22
- breadcrumb,
23
- children,
24
- footer,
25
- className
26
- }: AppLayoutProps): react_jsx_runtime21.JSX.Element;
27
- //#endregion
28
- export { AppLayout, AppLayoutProps };
@@ -1,23 +0,0 @@
1
- import { NavSection } from "../../types/navigation.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime41 from "react/jsx-runtime";
4
-
5
- //#region src/components/organisms/AppSidebar.d.ts
6
- interface AppSidebarProps {
7
- sections: NavSection[];
8
- top?: React$1.ReactNode;
9
- bottom?: React$1.ReactNode;
10
- searchPlaceholder?: string;
11
- className?: string;
12
- density?: 'compact' | 'comfortable';
13
- }
14
- declare function AppSidebar({
15
- sections,
16
- top,
17
- bottom,
18
- searchPlaceholder,
19
- className,
20
- density
21
- }: AppSidebarProps): react_jsx_runtime41.JSX.Element;
22
- //#endregion
23
- export { AppSidebar, AppSidebarProps };
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1,20 +0,0 @@
1
- import { EmptyDataListProps } from "./EmptyDataList.types.js";
2
- import * as react_jsx_runtime34 from "react/jsx-runtime";
3
-
4
- //#region src/components/organisms/EmptyDataList.d.ts
5
- declare function EmptyDataList({
6
- emptyListTitle,
7
- emptyListDescription,
8
- createButton,
9
- secondaryButton,
10
- media,
11
- mediaVariant,
12
- learnMoreHref,
13
- learnMoreLabel,
14
- learnMoreEndIcon,
15
- onLearnMore,
16
- handleLearnMore,
17
- className
18
- }: EmptyDataListProps): react_jsx_runtime34.JSX.Element;
19
- //#endregion
20
- export { EmptyDataList };
@@ -1,20 +0,0 @@
1
- import { EmptyDataListProps } from "./EmptyDataList.types.js";
2
- import * as react_jsx_runtime33 from "react/jsx-runtime";
3
-
4
- //#region src/components/organisms/EmptyDataList.mobile.d.ts
5
- declare function EmptyDataList({
6
- emptyListTitle,
7
- emptyListDescription,
8
- createButton,
9
- secondaryButton,
10
- media,
11
- mediaVariant,
12
- learnMoreHref,
13
- learnMoreLabel,
14
- learnMoreEndIcon,
15
- onLearnMore,
16
- handleLearnMore,
17
- className
18
- }: EmptyDataListProps): react_jsx_runtime33.JSX.Element;
19
- //#endregion
20
- export { EmptyDataList, EmptyDataList as default };