@lssm/lib.design-system 1.11.1 → 1.41.0

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 (299) 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/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
  61. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
  62. package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
  63. package/dist/node_modules/next/dist/client/add-locale.js +29 -0
  64. package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
  65. package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
  66. package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
  67. package/dist/node_modules/next/dist/client/link.js +311 -0
  68. package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
  69. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
  70. package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
  71. package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
  72. package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
  73. package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
  74. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
  75. package/dist/node_modules/next/dist/lib/constants.js +316 -0
  76. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
  77. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
  78. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
  79. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
  80. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
  81. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
  82. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
  83. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
  84. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
  85. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
  86. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
  87. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
  88. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
  89. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
  90. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
  91. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  92. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
  93. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
  94. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
  95. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
  96. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
  97. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
  98. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
  99. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
  100. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
  101. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
  102. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
  103. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
  104. package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
  105. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
  106. package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
  107. package/dist/node_modules/next/link.js +12 -0
  108. package/dist/platform/useColorScheme.js +3 -3
  109. package/dist/platform/useReducedMotion.js +3 -3
  110. package/dist/platform/useResponsive.js +4 -4
  111. package/dist/renderers/form-contract.js +1 -1
  112. package/package.json +13 -304
  113. package/dist/components/agent/AgentMonitor.d.ts +0 -28
  114. package/dist/components/agent/ApprovalQueue.d.ts +0 -25
  115. package/dist/components/atoms/ActionButtons.d.ts +0 -25
  116. package/dist/components/atoms/Button.d.ts +0 -39
  117. package/dist/components/atoms/Button.mobile.d.ts +0 -21
  118. package/dist/components/atoms/Button.mobile.js +0 -34
  119. package/dist/components/atoms/ButtonLink.d.ts +0 -21
  120. package/dist/components/atoms/ButtonLink.mobile.d.ts +0 -19
  121. package/dist/components/atoms/ButtonLink.mobile.js +0 -41
  122. package/dist/components/atoms/Cta.d.ts +0 -20
  123. package/dist/components/atoms/Cta.mobile.d.ts +0 -14
  124. package/dist/components/atoms/Cta.mobile.js +0 -38
  125. package/dist/components/atoms/DataChips.d.ts +0 -37
  126. package/dist/components/atoms/EmptyState.d.ts +0 -7
  127. package/dist/components/atoms/ErrorState.d.ts +0 -28
  128. package/dist/components/atoms/ErrorState.mobile.d.ts +0 -28
  129. package/dist/components/atoms/ErrorState.mobile.js +0 -41
  130. package/dist/components/atoms/Input.d.ts +0 -39
  131. package/dist/components/atoms/Input.mobile.d.ts +0 -37
  132. package/dist/components/atoms/Input.mobile.js +0 -27
  133. package/dist/components/atoms/Link.d.ts +0 -11
  134. package/dist/components/atoms/Link.native.d.ts +0 -1
  135. package/dist/components/atoms/Link.native.js +0 -0
  136. package/dist/components/atoms/Link.web.d.ts +0 -23
  137. package/dist/components/atoms/LoaderCircular.d.ts +0 -22
  138. package/dist/components/atoms/LoaderCircular.mobile.d.ts +0 -17
  139. package/dist/components/atoms/LoaderCircular.mobile.js +0 -26
  140. package/dist/components/atoms/NavBrand.d.ts +0 -18
  141. package/dist/components/atoms/Stepper.d.ts +0 -7
  142. package/dist/components/atoms/Textarea.d.ts +0 -41
  143. package/dist/components/atoms/Textarea.mobile.d.ts +0 -37
  144. package/dist/components/atoms/Textarea.mobile.js +0 -27
  145. package/dist/components/data-view/DataViewDetail.d.ts +0 -21
  146. package/dist/components/data-view/DataViewList.d.ts +0 -23
  147. package/dist/components/data-view/DataViewRenderer.d.ts +0 -47
  148. package/dist/components/data-view/DataViewTable.d.ts +0 -25
  149. package/dist/components/data-view/utils.d.ts +0 -5
  150. package/dist/components/forms/FormCardLayout.d.ts +0 -22
  151. package/dist/components/forms/FormDialog.d.ts +0 -24
  152. package/dist/components/forms/FormLayout.d.ts +0 -29
  153. package/dist/components/forms/FormOneByOneLayout.d.ts +0 -25
  154. package/dist/components/forms/FormStepsLayout.d.ts +0 -26
  155. package/dist/components/forms/ZodForm.d.ts +0 -21
  156. package/dist/components/legal/atoms/DefinitionList.d.ts +0 -16
  157. package/dist/components/legal/atoms/KeyValueList.d.ts +0 -16
  158. package/dist/components/legal/atoms/LegalCallout.d.ts +0 -17
  159. package/dist/components/legal/atoms/LegalHeading.d.ts +0 -24
  160. package/dist/components/legal/atoms/LegalList.d.ts +0 -20
  161. package/dist/components/legal/atoms/LegalSection.d.ts +0 -21
  162. package/dist/components/legal/atoms/LegalText.d.ts +0 -24
  163. package/dist/components/legal/molecules/Consent.d.ts +0 -35
  164. package/dist/components/legal/molecules/ContactFields.d.ts +0 -24
  165. package/dist/components/legal/molecules/LegalMeta.d.ts +0 -14
  166. package/dist/components/legal/molecules/LegalTOC.d.ts +0 -30
  167. package/dist/components/legal/organisms/ContactForm.d.ts +0 -29
  168. package/dist/components/legal/organisms/GDPRDataRequest.d.ts +0 -18
  169. package/dist/components/legal/organisms/GDPRRights.d.ts +0 -13
  170. package/dist/components/legal/organisms/LegalPageLayout.d.ts +0 -23
  171. package/dist/components/legal/templates/ContactTemplate.d.ts +0 -23
  172. package/dist/components/legal/templates/CookiesTemplate.d.ts +0 -32
  173. package/dist/components/legal/templates/PrivacyTemplate.d.ts +0 -32
  174. package/dist/components/legal/templates/SalesTermsTemplate.d.ts +0 -27
  175. package/dist/components/legal/templates/TermsTemplate.d.ts +0 -27
  176. package/dist/components/molecules/AiLinkButton.d.ts +0 -15
  177. package/dist/components/molecules/Breadcrumbs.d.ts +0 -15
  178. package/dist/components/molecules/CommandPalette.d.ts +0 -26
  179. package/dist/components/molecules/CommandSearchTrigger.d.ts +0 -18
  180. package/dist/components/molecules/DropdownMenu.d.ts +0 -1
  181. package/dist/components/molecules/DropdownMenu.js +0 -0
  182. package/dist/components/molecules/EntityCard.d.ts +0 -37
  183. package/dist/components/molecules/FiltersToolbar.d.ts +0 -35
  184. package/dist/components/molecules/FiltersToolbar.mobile.d.ts +0 -18
  185. package/dist/components/molecules/FiltersToolbar.mobile.js +0 -48
  186. package/dist/components/molecules/HoverPreview.d.ts +0 -20
  187. package/dist/components/molecules/LangSwitch.d.ts +0 -22
  188. package/dist/components/molecules/LangSwitchDropdown.d.ts +0 -21
  189. package/dist/components/molecules/LoaderBlock.d.ts +0 -18
  190. package/dist/components/molecules/LoaderBlock.mobile.d.ts +0 -18
  191. package/dist/components/molecules/LoaderBlock.mobile.js +0 -25
  192. package/dist/components/molecules/MobileNavMenu.d.ts +0 -13
  193. package/dist/components/molecules/NavItemCard.d.ts +0 -14
  194. package/dist/components/molecules/NavMain.d.ts +0 -13
  195. package/dist/components/molecules/NavUser.d.ts +0 -17
  196. package/dist/components/molecules/OverviewCard.d.ts +0 -20
  197. package/dist/components/molecules/SkeletonBlock/index.d.ts +0 -3
  198. package/dist/components/molecules/SkeletonBlock/index.js +0 -3
  199. package/dist/components/molecules/SkeletonBlock/index.mobile.d.ts +0 -12
  200. package/dist/components/molecules/SkeletonBlock/index.mobile.js +0 -18
  201. package/dist/components/molecules/SkeletonBlock/index.web.d.ts +0 -12
  202. package/dist/components/molecules/SkeletonBlock/types.d.ts +0 -9
  203. package/dist/components/molecules/SkeletonBlock/types.js +0 -0
  204. package/dist/components/molecules/SkeletonCircle/index.d.ts +0 -3
  205. package/dist/components/molecules/SkeletonCircle/index.js +0 -3
  206. package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts +0 -11
  207. package/dist/components/molecules/SkeletonCircle/index.mobile.js +0 -23
  208. package/dist/components/molecules/SkeletonCircle/index.web.d.ts +0 -11
  209. package/dist/components/molecules/SkeletonCircle/types.d.ts +0 -8
  210. package/dist/components/molecules/SkeletonCircle/types.js +0 -0
  211. package/dist/components/molecules/SkeletonList/index.d.ts +0 -3
  212. package/dist/components/molecules/SkeletonList/index.js +0 -3
  213. package/dist/components/molecules/SkeletonList/index.mobile.d.ts +0 -10
  214. package/dist/components/molecules/SkeletonList/index.mobile.js +0 -22
  215. package/dist/components/molecules/SkeletonList/index.web.d.ts +0 -10
  216. package/dist/components/molecules/SkeletonList/types.d.ts +0 -7
  217. package/dist/components/molecules/SkeletonList/types.js +0 -0
  218. package/dist/components/molecules/StatCard.d.ts +0 -36
  219. package/dist/components/molecules/StatusChip.d.ts +0 -26
  220. package/dist/components/molecules/hover-previews/Doc.d.ts +0 -27
  221. package/dist/components/molecules/hover-previews/Media.d.ts +0 -20
  222. package/dist/components/molecules/hover-previews/Simple.d.ts +0 -25
  223. package/dist/components/molecules/hover-previews/Stats.d.ts +0 -22
  224. package/dist/components/molecules/hover-previews/User.d.ts +0 -25
  225. package/dist/components/native/BottomTabs.mobile.d.ts +0 -20
  226. package/dist/components/native/BottomTabs.mobile.js +0 -27
  227. package/dist/components/native/FlatListScreen.mobile.d.ts +0 -43
  228. package/dist/components/native/FlatListScreen.mobile.js +0 -63
  229. package/dist/components/native/SheetMenu.mobile.d.ts +0 -17
  230. package/dist/components/native/SheetMenu.mobile.js +0 -21
  231. package/dist/components/organisms/AcademyLayout.d.ts +0 -29
  232. package/dist/components/organisms/AppHeader.d.ts +0 -18
  233. package/dist/components/organisms/AppHeader.mobile.d.ts +0 -21
  234. package/dist/components/organisms/AppHeader.mobile.js +0 -52
  235. package/dist/components/organisms/AppLayout.d.ts +0 -28
  236. package/dist/components/organisms/AppSidebar.d.ts +0 -23
  237. package/dist/components/organisms/AppSidebar.mobile.d.ts +0 -1
  238. package/dist/components/organisms/AppSidebar.mobile.js +0 -0
  239. package/dist/components/organisms/EmptyDataList.d.ts +0 -20
  240. package/dist/components/organisms/EmptyDataList.mobile.d.ts +0 -20
  241. package/dist/components/organisms/EmptyDataList.mobile.js +0 -27
  242. package/dist/components/organisms/EmptyDataList.types.d.ts +0 -19
  243. package/dist/components/organisms/EmptyDataList.types.js +0 -1
  244. package/dist/components/organisms/EmptySearchResult.d.ts +0 -24
  245. package/dist/components/organisms/FAQSection.d.ts +0 -31
  246. package/dist/components/organisms/FeatureCarousel.d.ts +0 -18
  247. package/dist/components/organisms/FeaturesSection.d.ts +0 -19
  248. package/dist/components/organisms/Footer.d.ts +0 -25
  249. package/dist/components/organisms/GridLayout.d.ts +0 -25
  250. package/dist/components/organisms/GridLayout.js +0 -28
  251. package/dist/components/organisms/Header.d.ts +0 -37
  252. package/dist/components/organisms/Header.mobile.d.ts +0 -24
  253. package/dist/components/organisms/Header.mobile.js +0 -18
  254. package/dist/components/organisms/HeroResponsive.d.ts +0 -14
  255. package/dist/components/organisms/HeroSection.d.ts +0 -29
  256. package/dist/components/organisms/ListCardPage.d.ts +0 -36
  257. package/dist/components/organisms/ListGridPage.d.ts +0 -36
  258. package/dist/components/organisms/ListPageResponsive.d.ts +0 -7
  259. package/dist/components/organisms/ListTablePage.d.ts +0 -33
  260. package/dist/components/organisms/MarketingHeader.d.ts +0 -36
  261. package/dist/components/organisms/MarketingHeaderDesktop.d.ts +0 -15
  262. package/dist/components/organisms/MarketingHeaderMobile.d.ts +0 -12
  263. package/dist/components/organisms/MarketingLayout.d.ts +0 -18
  264. package/dist/components/organisms/PageHeaderResponsive.d.ts +0 -8
  265. package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +0 -22
  266. package/dist/components/organisms/PageHeaderResponsive.mobile.js +0 -32
  267. package/dist/components/organisms/PricingCarousel.d.ts +0 -24
  268. package/dist/components/organisms/PricingSection.d.ts +0 -18
  269. package/dist/components/organisms/TestimonialCarousel.d.ts +0 -19
  270. package/dist/components/templates/lists/ListPageTemplate/index.d.ts +0 -3
  271. package/dist/components/templates/lists/ListPageTemplate/index.js +0 -3
  272. package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts +0 -21
  273. package/dist/components/templates/lists/ListPageTemplate/index.mobile.js +0 -32
  274. package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +0 -22
  275. package/dist/components/templates/lists/ListPageTemplate/types.d.ts +0 -25
  276. package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
  277. package/dist/hooks/useListUrlState.d.ts +0 -30
  278. package/dist/index.d.ts +0 -108
  279. package/dist/lib/keyboard.d.ts +0 -14
  280. package/dist/lib/utils.d.ts +0 -6
  281. package/dist/platform/useColorScheme.d.ts +0 -5
  282. package/dist/platform/useColorScheme.mobile.d.ts +0 -5
  283. package/dist/platform/useColorScheme.mobile.js +0 -20
  284. package/dist/platform/useReducedMotion.d.ts +0 -4
  285. package/dist/platform/useReducedMotion.mobile.d.ts +0 -4
  286. package/dist/platform/useReducedMotion.mobile.js +0 -28
  287. package/dist/platform/useResponsive.d.ts +0 -23
  288. package/dist/platform/useResponsive.mobile.d.ts +0 -23
  289. package/dist/platform/useResponsive.mobile.js +0 -42
  290. package/dist/platform/withPlatformUI.d.ts +0 -28
  291. package/dist/renderers/form-contract.d.ts +0 -11
  292. package/dist/renderers/index.d.ts +0 -2
  293. package/dist/renderers/index.js +0 -3
  294. package/dist/theme/tokenBridge.d.ts +0 -19
  295. package/dist/theme/tokens.d.ts +0 -50
  296. package/dist/theme/variants.d.ts +0 -21
  297. package/dist/types/nativewind-env.d.ts +0 -1
  298. package/dist/types/navigation.d.ts +0 -44
  299. package/dist/types/navigation.js +0 -1
@@ -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 };
@@ -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 };