@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,27 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime120 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/templates/SalesTermsTemplate.d.ts
5
- declare function SalesTermsTemplate({
6
- title,
7
- meta,
8
- toc,
9
- sections
10
- }: {
11
- title?: React$1.ReactNode;
12
- meta?: {
13
- lastUpdated?: string | Date;
14
- version?: string;
15
- };
16
- toc?: {
17
- href: string;
18
- label: React$1.ReactNode;
19
- }[];
20
- sections: {
21
- id: string;
22
- title: React$1.ReactNode;
23
- content: React$1.ReactNode;
24
- }[];
25
- }): react_jsx_runtime120.JSX.Element;
26
- //#endregion
27
- export { SalesTermsTemplate };
@@ -1,27 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime121 from "react/jsx-runtime";
3
-
4
- //#region src/components/legal/templates/TermsTemplate.d.ts
5
- declare function TermsTemplate({
6
- title,
7
- meta,
8
- toc,
9
- sections
10
- }: {
11
- title?: React$1.ReactNode;
12
- meta?: {
13
- lastUpdated?: string | Date;
14
- version?: string;
15
- };
16
- toc?: {
17
- href: string;
18
- label: React$1.ReactNode;
19
- }[];
20
- sections: {
21
- id: string;
22
- title: React$1.ReactNode;
23
- content: React$1.ReactNode;
24
- }[];
25
- }): react_jsx_runtime121.JSX.Element;
26
- //#endregion
27
- export { TermsTemplate };
@@ -1,15 +0,0 @@
1
- import * as react_jsx_runtime63 from "react/jsx-runtime";
2
-
3
- //#region src/components/molecules/AiLinkButton.d.ts
4
- type Provider = 'chatgpt' | 'claude';
5
- interface AiLinkButtonProps {
6
- href: string;
7
- provider?: Provider;
8
- className?: string;
9
- }
10
- declare function AiLinkButton({
11
- href,
12
- className
13
- }: AiLinkButtonProps): react_jsx_runtime63.JSX.Element;
14
- //#endregion
15
- export { AiLinkButton, AiLinkButtonProps };
@@ -1,15 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime77 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/Breadcrumbs.d.ts
5
- interface BreadcrumbItemDef {
6
- href?: string;
7
- label: React$1.ReactNode;
8
- }
9
- declare function Breadcrumbs({
10
- items
11
- }: {
12
- items: BreadcrumbItemDef[];
13
- }): react_jsx_runtime77.JSX.Element | null;
14
- //#endregion
15
- export { BreadcrumbItemDef, Breadcrumbs };
@@ -1,26 +0,0 @@
1
- import * as react_jsx_runtime75 from "react/jsx-runtime";
2
-
3
- //#region src/components/molecules/CommandPalette.d.ts
4
- interface CommandPaletteProps {
5
- open?: boolean;
6
- onOpenChange?: (open: boolean) => void;
7
- groups: {
8
- heading?: string;
9
- items: {
10
- id: string;
11
- label: string;
12
- shortcut?: string;
13
- onSelect?: () => void;
14
- }[];
15
- }[];
16
- placeholder?: string;
17
- kbd?: string;
18
- }
19
- declare function CommandPalette({
20
- open,
21
- onOpenChange,
22
- groups,
23
- placeholder
24
- }: CommandPaletteProps): react_jsx_runtime75.JSX.Element;
25
- //#endregion
26
- export { CommandPalette, CommandPaletteProps };
@@ -1,18 +0,0 @@
1
- import { CommandPalette } from "./CommandPalette.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime81 from "react/jsx-runtime";
4
-
5
- //#region src/components/molecules/CommandSearchTrigger.d.ts
6
- declare function CommandSearchTrigger({
7
- groups,
8
- className,
9
- placeholder,
10
- compact
11
- }: {
12
- groups: React$1.ComponentProps<typeof CommandPalette>['groups'];
13
- className?: string;
14
- placeholder?: string;
15
- compact?: boolean;
16
- }): react_jsx_runtime81.JSX.Element;
17
- //#endregion
18
- export { CommandSearchTrigger };
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1,37 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime72 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_types9 from "class-variance-authority/types";
6
-
7
- //#region src/components/molecules/EntityCard.d.ts
8
- declare const entityCardVariants: (props?: ({
9
- emphasis?: "default" | "subtle" | "strong" | null | undefined;
10
- density?: "compact" | "comfortable" | null | undefined;
11
- } & class_variance_authority_types9.ClassProp) | undefined) => string;
12
- type EntityCardProps = React$1.ComponentProps<typeof Card> & VariantProps<typeof entityCardVariants> & {
13
- cardTitle: React$1.ReactNode;
14
- cardSubtitle?: React$1.ReactNode;
15
- chips?: React$1.ReactNode;
16
- meta?: React$1.ReactNode;
17
- footer?: React$1.ReactNode;
18
- href?: string;
19
- contentClassName?: string;
20
- preview?: React$1.ReactNode;
21
- };
22
- declare function EntityCard({
23
- cardTitle,
24
- cardSubtitle,
25
- chips,
26
- meta,
27
- footer,
28
- emphasis,
29
- density,
30
- className,
31
- contentClassName,
32
- href,
33
- preview,
34
- ...cardProps
35
- }: EntityCardProps): react_jsx_runtime72.JSX.Element;
36
- //#endregion
37
- export { EntityCard, EntityCardProps };
@@ -1,35 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime86 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/FiltersToolbar.d.ts
5
- interface ActiveFilterChip {
6
- key: string;
7
- label: React$1.ReactNode;
8
- onRemove?: () => void;
9
- }
10
- interface FiltersToolbarProps {
11
- className?: string;
12
- children?: React$1.ReactNode;
13
- right?: React$1.ReactNode;
14
- searchPlaceholder?: string;
15
- searchValue?: string;
16
- onSearchChange?: (value: string) => void;
17
- onSearchSubmit?: () => void;
18
- debounceMs?: number;
19
- activeChips?: ActiveFilterChip[];
20
- onClearAll?: () => void;
21
- }
22
- declare function FiltersToolbar({
23
- className,
24
- children,
25
- right,
26
- searchPlaceholder,
27
- searchValue,
28
- onSearchChange,
29
- onSearchSubmit,
30
- debounceMs,
31
- activeChips,
32
- onClearAll
33
- }: FiltersToolbarProps): react_jsx_runtime86.JSX.Element;
34
- //#endregion
35
- export { ActiveFilterChip, FiltersToolbar, FiltersToolbarProps };
@@ -1,18 +0,0 @@
1
- import { FiltersToolbarProps } from "./FiltersToolbar.js";
2
- import * as react_jsx_runtime74 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/FiltersToolbar.mobile.d.ts
5
- declare function FiltersToolbar({
6
- className,
7
- children,
8
- right,
9
- searchPlaceholder,
10
- searchValue,
11
- onSearchChange,
12
- onSearchSubmit,
13
- debounceMs,
14
- activeChips,
15
- onClearAll
16
- }: FiltersToolbarProps): react_jsx_runtime74.JSX.Element;
17
- //#endregion
18
- export { FiltersToolbar };
@@ -1,48 +0,0 @@
1
- import { Button } from "../atoms/Button.js";
2
- import { Input } from "../atoms/Input.js";
3
- import * as React$1 from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
- import { HStack, VStack } from "@lssm/lib.ui-kit/ui/stack";
6
-
7
- //#region src/components/molecules/FiltersToolbar.mobile.tsx
8
- function FiltersToolbar({ className, children, right, searchPlaceholder, searchValue, onSearchChange, onSearchSubmit, debounceMs = 250, activeChips = [], onClearAll }) {
9
- const [q, setQ] = React$1.useState(searchValue ?? "");
10
- React$1.useEffect(() => {
11
- setQ(searchValue ?? "");
12
- }, [searchValue]);
13
- React$1.useEffect(() => {
14
- if (!onSearchChange) return;
15
- const id = setTimeout(() => onSearchChange(q), debounceMs);
16
- return () => clearTimeout(id);
17
- }, [
18
- q,
19
- debounceMs,
20
- onSearchChange
21
- ]);
22
- return /* @__PURE__ */ jsx(VStack, {
23
- className,
24
- children: /* @__PURE__ */ jsxs(HStack, {
25
- className: "items-center gap-2",
26
- children: [
27
- onSearchChange ? /* @__PURE__ */ jsxs(HStack, {
28
- className: "flex-1 items-center gap-2",
29
- children: [/* @__PURE__ */ jsx(Input, {
30
- value: q,
31
- onChange: setQ,
32
- placeholder: searchPlaceholder,
33
- keyboard: { kind: "search" }
34
- }), /* @__PURE__ */ jsx(Button, {
35
- variant: "outline",
36
- onPress: () => onSearchSubmit?.(),
37
- children: "Rechercher"
38
- })]
39
- }) : null,
40
- children,
41
- right
42
- ]
43
- })
44
- });
45
- }
46
-
47
- //#endregion
48
- export { FiltersToolbar };
@@ -1,20 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime60 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/HoverPreview.d.ts
5
- interface HoverPreviewProps {
6
- trigger: React$1.ReactNode;
7
- content: React$1.ReactNode;
8
- align?: 'start' | 'center' | 'end';
9
- sideOffset?: number;
10
- className?: string;
11
- }
12
- declare function HoverPreview({
13
- trigger,
14
- content,
15
- align,
16
- sideOffset,
17
- className
18
- }: HoverPreviewProps): react_jsx_runtime60.JSX.Element;
19
- //#endregion
20
- export { HoverPreview, HoverPreviewProps };
@@ -1,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime58 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/LangSwitch.d.ts
5
- interface LangOption {
6
- code: string;
7
- label: React$1.ReactNode;
8
- }
9
- interface LangSwitchProps {
10
- value: string;
11
- options: LangOption[];
12
- onChange: (code: string) => void;
13
- size?: 'sm' | 'default';
14
- }
15
- declare function LangSwitch({
16
- value,
17
- options,
18
- onChange,
19
- size
20
- }: LangSwitchProps): react_jsx_runtime58.JSX.Element;
21
- //#endregion
22
- export { LangOption, LangSwitch, LangSwitchProps };
@@ -1,21 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime53 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/LangSwitchDropdown.d.ts
5
- interface LangOption {
6
- code: string;
7
- label: React$1.ReactNode;
8
- }
9
- declare function LangSwitchDropdown({
10
- value,
11
- options,
12
- onChange,
13
- className
14
- }: {
15
- value: string;
16
- options: LangOption[];
17
- onChange: (code: string) => void;
18
- className?: string;
19
- }): react_jsx_runtime53.JSX.Element;
20
- //#endregion
21
- export { LangOption, LangSwitchDropdown };
@@ -1,18 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime62 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/LoaderBlock.d.ts
5
- interface LoaderBlockProps {
6
- label?: React$1.ReactNode;
7
- description?: React$1.ReactNode;
8
- className?: string;
9
- size?: 'sm' | 'md' | 'lg';
10
- }
11
- declare function LoaderBlock({
12
- label,
13
- description,
14
- className,
15
- size
16
- }: LoaderBlockProps): react_jsx_runtime62.JSX.Element;
17
- //#endregion
18
- export { LoaderBlock, LoaderBlock as default, LoaderBlockProps };
@@ -1,18 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime56 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/LoaderBlock.mobile.d.ts
5
- interface LoaderBlockProps {
6
- label?: React$1.ReactNode;
7
- description?: React$1.ReactNode;
8
- className?: string;
9
- size?: 'sm' | 'md' | 'lg';
10
- }
11
- declare function LoaderBlock({
12
- label,
13
- description,
14
- className,
15
- size
16
- }: LoaderBlockProps): react_jsx_runtime56.JSX.Element;
17
- //#endregion
18
- export { LoaderBlock, LoaderBlock as default, LoaderBlockProps };
@@ -1,25 +0,0 @@
1
- import { LoaderCircular } from "../atoms/LoaderCircular.mobile.js";
2
- import "react";
3
- import { jsx, jsxs } from "react/jsx-runtime";
4
- import { Text, View } from "react-native";
5
-
6
- //#region src/components/molecules/LoaderBlock.mobile.tsx
7
- function LoaderBlock({ label, description, className, size = "md" }) {
8
- return /* @__PURE__ */ jsx(View, {
9
- className: ["items-center justify-center p-6", className].filter(Boolean).join(" "),
10
- children: /* @__PURE__ */ jsxs(View, {
11
- className: "flex-row items-center gap-3",
12
- children: [/* @__PURE__ */ jsx(LoaderCircular, {
13
- size,
14
- label
15
- }), description ? /* @__PURE__ */ jsx(Text, {
16
- className: "text-muted-foreground text-base",
17
- children: description
18
- }) : null]
19
- })
20
- });
21
- }
22
- var LoaderBlock_mobile_default = LoaderBlock;
23
-
24
- //#endregion
25
- export { LoaderBlock, LoaderBlock_mobile_default as default };
@@ -1,13 +0,0 @@
1
- import { HeaderNavItem } from "../../types/navigation.js";
2
- import * as react_jsx_runtime64 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/MobileNavMenu.d.ts
5
- declare function MobileNavMenu({
6
- items,
7
- className
8
- }: {
9
- items: HeaderNavItem[];
10
- className?: string;
11
- }): react_jsx_runtime64.JSX.Element;
12
- //#endregion
13
- export { MobileNavMenu };
@@ -1,14 +0,0 @@
1
- import { NavLink } from "../../types/navigation.js";
2
- import * as react_jsx_runtime70 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/NavItemCard.d.ts
5
- interface NavItemCardProps {
6
- item: NavLink;
7
- className?: string;
8
- }
9
- declare function NavItemCard({
10
- item,
11
- className
12
- }: NavItemCardProps): react_jsx_runtime70.JSX.Element;
13
- //#endregion
14
- export { NavItemCard, NavItemCardProps };
@@ -1,13 +0,0 @@
1
- import { HeaderNavItem } from "../../types/navigation.js";
2
- import * as react_jsx_runtime71 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/NavMain.d.ts
5
- declare function NavMain({
6
- items,
7
- className
8
- }: {
9
- items: HeaderNavItem[];
10
- className?: string;
11
- }): react_jsx_runtime71.JSX.Element;
12
- //#endregion
13
- export { NavMain };
@@ -1,17 +0,0 @@
1
- import { UserMenuItem } from "../../types/navigation.js";
2
- import * as react_jsx_runtime80 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/NavUser.d.ts
5
- declare function NavUser({
6
- name,
7
- email,
8
- imageUrl,
9
- items
10
- }: {
11
- name?: string;
12
- email?: string;
13
- imageUrl?: string;
14
- items: UserMenuItem[];
15
- }): react_jsx_runtime80.JSX.Element;
16
- //#endregion
17
- export { NavUser };
@@ -1,20 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime87 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/OverviewCard.d.ts
5
- interface OverviewCardProps {
6
- title: string;
7
- summary: string;
8
- href: string;
9
- preview?: React$1.ReactNode;
10
- ctaLabel: string;
11
- }
12
- declare function OverviewCard({
13
- title,
14
- summary,
15
- href,
16
- preview,
17
- ctaLabel
18
- }: OverviewCardProps): react_jsx_runtime87.JSX.Element;
19
- //#endregion
20
- export { OverviewCard, OverviewCard as default };
@@ -1,3 +0,0 @@
1
- import { SkeletonBlockProps } from "./types.js";
2
- import { SkeletonBlock } from "./index.web.js";
3
- export { SkeletonBlock, SkeletonBlockProps, SkeletonBlock as default };
@@ -1,3 +0,0 @@
1
- import { SkeletonBlock } from "./index.web.js";
2
-
3
- export { SkeletonBlock, SkeletonBlock as default };
@@ -1,12 +0,0 @@
1
- import { SkeletonBlockProps } from "./types.js";
2
- import * as react_jsx_runtime122 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/SkeletonBlock/index.mobile.d.ts
5
- declare function SkeletonBlock({
6
- w,
7
- h,
8
- rounded,
9
- className
10
- }: SkeletonBlockProps): react_jsx_runtime122.JSX.Element;
11
- //#endregion
12
- export { SkeletonBlock, SkeletonBlock as default };
@@ -1,18 +0,0 @@
1
- import "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { View } from "react-native";
4
-
5
- //#region src/components/molecules/SkeletonBlock/index.mobile.tsx
6
- function SkeletonBlock({ w = "w-full", h = "h-4", rounded = "md", className }) {
7
- return /* @__PURE__ */ jsx(View, { className: [
8
- w,
9
- h,
10
- rounded === "full" ? "rounded-full" : rounded === "lg" ? "rounded-lg" : rounded === "sm" ? "rounded-xs" : "rounded-md",
11
- "bg-muted",
12
- className
13
- ].filter(Boolean).join(" ") });
14
- }
15
- var index_mobile_default = SkeletonBlock;
16
-
17
- //#endregion
18
- export { SkeletonBlock, index_mobile_default as default };
@@ -1,12 +0,0 @@
1
- import { SkeletonBlockProps } from "./types.js";
2
- import * as react_jsx_runtime124 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/SkeletonBlock/index.web.d.ts
5
- declare function SkeletonBlock({
6
- w,
7
- h,
8
- rounded,
9
- className
10
- }: SkeletonBlockProps): react_jsx_runtime124.JSX.Element;
11
- //#endregion
12
- export { SkeletonBlock, SkeletonBlock as default };
@@ -1,9 +0,0 @@
1
- //#region src/components/molecules/SkeletonBlock/types.d.ts
2
- interface SkeletonBlockProps {
3
- w?: string;
4
- h?: string;
5
- rounded?: 'sm' | 'md' | 'lg' | 'full';
6
- className?: string;
7
- }
8
- //#endregion
9
- export { SkeletonBlockProps };
File without changes
@@ -1,3 +0,0 @@
1
- import { SkeletonCircleProps } from "./types.js";
2
- import { SkeletonCircle } from "./index.web.js";
3
- export { SkeletonCircle, SkeletonCircleProps, SkeletonCircle as default };
@@ -1,3 +0,0 @@
1
- import { SkeletonCircle } from "./index.web.js";
2
-
3
- export { SkeletonCircle, SkeletonCircle as default };
@@ -1,11 +0,0 @@
1
- import { SkeletonCircleProps } from "./types.js";
2
- import * as react_jsx_runtime123 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/SkeletonCircle/index.mobile.d.ts
5
- declare function SkeletonCircle({
6
- size,
7
- sizeClass,
8
- className
9
- }: SkeletonCircleProps): react_jsx_runtime123.JSX.Element;
10
- //#endregion
11
- export { SkeletonCircle, SkeletonCircle as default };
@@ -1,23 +0,0 @@
1
- import "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { View } from "react-native";
4
-
5
- //#region src/components/molecules/SkeletonCircle/index.mobile.tsx
6
- function SkeletonCircle({ size = 32, sizeClass, className }) {
7
- if (sizeClass) return /* @__PURE__ */ jsx(View, { className: [
8
- "bg-muted rounded-full",
9
- sizeClass,
10
- className
11
- ].filter(Boolean).join(" ") });
12
- return /* @__PURE__ */ jsx(View, {
13
- className: ["bg-muted rounded-full", className].filter(Boolean).join(" "),
14
- style: {
15
- width: size,
16
- height: size
17
- }
18
- });
19
- }
20
- var index_mobile_default = SkeletonCircle;
21
-
22
- //#endregion
23
- export { SkeletonCircle, index_mobile_default as default };
@@ -1,11 +0,0 @@
1
- import { SkeletonCircleProps } from "./types.js";
2
- import * as react_jsx_runtime125 from "react/jsx-runtime";
3
-
4
- //#region src/components/molecules/SkeletonCircle/index.web.d.ts
5
- declare function SkeletonCircle({
6
- size,
7
- sizeClass,
8
- className
9
- }: SkeletonCircleProps): react_jsx_runtime125.JSX.Element;
10
- //#endregion
11
- export { SkeletonCircle, SkeletonCircle as default };
@@ -1,8 +0,0 @@
1
- //#region src/components/molecules/SkeletonCircle/types.d.ts
2
- interface SkeletonCircleProps {
3
- sizeClass?: string;
4
- size?: number;
5
- className?: string;
6
- }
7
- //#endregion
8
- export { SkeletonCircleProps };
File without changes
@@ -1,3 +0,0 @@
1
- import { SkeletonListProps } from "./types.js";
2
- import { SkeletonList } from "./index.web.js";
3
- export { SkeletonList, SkeletonListProps, SkeletonList as default };
@@ -1,3 +0,0 @@
1
- import { SkeletonList } from "./index.web.js";
2
-
3
- export { SkeletonList, SkeletonList as default };