@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,47 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime50 from "react/jsx-runtime";
3
- import { DataViewSpec } from "@lssm/lib.contracts/data-views";
4
-
5
- //#region src/components/data-view/DataViewRenderer.d.ts
6
- interface DataViewRendererProps {
7
- spec: DataViewSpec;
8
- items?: Record<string, unknown>[];
9
- item?: Record<string, unknown> | null;
10
- className?: string;
11
- renderActions?: (item: Record<string, unknown>) => React$1.ReactNode;
12
- onSelect?: (item: Record<string, unknown>) => void;
13
- onRowClick?: (item: Record<string, unknown>) => void;
14
- headerActions?: React$1.ReactNode;
15
- emptyState?: React$1.ReactNode;
16
- footer?: React$1.ReactNode;
17
- search?: string;
18
- onSearchChange?: (value: string) => void;
19
- filters?: Record<string, any>;
20
- onFilterChange?: (filters: Record<string, any>) => void;
21
- pagination?: {
22
- page: number;
23
- pageSize: number;
24
- total: number;
25
- };
26
- onPageChange?: (page: number) => void;
27
- }
28
- declare function DataViewRenderer({
29
- spec,
30
- items,
31
- item,
32
- className,
33
- renderActions,
34
- onSelect,
35
- onRowClick,
36
- headerActions,
37
- emptyState,
38
- footer,
39
- search,
40
- onSearchChange,
41
- filters,
42
- onFilterChange,
43
- pagination,
44
- onPageChange
45
- }: DataViewRendererProps): react_jsx_runtime50.JSX.Element;
46
- //#endregion
47
- export { DataViewRenderer, DataViewRendererProps };
@@ -1,25 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime43 from "react/jsx-runtime";
3
- import { DataViewSpec } from "@lssm/lib.contracts/data-views";
4
-
5
- //#region src/components/data-view/DataViewTable.d.ts
6
- interface DataViewTableProps {
7
- spec: DataViewSpec;
8
- items: Record<string, unknown>[];
9
- className?: string;
10
- onRowClick?: (item: Record<string, unknown>) => void;
11
- emptyState?: React$1.ReactNode;
12
- headerActions?: React$1.ReactNode;
13
- footer?: React$1.ReactNode;
14
- }
15
- declare function DataViewTable({
16
- spec,
17
- items,
18
- className,
19
- onRowClick,
20
- emptyState,
21
- headerActions,
22
- footer
23
- }: DataViewTableProps): react_jsx_runtime43.JSX.Element;
24
- //#endregion
25
- export { DataViewTable, DataViewTableProps };
@@ -1,5 +0,0 @@
1
- //#region src/components/data-view/utils.d.ts
2
- declare function getAtPath(source: Record<string, unknown> | undefined, path: string): unknown;
3
- declare function formatValue(value: unknown, format?: string): string;
4
- //#endregion
5
- export { formatValue, getAtPath };
@@ -1,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime54 from "react/jsx-runtime";
3
-
4
- //#region src/components/forms/FormCardLayout.d.ts
5
- interface FormCardLayoutProps {
6
- title?: React$1.ReactNode;
7
- description?: React$1.ReactNode;
8
- actions?: React$1.ReactNode;
9
- children: React$1.ReactNode;
10
- className?: string;
11
- contentClassName?: string;
12
- }
13
- declare function FormCardLayout({
14
- title,
15
- description,
16
- actions,
17
- children,
18
- className,
19
- contentClassName
20
- }: FormCardLayoutProps): react_jsx_runtime54.JSX.Element;
21
- //#endregion
22
- export { FormCardLayout, FormCardLayoutProps };
@@ -1,24 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime26 from "react/jsx-runtime";
3
-
4
- //#region src/components/forms/FormDialog.d.ts
5
- interface FormDialogProps {
6
- open: boolean;
7
- onOpenChange: (open: boolean) => void;
8
- title: React$1.ReactNode;
9
- description?: React$1.ReactNode;
10
- children: React$1.ReactNode;
11
- footer?: React$1.ReactNode;
12
- maxWidth?: string;
13
- }
14
- declare function FormDialog({
15
- open,
16
- onOpenChange,
17
- title,
18
- description,
19
- children,
20
- footer,
21
- maxWidth
22
- }: FormDialogProps): react_jsx_runtime26.JSX.Element;
23
- //#endregion
24
- export { FormDialog, FormDialogProps };
@@ -1,29 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime65 from "react/jsx-runtime";
3
-
4
- //#region src/components/forms/FormLayout.d.ts
5
- declare function FormSection({
6
- children,
7
- className
8
- }: {
9
- children: React$1.ReactNode;
10
- className?: string;
11
- }): react_jsx_runtime65.JSX.Element;
12
- declare function FormRow({
13
- children,
14
- className
15
- }: {
16
- children: React$1.ReactNode;
17
- className?: string;
18
- }): react_jsx_runtime65.JSX.Element;
19
- declare function FormGrid({
20
- children,
21
- cols,
22
- className
23
- }: {
24
- children: React$1.ReactNode;
25
- cols?: 1 | 2 | 3 | 4;
26
- className?: string;
27
- }): react_jsx_runtime65.JSX.Element;
28
- //#endregion
29
- export { FormGrid, FormRow, FormSection };
@@ -1,25 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime84 from "react/jsx-runtime";
3
-
4
- //#region src/components/forms/FormOneByOneLayout.d.ts
5
- interface OneByOneFieldDef {
6
- key: string;
7
- title: React$1.ReactNode;
8
- description?: React$1.ReactNode;
9
- input: React$1.ReactNode;
10
- validate?: () => boolean;
11
- }
12
- interface FormOneByOneLayoutProps {
13
- fields: OneByOneFieldDef[];
14
- initialKey?: string;
15
- onComplete?: () => void | Promise<void>;
16
- className?: string;
17
- }
18
- declare function FormOneByOneLayout({
19
- fields,
20
- initialKey,
21
- onComplete,
22
- className
23
- }: FormOneByOneLayoutProps): react_jsx_runtime84.JSX.Element | null;
24
- //#endregion
25
- export { FormOneByOneLayout, FormOneByOneLayoutProps, OneByOneFieldDef };
@@ -1,26 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime59 from "react/jsx-runtime";
3
-
4
- //#region src/components/forms/FormStepsLayout.d.ts
5
- interface StepDef {
6
- key: string;
7
- title: React$1.ReactNode;
8
- description?: React$1.ReactNode;
9
- content: React$1.ReactNode;
10
- }
11
- interface FormStepsLayoutProps {
12
- steps: StepDef[];
13
- initialStepKey?: string;
14
- onFinish?: () => void | Promise<void>;
15
- canNext?: (stepKey: string) => boolean;
16
- className?: string;
17
- }
18
- declare function FormStepsLayout({
19
- steps,
20
- initialStepKey,
21
- onFinish,
22
- canNext,
23
- className
24
- }: FormStepsLayoutProps): react_jsx_runtime59.JSX.Element | null;
25
- //#endregion
26
- export { FormStepsLayout, FormStepsLayoutProps, StepDef };
@@ -1,21 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime61 from "react/jsx-runtime";
3
- import { UseFormReturn } from "@lssm/lib.ui-kit-web/ui/form";
4
- import { z } from "zod";
5
- import { FieldValues } from "react-hook-form";
6
-
7
- //#region src/components/forms/ZodForm.d.ts
8
- interface ZodFormProps<TSchema extends z.ZodType<any, FieldValues>, TFieldValues extends FieldValues = z.input<TSchema>, TOutput = z.output<TSchema>> {
9
- schema: TSchema;
10
- defaultValues?: Partial<TFieldValues> | Promise<Partial<TFieldValues>>;
11
- onSubmit: (data: TOutput) => Promise<void> | void;
12
- children: (f: UseFormReturn<TFieldValues, any, TOutput>) => React$1.ReactNode;
13
- }
14
- declare function ZodForm<TSchema extends z.ZodType<any, FieldValues>, TFieldValues extends FieldValues = z.input<TSchema>, TOutput = z.output<TSchema>>({
15
- schema,
16
- defaultValues,
17
- onSubmit,
18
- children
19
- }: ZodFormProps<TSchema, TFieldValues, TOutput>): react_jsx_runtime61.JSX.Element;
20
- //#endregion
21
- export { ZodForm, ZodFormProps };
@@ -1,16 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime107 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/atoms/DefinitionList.d.ts
5
- declare function DefinitionList({
6
- items,
7
- className
8
- }: {
9
- items: {
10
- term: React$1.ReactNode;
11
- description: React$1.ReactNode;
12
- }[];
13
- className?: string;
14
- }): react_jsx_runtime107.JSX.Element;
15
- //#endregion
16
- export { DefinitionList };
@@ -1,16 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime57 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/atoms/KeyValueList.d.ts
5
- declare function KeyValueList({
6
- items,
7
- className
8
- }: {
9
- items: {
10
- key: React$1.ReactNode;
11
- value: React$1.ReactNode;
12
- }[];
13
- className?: string;
14
- }): react_jsx_runtime57.JSX.Element;
15
- //#endregion
16
- export { KeyValueList };
@@ -1,17 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime51 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types6 from "class-variance-authority/types";
5
-
6
- //#region src/components/legal/atoms/LegalCallout.d.ts
7
- declare const calloutVariants: (props?: ({
8
- tone?: "info" | "warning" | "danger" | null | undefined;
9
- } & class_variance_authority_types6.ClassProp) | undefined) => string;
10
- type LegalCalloutProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof calloutVariants>;
11
- declare function LegalCallout({
12
- tone,
13
- className,
14
- ...props
15
- }: LegalCalloutProps): react_jsx_runtime51.JSX.Element;
16
- //#endregion
17
- export { LegalCallout, LegalCalloutProps, calloutVariants };
@@ -1,24 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime52 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types7 from "class-variance-authority/types";
5
-
6
- //#region src/components/legal/atoms/LegalHeading.d.ts
7
- declare const headingVariants: (props?: ({
8
- level?: "h1" | "h2" | "h3" | "h4" | null | undefined;
9
- tone?: "default" | "muted" | "accent" | null | undefined;
10
- spacing?: "sm" | "md" | "lg" | "none" | null | undefined;
11
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
12
- type LegalHeadingProps = React$1.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof headingVariants> & {
13
- as?: 'h1' | 'h2' | 'h3' | 'h4';
14
- };
15
- declare function LegalHeading({
16
- as,
17
- level,
18
- tone,
19
- spacing,
20
- className,
21
- ...props
22
- }: LegalHeadingProps): react_jsx_runtime52.JSX.Element;
23
- //#endregion
24
- export { LegalHeading, LegalHeadingProps, headingVariants };
@@ -1,20 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime69 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types8 from "class-variance-authority/types";
5
-
6
- //#region src/components/legal/atoms/LegalList.d.ts
7
- declare const listVariants: (props?: ({
8
- type?: "none" | "unordered" | "ordered" | null | undefined;
9
- spacing?: "sm" | "md" | "lg" | null | undefined;
10
- } & class_variance_authority_types8.ClassProp) | undefined) => string;
11
- type LegalListProps = React$1.HTMLAttributes<HTMLUListElement | HTMLOListElement> & VariantProps<typeof listVariants>;
12
- declare function LegalList({
13
- type,
14
- spacing,
15
- className,
16
- children,
17
- ...props
18
- }: LegalListProps): react_jsx_runtime69.JSX.Element;
19
- //#endregion
20
- export { LegalList, LegalListProps, listVariants };
@@ -1,21 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime109 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types16 from "class-variance-authority/types";
5
-
6
- //#region src/components/legal/atoms/LegalSection.d.ts
7
- declare const sectionVariants: (props?: ({
8
- spacing?: "sm" | "md" | "lg" | null | undefined;
9
- border?: "none" | "top" | "bottom" | "both" | null | undefined;
10
- tone?: "subtle" | "plain" | null | undefined;
11
- } & class_variance_authority_types16.ClassProp) | undefined) => string;
12
- type LegalSectionProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof sectionVariants>;
13
- declare function LegalSection({
14
- spacing,
15
- border,
16
- tone,
17
- className,
18
- ...props
19
- }: LegalSectionProps): react_jsx_runtime109.JSX.Element;
20
- //#endregion
21
- export { LegalSection, LegalSectionProps, sectionVariants };
@@ -1,24 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime110 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types17 from "class-variance-authority/types";
5
-
6
- //#region src/components/legal/atoms/LegalText.d.ts
7
- declare const textVariants: (props?: ({
8
- tone?: "default" | "danger" | "muted" | null | undefined;
9
- size?: "sm" | "lg" | "base" | null | undefined;
10
- spacing?: "sm" | "md" | "lg" | "none" | null | undefined;
11
- } & class_variance_authority_types17.ClassProp) | undefined) => string;
12
- type LegalTextProps = React$1.HTMLAttributes<HTMLParagraphElement> & VariantProps<typeof textVariants> & {
13
- as?: 'p' | 'div' | 'span';
14
- };
15
- declare function LegalText({
16
- as,
17
- tone,
18
- size,
19
- spacing,
20
- className,
21
- ...props
22
- }: LegalTextProps): react_jsx_runtime110.JSX.Element;
23
- //#endregion
24
- export { LegalText, LegalTextProps, textVariants };
@@ -1,35 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime116 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/molecules/Consent.d.ts
5
- declare function ConsentItem({
6
- id,
7
- label,
8
- description,
9
- checked,
10
- onChange,
11
- className
12
- }: {
13
- id: string;
14
- label: React$1.ReactNode;
15
- description?: React$1.ReactNode;
16
- checked: boolean;
17
- onChange: (checked: boolean) => void;
18
- className?: string;
19
- }): react_jsx_runtime116.JSX.Element;
20
- declare function ConsentList({
21
- items,
22
- onChange,
23
- className
24
- }: {
25
- items: {
26
- id: string;
27
- label: React$1.ReactNode;
28
- description?: React$1.ReactNode;
29
- checked: boolean;
30
- }[];
31
- onChange: (id: string, checked: boolean) => void;
32
- className?: string;
33
- }): react_jsx_runtime116.JSX.Element;
34
- //#endregion
35
- export { ConsentItem, ConsentList };
@@ -1,24 +0,0 @@
1
- import * as react_jsx_runtime115 from "react/jsx-runtime";
2
-
3
- //#region src/components/legal/molecules/ContactFields.d.ts
4
- declare function ContactFields({
5
- value,
6
- onChange,
7
- disabled
8
- }: {
9
- value: {
10
- name: string;
11
- email: string;
12
- subject: string;
13
- message: string;
14
- };
15
- onChange: (next: {
16
- name: string;
17
- email: string;
18
- subject: string;
19
- message: string;
20
- }) => void;
21
- disabled?: boolean;
22
- }): react_jsx_runtime115.JSX.Element;
23
- //#endregion
24
- export { ContactFields };
@@ -1,14 +0,0 @@
1
- import * as react_jsx_runtime44 from "react/jsx-runtime";
2
-
3
- //#region src/components/legal/molecules/LegalMeta.d.ts
4
- declare function LegalMeta({
5
- lastUpdated,
6
- version,
7
- className
8
- }: {
9
- lastUpdated?: string | Date;
10
- version?: string;
11
- className?: string;
12
- }): react_jsx_runtime44.JSX.Element;
13
- //#endregion
14
- export { LegalMeta };
@@ -1,30 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime114 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types18 from "class-variance-authority/types";
5
-
6
- //#region src/components/legal/molecules/LegalTOC.d.ts
7
- interface TocItem {
8
- href: string;
9
- label: React$1.ReactNode;
10
- }
11
- declare const tocVariants: (props?: ({
12
- variant?: "sidebar" | "inline" | null | undefined;
13
- size?: "sm" | "md" | null | undefined;
14
- } & class_variance_authority_types18.ClassProp) | undefined) => string;
15
- type LegalTOCProps = {
16
- items: TocItem[];
17
- activeHref?: string;
18
- onNavigate?: (href: string) => void;
19
- } & VariantProps<typeof tocVariants> & React$1.HTMLAttributes<HTMLDivElement>;
20
- declare function LegalTOC({
21
- items,
22
- activeHref,
23
- onNavigate,
24
- variant,
25
- size,
26
- className,
27
- ...props
28
- }: LegalTOCProps): react_jsx_runtime114.JSX.Element;
29
- //#endregion
30
- export { LegalTOC, LegalTOCProps, TocItem, tocVariants };
@@ -1,29 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime111 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/organisms/ContactForm.d.ts
5
- declare function ContactForm({
6
- labels,
7
- initialValue,
8
- disabled,
9
- onSubmit
10
- }: {
11
- labels?: {
12
- submit: React$1.ReactNode;
13
- };
14
- initialValue?: {
15
- name: string;
16
- email: string;
17
- subject: string;
18
- message: string;
19
- };
20
- disabled?: boolean;
21
- onSubmit?: (data: {
22
- name: string;
23
- email: string;
24
- subject: string;
25
- message: string;
26
- }) => Promise<void> | void;
27
- }): react_jsx_runtime111.JSX.Element;
28
- //#endregion
29
- export { ContactForm };
@@ -1,18 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime112 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/organisms/GDPRDataRequest.d.ts
5
- declare function GDPRDataRequest({
6
- onExport,
7
- onDelete,
8
- labels
9
- }: {
10
- onExport?: () => Promise<void> | void;
11
- onDelete?: () => Promise<void> | void;
12
- labels?: {
13
- export: React$1.ReactNode;
14
- delete: React$1.ReactNode;
15
- };
16
- }): react_jsx_runtime112.JSX.Element;
17
- //#endregion
18
- export { GDPRDataRequest };
@@ -1,13 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime49 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/organisms/GDPRRights.d.ts
5
- declare function GDPRRights({
6
- title,
7
- rights
8
- }: {
9
- title?: React$1.ReactNode;
10
- rights?: React$1.ReactNode[];
11
- }): react_jsx_runtime49.JSX.Element;
12
- //#endregion
13
- export { GDPRRights };
@@ -1,23 +0,0 @@
1
- import { TocItem } from "../molecules/LegalTOC.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime113 from "react/jsx-runtime";
4
-
5
- //#region src/components/legal/organisms/LegalPageLayout.d.ts
6
- declare function LegalPageLayout({
7
- title,
8
- meta,
9
- toc,
10
- children,
11
- className
12
- }: {
13
- title: React$1.ReactNode;
14
- meta?: {
15
- lastUpdated?: string | Date;
16
- version?: string;
17
- };
18
- toc?: TocItem[];
19
- children: React$1.ReactNode;
20
- className?: string;
21
- }): react_jsx_runtime113.JSX.Element;
22
- //#endregion
23
- export { LegalPageLayout };
@@ -1,23 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime118 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/templates/ContactTemplate.d.ts
5
- declare function ContactTemplate({
6
- title,
7
- meta,
8
- onSubmit
9
- }: {
10
- title?: React$1.ReactNode;
11
- meta?: {
12
- lastUpdated?: string | Date;
13
- version?: string;
14
- };
15
- onSubmit?: (data: {
16
- name: string;
17
- email: string;
18
- subject: string;
19
- message: string;
20
- }) => Promise<void> | void;
21
- }): react_jsx_runtime118.JSX.Element;
22
- //#endregion
23
- export { ContactTemplate };
@@ -1,32 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime40 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/templates/CookiesTemplate.d.ts
5
- declare function CookiesTemplate({
6
- title,
7
- meta,
8
- toc,
9
- keyValues,
10
- sections
11
- }: {
12
- title?: React$1.ReactNode;
13
- meta?: {
14
- lastUpdated?: string | Date;
15
- version?: string;
16
- };
17
- toc?: {
18
- href: string;
19
- label: React$1.ReactNode;
20
- }[];
21
- keyValues?: {
22
- key: React$1.ReactNode;
23
- value: React$1.ReactNode;
24
- }[];
25
- sections: {
26
- id: string;
27
- title: React$1.ReactNode;
28
- content: React$1.ReactNode;
29
- }[];
30
- }): react_jsx_runtime40.JSX.Element;
31
- //#endregion
32
- export { CookiesTemplate };
@@ -1,32 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime119 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/templates/PrivacyTemplate.d.ts
5
- declare function PrivacyTemplate({
6
- title,
7
- meta,
8
- toc,
9
- sections,
10
- definitions
11
- }: {
12
- title?: React$1.ReactNode;
13
- meta?: {
14
- lastUpdated?: string | Date;
15
- version?: string;
16
- };
17
- toc?: {
18
- href: string;
19
- label: React$1.ReactNode;
20
- }[];
21
- sections: {
22
- id: string;
23
- title: React$1.ReactNode;
24
- content: React$1.ReactNode;
25
- }[];
26
- definitions?: {
27
- term: React$1.ReactNode;
28
- description: React$1.ReactNode;
29
- }[];
30
- }): react_jsx_runtime119.JSX.Element;
31
- //#endregion
32
- export { PrivacyTemplate };