@lssm/lib.design-system 0.0.0-canary-20251207012602 → 0.0.0-canary-20251207043720

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 (286) hide show
  1. package/README.md +1 -0
  2. package/dist/_virtual/rolldown_runtime.js +8 -1
  3. package/dist/components/atoms/Button.js +4 -5
  4. package/dist/components/atoms/ButtonLink.js +2 -2
  5. package/dist/components/atoms/Cta.js +2 -2
  6. package/dist/components/atoms/EmptyState.js +4 -4
  7. package/dist/components/atoms/ErrorState.js +1 -2
  8. package/dist/components/atoms/Input.js +4 -5
  9. package/dist/components/atoms/Link.js +1 -2
  10. package/dist/components/atoms/Link.web.js +4 -2
  11. package/dist/components/atoms/LoaderCircular.js +1 -2
  12. package/dist/components/atoms/Stepper.js +4 -4
  13. package/dist/components/atoms/Textarea.js +7 -8
  14. package/dist/components/data-view/DataViewRenderer.js +2 -2
  15. package/dist/components/forms/FormOneByOneLayout.js +3 -3
  16. package/dist/components/forms/FormStepsLayout.js +3 -3
  17. package/dist/components/forms/ZodForm.js +1 -1
  18. package/dist/components/legal/atoms/LegalCallout.js +1 -1
  19. package/dist/components/legal/atoms/LegalHeading.js +1 -1
  20. package/dist/components/legal/atoms/LegalList.js +1 -1
  21. package/dist/components/legal/atoms/LegalSection.js +1 -1
  22. package/dist/components/legal/atoms/LegalText.js +1 -1
  23. package/dist/components/legal/molecules/LegalTOC.js +1 -1
  24. package/dist/components/legal/organisms/ContactForm.js +3 -3
  25. package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
  26. package/dist/components/legal/templates/ContactTemplate.js +3 -3
  27. package/dist/components/molecules/AiLinkButton.js +4 -4
  28. package/dist/components/molecules/Breadcrumbs.js +2 -2
  29. package/dist/components/molecules/CommandPalette.js +3 -3
  30. package/dist/components/molecules/CommandSearchTrigger.js +3 -3
  31. package/dist/components/molecules/FiltersToolbar.js +4 -4
  32. package/dist/components/molecules/LangSwitchDropdown.js +2 -2
  33. package/dist/components/molecules/LoaderBlock.js +1 -2
  34. package/dist/components/molecules/SkeletonBlock/index.web.js +1 -2
  35. package/dist/components/molecules/SkeletonCircle/index.web.js +1 -2
  36. package/dist/components/molecules/SkeletonList/index.web.js +4 -5
  37. package/dist/components/organisms/AcademyLayout.js +2 -2
  38. package/dist/components/organisms/AppLayout.js +2 -2
  39. package/dist/components/organisms/EmptySearchResult.js +2 -2
  40. package/dist/components/organisms/FAQSection.js +2 -2
  41. package/dist/components/organisms/MarketingHeader.js +2 -2
  42. package/dist/components/organisms/MarketingHeaderMobile.js +2 -2
  43. package/dist/components/templates/lists/ListPageTemplate/index.web.js +2 -2
  44. package/dist/hooks/useListUrlState.js +7 -7
  45. package/dist/lib/keyboard.js +1 -172
  46. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
  47. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
  48. package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
  49. package/dist/node_modules/next/dist/client/add-locale.js +29 -0
  50. package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
  51. package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
  52. package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
  53. package/dist/node_modules/next/dist/client/link.js +311 -0
  54. package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
  55. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
  56. package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
  57. package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
  58. package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
  59. package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
  60. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
  61. package/dist/node_modules/next/dist/lib/constants.js +316 -0
  62. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
  63. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
  64. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
  65. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
  66. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
  67. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
  68. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
  69. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
  70. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
  71. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
  72. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
  73. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
  74. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
  75. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
  76. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
  77. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  78. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
  79. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
  80. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
  81. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
  82. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
  83. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
  84. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
  85. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
  86. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
  87. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
  88. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
  89. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
  90. package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
  91. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
  92. package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
  93. package/dist/node_modules/next/link.js +12 -0
  94. package/dist/platform/useColorScheme.js +3 -3
  95. package/dist/platform/useReducedMotion.js +3 -3
  96. package/dist/platform/useResponsive.js +4 -4
  97. package/dist/renderers/form-contract.js +1 -1
  98. package/package.json +2 -294
  99. package/dist/components/agent/AgentMonitor.d.ts +0 -28
  100. package/dist/components/agent/ApprovalQueue.d.ts +0 -25
  101. package/dist/components/atoms/ActionButtons.d.ts +0 -25
  102. package/dist/components/atoms/Button.d.ts +0 -39
  103. package/dist/components/atoms/Button.mobile.d.ts +0 -21
  104. package/dist/components/atoms/Button.mobile.js +0 -34
  105. package/dist/components/atoms/ButtonLink.d.ts +0 -21
  106. package/dist/components/atoms/ButtonLink.mobile.d.ts +0 -19
  107. package/dist/components/atoms/ButtonLink.mobile.js +0 -41
  108. package/dist/components/atoms/Cta.d.ts +0 -20
  109. package/dist/components/atoms/Cta.mobile.d.ts +0 -14
  110. package/dist/components/atoms/Cta.mobile.js +0 -38
  111. package/dist/components/atoms/DataChips.d.ts +0 -37
  112. package/dist/components/atoms/EmptyState.d.ts +0 -7
  113. package/dist/components/atoms/ErrorState.d.ts +0 -28
  114. package/dist/components/atoms/ErrorState.mobile.d.ts +0 -28
  115. package/dist/components/atoms/ErrorState.mobile.js +0 -41
  116. package/dist/components/atoms/Input.d.ts +0 -39
  117. package/dist/components/atoms/Input.mobile.d.ts +0 -37
  118. package/dist/components/atoms/Input.mobile.js +0 -27
  119. package/dist/components/atoms/Link.d.ts +0 -11
  120. package/dist/components/atoms/Link.native.d.ts +0 -1
  121. package/dist/components/atoms/Link.native.js +0 -0
  122. package/dist/components/atoms/Link.web.d.ts +0 -23
  123. package/dist/components/atoms/LoaderCircular.d.ts +0 -22
  124. package/dist/components/atoms/LoaderCircular.mobile.d.ts +0 -17
  125. package/dist/components/atoms/LoaderCircular.mobile.js +0 -26
  126. package/dist/components/atoms/NavBrand.d.ts +0 -18
  127. package/dist/components/atoms/Stepper.d.ts +0 -7
  128. package/dist/components/atoms/Textarea.d.ts +0 -41
  129. package/dist/components/atoms/Textarea.mobile.d.ts +0 -37
  130. package/dist/components/atoms/Textarea.mobile.js +0 -27
  131. package/dist/components/data-view/DataViewDetail.d.ts +0 -21
  132. package/dist/components/data-view/DataViewList.d.ts +0 -23
  133. package/dist/components/data-view/DataViewRenderer.d.ts +0 -47
  134. package/dist/components/data-view/DataViewTable.d.ts +0 -25
  135. package/dist/components/data-view/utils.d.ts +0 -5
  136. package/dist/components/forms/FormCardLayout.d.ts +0 -22
  137. package/dist/components/forms/FormDialog.d.ts +0 -24
  138. package/dist/components/forms/FormLayout.d.ts +0 -29
  139. package/dist/components/forms/FormOneByOneLayout.d.ts +0 -25
  140. package/dist/components/forms/FormStepsLayout.d.ts +0 -26
  141. package/dist/components/forms/ZodForm.d.ts +0 -21
  142. package/dist/components/legal/atoms/DefinitionList.d.ts +0 -16
  143. package/dist/components/legal/atoms/KeyValueList.d.ts +0 -16
  144. package/dist/components/legal/atoms/LegalCallout.d.ts +0 -17
  145. package/dist/components/legal/atoms/LegalHeading.d.ts +0 -24
  146. package/dist/components/legal/atoms/LegalList.d.ts +0 -20
  147. package/dist/components/legal/atoms/LegalSection.d.ts +0 -21
  148. package/dist/components/legal/atoms/LegalText.d.ts +0 -24
  149. package/dist/components/legal/molecules/Consent.d.ts +0 -35
  150. package/dist/components/legal/molecules/ContactFields.d.ts +0 -24
  151. package/dist/components/legal/molecules/LegalMeta.d.ts +0 -14
  152. package/dist/components/legal/molecules/LegalTOC.d.ts +0 -30
  153. package/dist/components/legal/organisms/ContactForm.d.ts +0 -29
  154. package/dist/components/legal/organisms/GDPRDataRequest.d.ts +0 -18
  155. package/dist/components/legal/organisms/GDPRRights.d.ts +0 -13
  156. package/dist/components/legal/organisms/LegalPageLayout.d.ts +0 -23
  157. package/dist/components/legal/templates/ContactTemplate.d.ts +0 -23
  158. package/dist/components/legal/templates/CookiesTemplate.d.ts +0 -32
  159. package/dist/components/legal/templates/PrivacyTemplate.d.ts +0 -32
  160. package/dist/components/legal/templates/SalesTermsTemplate.d.ts +0 -27
  161. package/dist/components/legal/templates/TermsTemplate.d.ts +0 -27
  162. package/dist/components/molecules/AiLinkButton.d.ts +0 -15
  163. package/dist/components/molecules/Breadcrumbs.d.ts +0 -15
  164. package/dist/components/molecules/CommandPalette.d.ts +0 -26
  165. package/dist/components/molecules/CommandSearchTrigger.d.ts +0 -18
  166. package/dist/components/molecules/DropdownMenu.d.ts +0 -1
  167. package/dist/components/molecules/DropdownMenu.js +0 -0
  168. package/dist/components/molecules/EntityCard.d.ts +0 -37
  169. package/dist/components/molecules/FiltersToolbar.d.ts +0 -35
  170. package/dist/components/molecules/FiltersToolbar.mobile.d.ts +0 -18
  171. package/dist/components/molecules/FiltersToolbar.mobile.js +0 -48
  172. package/dist/components/molecules/HoverPreview.d.ts +0 -20
  173. package/dist/components/molecules/LangSwitch.d.ts +0 -22
  174. package/dist/components/molecules/LangSwitchDropdown.d.ts +0 -21
  175. package/dist/components/molecules/LoaderBlock.d.ts +0 -18
  176. package/dist/components/molecules/LoaderBlock.mobile.d.ts +0 -18
  177. package/dist/components/molecules/LoaderBlock.mobile.js +0 -25
  178. package/dist/components/molecules/MobileNavMenu.d.ts +0 -13
  179. package/dist/components/molecules/NavItemCard.d.ts +0 -14
  180. package/dist/components/molecules/NavMain.d.ts +0 -13
  181. package/dist/components/molecules/NavUser.d.ts +0 -17
  182. package/dist/components/molecules/OverviewCard.d.ts +0 -20
  183. package/dist/components/molecules/OverviewCard.js +0 -37
  184. package/dist/components/molecules/SkeletonBlock/index.d.ts +0 -3
  185. package/dist/components/molecules/SkeletonBlock/index.js +0 -3
  186. package/dist/components/molecules/SkeletonBlock/index.mobile.d.ts +0 -12
  187. package/dist/components/molecules/SkeletonBlock/index.mobile.js +0 -18
  188. package/dist/components/molecules/SkeletonBlock/index.web.d.ts +0 -12
  189. package/dist/components/molecules/SkeletonBlock/types.d.ts +0 -9
  190. package/dist/components/molecules/SkeletonBlock/types.js +0 -0
  191. package/dist/components/molecules/SkeletonCircle/index.d.ts +0 -3
  192. package/dist/components/molecules/SkeletonCircle/index.js +0 -3
  193. package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts +0 -11
  194. package/dist/components/molecules/SkeletonCircle/index.mobile.js +0 -23
  195. package/dist/components/molecules/SkeletonCircle/index.web.d.ts +0 -11
  196. package/dist/components/molecules/SkeletonCircle/types.d.ts +0 -8
  197. package/dist/components/molecules/SkeletonCircle/types.js +0 -0
  198. package/dist/components/molecules/SkeletonList/index.d.ts +0 -3
  199. package/dist/components/molecules/SkeletonList/index.js +0 -3
  200. package/dist/components/molecules/SkeletonList/index.mobile.d.ts +0 -10
  201. package/dist/components/molecules/SkeletonList/index.mobile.js +0 -22
  202. package/dist/components/molecules/SkeletonList/index.web.d.ts +0 -10
  203. package/dist/components/molecules/SkeletonList/types.d.ts +0 -7
  204. package/dist/components/molecules/SkeletonList/types.js +0 -0
  205. package/dist/components/molecules/StatCard.d.ts +0 -36
  206. package/dist/components/molecules/StatusChip.d.ts +0 -26
  207. package/dist/components/molecules/hover-previews/Doc.d.ts +0 -27
  208. package/dist/components/molecules/hover-previews/Media.d.ts +0 -20
  209. package/dist/components/molecules/hover-previews/Simple.d.ts +0 -25
  210. package/dist/components/molecules/hover-previews/Stats.d.ts +0 -22
  211. package/dist/components/molecules/hover-previews/User.d.ts +0 -25
  212. package/dist/components/native/BottomTabs.mobile.d.ts +0 -20
  213. package/dist/components/native/BottomTabs.mobile.js +0 -27
  214. package/dist/components/native/FlatListScreen.mobile.d.ts +0 -43
  215. package/dist/components/native/FlatListScreen.mobile.js +0 -63
  216. package/dist/components/native/SheetMenu.mobile.d.ts +0 -17
  217. package/dist/components/native/SheetMenu.mobile.js +0 -21
  218. package/dist/components/organisms/AcademyLayout.d.ts +0 -29
  219. package/dist/components/organisms/AppHeader.d.ts +0 -18
  220. package/dist/components/organisms/AppHeader.mobile.d.ts +0 -21
  221. package/dist/components/organisms/AppHeader.mobile.js +0 -52
  222. package/dist/components/organisms/AppLayout.d.ts +0 -28
  223. package/dist/components/organisms/AppSidebar.d.ts +0 -23
  224. package/dist/components/organisms/AppSidebar.mobile.d.ts +0 -1
  225. package/dist/components/organisms/AppSidebar.mobile.js +0 -0
  226. package/dist/components/organisms/EmptyDataList.d.ts +0 -20
  227. package/dist/components/organisms/EmptyDataList.mobile.d.ts +0 -20
  228. package/dist/components/organisms/EmptyDataList.mobile.js +0 -27
  229. package/dist/components/organisms/EmptyDataList.types.d.ts +0 -19
  230. package/dist/components/organisms/EmptyDataList.types.js +0 -1
  231. package/dist/components/organisms/EmptySearchResult.d.ts +0 -24
  232. package/dist/components/organisms/FAQSection.d.ts +0 -31
  233. package/dist/components/organisms/FeatureCarousel.d.ts +0 -18
  234. package/dist/components/organisms/FeaturesSection.d.ts +0 -19
  235. package/dist/components/organisms/Footer.d.ts +0 -25
  236. package/dist/components/organisms/GridLayout.d.ts +0 -25
  237. package/dist/components/organisms/GridLayout.js +0 -28
  238. package/dist/components/organisms/Header.d.ts +0 -37
  239. package/dist/components/organisms/Header.mobile.d.ts +0 -24
  240. package/dist/components/organisms/Header.mobile.js +0 -18
  241. package/dist/components/organisms/HeroResponsive.d.ts +0 -14
  242. package/dist/components/organisms/HeroSection.d.ts +0 -29
  243. package/dist/components/organisms/ListCardPage.d.ts +0 -36
  244. package/dist/components/organisms/ListGridPage.d.ts +0 -36
  245. package/dist/components/organisms/ListPageResponsive.d.ts +0 -7
  246. package/dist/components/organisms/ListTablePage.d.ts +0 -33
  247. package/dist/components/organisms/MarketingHeader.d.ts +0 -36
  248. package/dist/components/organisms/MarketingHeaderDesktop.d.ts +0 -15
  249. package/dist/components/organisms/MarketingHeaderMobile.d.ts +0 -12
  250. package/dist/components/organisms/MarketingLayout.d.ts +0 -18
  251. package/dist/components/organisms/PageHeaderResponsive.d.ts +0 -8
  252. package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +0 -22
  253. package/dist/components/organisms/PageHeaderResponsive.mobile.js +0 -32
  254. package/dist/components/organisms/PricingCarousel.d.ts +0 -24
  255. package/dist/components/organisms/PricingSection.d.ts +0 -18
  256. package/dist/components/organisms/TestimonialCarousel.d.ts +0 -19
  257. package/dist/components/templates/lists/ListPageTemplate/index.d.ts +0 -3
  258. package/dist/components/templates/lists/ListPageTemplate/index.js +0 -3
  259. package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts +0 -21
  260. package/dist/components/templates/lists/ListPageTemplate/index.mobile.js +0 -32
  261. package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +0 -22
  262. package/dist/components/templates/lists/ListPageTemplate/types.d.ts +0 -25
  263. package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
  264. package/dist/hooks/useListUrlState.d.ts +0 -30
  265. package/dist/index.d.ts +0 -108
  266. package/dist/lib/keyboard.d.ts +0 -14
  267. package/dist/lib/utils.d.ts +0 -6
  268. package/dist/platform/useColorScheme.d.ts +0 -5
  269. package/dist/platform/useColorScheme.mobile.d.ts +0 -5
  270. package/dist/platform/useColorScheme.mobile.js +0 -20
  271. package/dist/platform/useReducedMotion.d.ts +0 -4
  272. package/dist/platform/useReducedMotion.mobile.d.ts +0 -4
  273. package/dist/platform/useReducedMotion.mobile.js +0 -28
  274. package/dist/platform/useResponsive.d.ts +0 -23
  275. package/dist/platform/useResponsive.mobile.d.ts +0 -23
  276. package/dist/platform/useResponsive.mobile.js +0 -42
  277. package/dist/platform/withPlatformUI.d.ts +0 -28
  278. package/dist/renderers/form-contract.d.ts +0 -11
  279. package/dist/renderers/index.d.ts +0 -2
  280. package/dist/renderers/index.js +0 -3
  281. package/dist/theme/tokenBridge.d.ts +0 -19
  282. package/dist/theme/tokens.d.ts +0 -50
  283. package/dist/theme/variants.d.ts +0 -21
  284. package/dist/types/nativewind-env.d.ts +0 -1
  285. package/dist/types/navigation.d.ts +0 -44
  286. package/dist/types/navigation.js +0 -1
package/README.md CHANGED
@@ -110,5 +110,6 @@ export function SignupForm() {
110
110
 
111
111
 
112
112
 
113
+
113
114
 
114
115
 
@@ -1,9 +1,12 @@
1
1
  //#region rolldown:runtime
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
9
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
7
10
  var __export = (all, symbols) => {
8
11
  let target = {};
9
12
  for (var name in all) {
@@ -31,6 +34,10 @@ var __copyProps = (to, from, except, desc) => {
31
34
  }
32
35
  return to;
33
36
  };
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
38
+ value: mod,
39
+ enumerable: true
40
+ }) : target, mod));
34
41
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
42
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
36
43
  if (typeof require !== "undefined") return require.apply(this, arguments);
@@ -38,4 +45,4 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
38
45
  });
39
46
 
40
47
  //#endregion
41
- export { __esmMin, __export, __require, __toCommonJS };
48
+ export { __commonJSMin, __esmMin, __export, __require, __toCommonJS, __toESM };
@@ -1,17 +1,17 @@
1
1
  import "react";
2
- import { Button as Button$1 } from "@lssm/lib.ui-kit-web/ui/button";
2
+ import { Button } from "@lssm/lib.ui-kit-web/ui/button";
3
3
  import { Loader2 } from "lucide-react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/atoms/Button.tsx
7
- function Button({ children, loading, spinnerPlacement = "start", onPress, onPressIn, onPressOut, onLongPress, onTouchStart, onTouchEnd, onTouchCancel, onMouseDown, onMouseUp, onClick, className, disabled, ...rest }) {
7
+ function Button$1({ children, loading, spinnerPlacement = "start", onPress, onPressIn, onPressOut, onLongPress, onTouchStart, onTouchEnd, onTouchCancel, onMouseDown, onMouseUp, onClick, className, disabled, ...rest }) {
8
8
  const isDisabled = Boolean(disabled || loading);
9
9
  const content = !rest.asChild ? /* @__PURE__ */ jsxs(Fragment, { children: [
10
10
  loading && spinnerPlacement === "start" ? /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }) : null,
11
11
  children,
12
12
  loading && spinnerPlacement === "end" ? /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }) : null
13
13
  ] }) : children;
14
- return /* @__PURE__ */ jsx(Button$1, {
14
+ return /* @__PURE__ */ jsx(Button, {
15
15
  ...rest,
16
16
  className,
17
17
  disabled: isDisabled,
@@ -28,7 +28,6 @@ function Button({ children, loading, spinnerPlacement = "start", onPress, onPres
28
28
  children: content
29
29
  });
30
30
  }
31
- var Button_default = Button;
32
31
 
33
32
  //#endregion
34
- export { Button, Button_default as default };
33
+ export { Button$1 as Button };
@@ -2,13 +2,13 @@
2
2
 
3
3
  import { Button } from "./Button.js";
4
4
  import { Link } from "./Link.web.js";
5
- import * as React$1 from "react";
5
+ import * as React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/atoms/ButtonLink.tsx
9
9
  function ButtonLink({ href, target, rel, replace, loading, disabled, children, onClick, ...btn }) {
10
10
  const blocked = Boolean(disabled || loading);
11
- const handleClick = React$1.useCallback((e) => {
11
+ const handleClick = React.useCallback((e) => {
12
12
  if (blocked) {
13
13
  e.preventDefault();
14
14
  e.stopPropagation();
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./Button.js";
2
2
  import { ButtonLink } from "./ButtonLink.js";
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { cva } from "class-variance-authority";
6
6
 
@@ -24,7 +24,7 @@ cva("", {
24
24
  emphasis: "default"
25
25
  }
26
26
  });
27
- const Cta = React$1.forwardRef(({ capture, ctaName, as = "button", href, onClick, size = "touch", emphasis = "default", children, ...props }, ref) => {
27
+ const Cta = React.forwardRef(({ capture, ctaName, as = "button", href, onClick, size = "touch", emphasis = "default", children, ...props }, ref) => {
28
28
  const handleClick = (e) => {
29
29
  if (ctaName) try {
30
30
  if (capture) capture(ctaName);
@@ -2,12 +2,12 @@
2
2
 
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
- import { EmptyState as EmptyState$1 } from "@lssm/lib.ui-kit-web/ui/empty-state";
5
+ import { EmptyState } from "@lssm/lib.ui-kit-web/ui/empty-state";
6
6
 
7
7
  //#region src/components/atoms/EmptyState.tsx
8
- function EmptyState(props) {
9
- return /* @__PURE__ */ jsx(EmptyState$1, { ...props });
8
+ function EmptyState$1(props) {
9
+ return /* @__PURE__ */ jsx(EmptyState, { ...props });
10
10
  }
11
11
 
12
12
  //#endregion
13
- export { EmptyState };
13
+ export { EmptyState$1 as EmptyState };
@@ -34,7 +34,6 @@ function ErrorState({ title = "Something went wrong", description, icon, onRetry
34
34
  }) })]
35
35
  });
36
36
  }
37
- var ErrorState_default = ErrorState;
38
37
 
39
38
  //#endregion
40
- export { ErrorState, ErrorState_default as default };
39
+ export { ErrorState };
@@ -1,12 +1,12 @@
1
1
  import { mapKeyboardToWeb } from "../../lib/keyboard.js";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- import { Input as Input$1 } from "@lssm/lib.ui-kit-web/ui/input";
4
+ import { Input } from "@lssm/lib.ui-kit-web/ui/input";
5
5
 
6
6
  //#region src/components/atoms/Input.tsx
7
- function Input({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, placeholder, disabled, readOnly, maxLength, name, className, keyboard, ...rest }) {
7
+ function Input$1({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, placeholder, disabled, readOnly, maxLength, name, className, keyboard, ...rest }) {
8
8
  const webKeyboard = mapKeyboardToWeb(keyboard);
9
- return /* @__PURE__ */ jsx(Input$1, {
9
+ return /* @__PURE__ */ jsx(Input, {
10
10
  ...rest,
11
11
  className,
12
12
  value,
@@ -22,7 +22,6 @@ function Input({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, place
22
22
  ...webKeyboard
23
23
  });
24
24
  }
25
- var Input_default = Input;
26
25
 
27
26
  //#endregion
28
- export { Input, Input_default as default };
27
+ export { Input$1 as Input };
@@ -8,7 +8,6 @@ function Link({ children, ...props }) {
8
8
  children
9
9
  });
10
10
  }
11
- var Link_default = Link;
12
11
 
13
12
  //#endregion
14
- export { Link, Link_default as default };
13
+ export { Link };
@@ -1,10 +1,12 @@
1
+ import { __toESM } from "../../_virtual/rolldown_runtime.js";
2
+ import { require_link } from "../../node_modules/next/link.js";
1
3
  import "react";
2
4
  import { jsx } from "react/jsx-runtime";
3
- import NextLink from "next/link";
4
5
 
5
6
  //#region src/components/atoms/Link.web.tsx
7
+ var import_link = /* @__PURE__ */ __toESM(require_link());
6
8
  function Link({ href, children, ...props }) {
7
- return /* @__PURE__ */ jsx(NextLink, {
9
+ return /* @__PURE__ */ jsx(import_link.default, {
8
10
  href,
9
11
  ...props,
10
12
  children
@@ -38,7 +38,6 @@ function LoaderCircular({ size, tone, label, className, ...props }) {
38
38
  }) : null]
39
39
  });
40
40
  }
41
- var LoaderCircular_default = LoaderCircular;
42
41
 
43
42
  //#endregion
44
- export { LoaderCircular, LoaderCircular_default as default };
43
+ export { LoaderCircular };
@@ -2,12 +2,12 @@
2
2
 
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
- import { Stepper as Stepper$1 } from "@lssm/lib.ui-kit-web/ui/stepper";
5
+ import { Stepper } from "@lssm/lib.ui-kit-web/ui/stepper";
6
6
 
7
7
  //#region src/components/atoms/Stepper.tsx
8
- function Stepper(props) {
9
- return /* @__PURE__ */ jsx(Stepper$1, { ...props });
8
+ function Stepper$1(props) {
9
+ return /* @__PURE__ */ jsx(Stepper, { ...props });
10
10
  }
11
11
 
12
12
  //#endregion
13
- export { Stepper };
13
+ export { Stepper$1 as Stepper };
@@ -1,18 +1,18 @@
1
1
  import { mapKeyboardToWeb } from "../../lib/keyboard.js";
2
- import * as React$1 from "react";
2
+ import * as React from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- import { Textarea as Textarea$1 } from "@lssm/lib.ui-kit-web/ui/textarea";
4
+ import { Textarea } from "@lssm/lib.ui-kit-web/ui/textarea";
5
5
 
6
6
  //#region src/components/atoms/Textarea.tsx
7
- function Textarea({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, placeholder, disabled, readOnly, maxLength, name, className, rows, keyboard, ...rest }) {
7
+ function Textarea$1({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, placeholder, disabled, readOnly, maxLength, name, className, rows, keyboard, ...rest }) {
8
8
  const webKeyboard = mapKeyboardToWeb(keyboard);
9
- const handleChange = React$1.useCallback((e) => onChange?.(e.target.value), [onChange]);
10
- const handleKeyDown = React$1.useCallback((e) => {
9
+ const handleChange = React.useCallback((e) => onChange?.(e.target.value), [onChange]);
10
+ const handleKeyDown = React.useCallback((e) => {
11
11
  if (e.key === "Enter" && webKeyboard.type !== "search") {
12
12
  if (e.metaKey || e.ctrlKey) onSubmit?.();
13
13
  }
14
14
  }, [onSubmit, webKeyboard.type]);
15
- return /* @__PURE__ */ jsx(Textarea$1, {
15
+ return /* @__PURE__ */ jsx(Textarea, {
16
16
  ...rest,
17
17
  className,
18
18
  value,
@@ -30,7 +30,6 @@ function Textarea({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, pl
30
30
  ...webKeyboard
31
31
  });
32
32
  }
33
- var Textarea_default = Textarea;
34
33
 
35
34
  //#endregion
36
- export { Textarea, Textarea_default as default };
35
+ export { Textarea$1 as Textarea };
@@ -4,13 +4,13 @@ import { FiltersToolbar } from "../molecules/FiltersToolbar.js";
4
4
  import { DataViewList } from "./DataViewList.js";
5
5
  import { DataViewTable } from "./DataViewTable.js";
6
6
  import { DataViewDetail } from "./DataViewDetail.js";
7
- import * as React$1 from "react";
7
+ import * as React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  import { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "@lssm/lib.ui-kit-web/ui/pagination";
10
10
 
11
11
  //#region src/components/data-view/DataViewRenderer.tsx
12
12
  function DataViewRenderer({ spec, items = [], item = null, className, renderActions, onSelect, onRowClick, headerActions, emptyState, footer, search, onSearchChange, filters, onFilterChange, pagination, onPageChange }) {
13
- const viewContent = React$1.useMemo(() => {
13
+ const viewContent = React.useMemo(() => {
14
14
  switch (spec.view.kind) {
15
15
  case "list": return /* @__PURE__ */ jsx(DataViewList, {
16
16
  spec,
@@ -1,12 +1,12 @@
1
1
  import { Button } from "../atoms/Button.js";
2
- import * as React$1 from "react";
2
+ import * as React from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
5
5
 
6
6
  //#region src/components/forms/FormOneByOneLayout.tsx
7
7
  function FormOneByOneLayout({ fields, initialKey, onComplete, className }) {
8
- const indexByKey = React$1.useMemo(() => Object.fromEntries(fields.map((f, i) => [f.key, i])), [fields]);
9
- const [idx, setIdx] = React$1.useState(() => {
8
+ const indexByKey = React.useMemo(() => Object.fromEntries(fields.map((f, i) => [f.key, i])), [fields]);
9
+ const [idx, setIdx] = React.useState(() => {
10
10
  if (initialKey && initialKey in indexByKey) return indexByKey[initialKey] || 0;
11
11
  return 0;
12
12
  });
@@ -1,13 +1,13 @@
1
1
  import { Button } from "../atoms/Button.js";
2
- import * as React$1 from "react";
2
+ import * as React from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
5
5
  import { Separator } from "@lssm/lib.ui-kit-web/ui/separator";
6
6
 
7
7
  //#region src/components/forms/FormStepsLayout.tsx
8
8
  function FormStepsLayout({ steps, initialStepKey, onFinish, canNext, className }) {
9
- const indexByKey = React$1.useMemo(() => Object.fromEntries(steps.map((s, i) => [s.key, i])), [steps]);
10
- const [idx, setIdx] = React$1.useState(() => {
9
+ const indexByKey = React.useMemo(() => Object.fromEntries(steps.map((s, i) => [s.key, i])), [steps]);
10
+ const [idx, setIdx] = React.useState(() => {
11
11
  if (initialStepKey && initialStepKey in indexByKey) return indexByKey[initialStepKey] || 0;
12
12
  return 0;
13
13
  });
@@ -3,7 +3,7 @@
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { Form, useForm, zodResolver } from "@lssm/lib.ui-kit-web/ui/form";
6
- import { z } from "zod";
6
+ import "zod";
7
7
 
8
8
  //#region src/components/forms/ZodForm.tsx
9
9
  function ZodForm({ schema, defaultValues, onSubmit, children }) {
@@ -20,4 +20,4 @@ function LegalCallout({ tone, className, ...props }) {
20
20
  }
21
21
 
22
22
  //#endregion
23
- export { LegalCallout, calloutVariants };
23
+ export { LegalCallout };
@@ -42,4 +42,4 @@ function LegalHeading({ as, level, tone, spacing, className, ...props }) {
42
42
  }
43
43
 
44
44
  //#endregion
45
- export { LegalHeading, headingVariants };
45
+ export { LegalHeading };
@@ -34,4 +34,4 @@ function LegalList({ type, spacing, className, children, ...props }) {
34
34
  }
35
35
 
36
36
  //#endregion
37
- export { LegalList, listVariants };
37
+ export { LegalList };
@@ -40,4 +40,4 @@ function LegalSection({ spacing, border, tone, className, ...props }) {
40
40
  }
41
41
 
42
42
  //#endregion
43
- export { LegalSection, sectionVariants };
43
+ export { LegalSection };
@@ -41,4 +41,4 @@ function LegalText({ as = "p", tone, size, spacing, className, ...props }) {
41
41
  }
42
42
 
43
43
  //#endregion
44
- export { LegalText, textVariants };
44
+ export { LegalText };
@@ -48,4 +48,4 @@ function LegalTOC({ items, activeHref, onNavigate, variant, size, className, ...
48
48
  }
49
49
 
50
50
  //#endregion
51
- export { LegalTOC, tocVariants };
51
+ export { LegalTOC };
@@ -1,6 +1,6 @@
1
1
  import { Button } from "../../atoms/Button.js";
2
2
  import { ContactFields } from "../molecules/ContactFields.js";
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/legal/organisms/ContactForm.tsx
@@ -10,8 +10,8 @@ function ContactForm({ labels = { submit: "Envoyer" }, initialValue = {
10
10
  subject: "",
11
11
  message: ""
12
12
  }, disabled, onSubmit }) {
13
- const [value, setValue] = React$1.useState(initialValue);
14
- const [loading, setLoading] = React$1.useState(false);
13
+ const [value, setValue] = React.useState(initialValue);
14
+ const [loading, setLoading] = React.useState(false);
15
15
  const handleSubmit = async (e) => {
16
16
  e.preventDefault();
17
17
  if (!onSubmit) return;
@@ -2,7 +2,7 @@ import { Button } from "../../atoms/Button.js";
2
2
  import { LegalHeading } from "../atoms/LegalHeading.js";
3
3
  import { LegalText } from "../atoms/LegalText.js";
4
4
  import { LegalSection } from "../atoms/LegalSection.js";
5
- import * as React$1 from "react";
5
+ import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/legal/organisms/GDPRDataRequest.tsx
@@ -10,7 +10,7 @@ function GDPRDataRequest({ onExport, onDelete, labels = {
10
10
  export: "Demander une copie",
11
11
  delete: "Demander la suppression"
12
12
  } }) {
13
- const [loading, setLoading] = React$1.useState(null);
13
+ const [loading, setLoading] = React.useState(null);
14
14
  const handle = async (kind) => {
15
15
  const fn = kind === "export" ? onExport : onDelete;
16
16
  if (!fn) return;
@@ -1,18 +1,18 @@
1
1
  import { Button } from "../../atoms/Button.js";
2
2
  import { ContactFields } from "../molecules/ContactFields.js";
3
3
  import { LegalPageLayout } from "../organisms/LegalPageLayout.js";
4
- import * as React$1 from "react";
4
+ import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/legal/templates/ContactTemplate.tsx
8
8
  function ContactTemplate({ title = "Contact", meta, onSubmit }) {
9
- const [value, setValue] = React$1.useState({
9
+ const [value, setValue] = React.useState({
10
10
  name: "",
11
11
  email: "",
12
12
  subject: "",
13
13
  message: ""
14
14
  });
15
- const [loading, setLoading] = React$1.useState(false);
15
+ const [loading, setLoading] = React.useState(false);
16
16
  const handleSubmit = async (e) => {
17
17
  e.preventDefault();
18
18
  if (!onSubmit) return;
@@ -1,5 +1,5 @@
1
1
  import { Button } from "../atoms/Button.js";
2
- import * as React$1 from "react";
2
+ import * as React from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@lssm/lib.ui-kit-web/ui/dropdown-menu";
5
5
 
@@ -16,19 +16,19 @@ function buildProviderUrl(provider, href) {
16
16
  }
17
17
  }
18
18
  function AiLinkButton({ href, className }) {
19
- const copyLink = React$1.useCallback(() => {
19
+ const copyLink = React.useCallback(() => {
20
20
  try {
21
21
  navigator.clipboard?.writeText(href).catch(() => {});
22
22
  } catch {}
23
23
  }, [href]);
24
- const openChatGPT = React$1.useCallback(() => {
24
+ const openChatGPT = React.useCallback(() => {
25
25
  const url = buildProviderUrl("chatgpt", href);
26
26
  try {
27
27
  navigator.clipboard?.writeText(href).catch(() => {});
28
28
  } catch {}
29
29
  window.open(url, "_blank", "noopener,noreferrer");
30
30
  }, [href]);
31
- const openClaude = React$1.useCallback(() => {
31
+ const openClaude = React.useCallback(() => {
32
32
  const url = buildProviderUrl("claude", href);
33
33
  try {
34
34
  navigator.clipboard?.writeText(href).catch(() => {});
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
 
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "@lssm/lib.ui-kit-web/ui/breadcrumb";
6
6
 
7
7
  //#region src/components/molecules/Breadcrumbs.tsx
8
8
  function Breadcrumbs({ items }) {
9
9
  if (!items?.length) return null;
10
- return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: items.map((it, idx) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
10
+ return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: items.map((it, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
11
11
  href: it.href,
12
12
  children: it.label
13
13
  }) : /* @__PURE__ */ jsx(BreadcrumbPage, { children: it.label }) }), idx < items.length - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})] }, idx)) }) });
@@ -1,16 +1,16 @@
1
1
  'use client';
2
2
 
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "@lssm/lib.ui-kit-web/ui/command";
6
6
 
7
7
  //#region src/components/molecules/CommandPalette.tsx
8
8
  function CommandPalette({ open, onOpenChange, groups, placeholder = "Type a command or search…" }) {
9
- const [internalOpen, setInternalOpen] = React$1.useState(false);
9
+ const [internalOpen, setInternalOpen] = React.useState(false);
10
10
  const isControlled = typeof open === "boolean";
11
11
  const visible = isControlled ? open : internalOpen;
12
12
  const setVisible = isControlled ? onOpenChange : setInternalOpen;
13
- React$1.useEffect(() => {
13
+ React.useEffect(() => {
14
14
  const handler = (e) => {
15
15
  if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k") {
16
16
  e.preventDefault();
@@ -2,15 +2,15 @@
2
2
 
3
3
  import { Button } from "../atoms/Button.js";
4
4
  import { CommandPalette } from "./CommandPalette.js";
5
- import * as React$1 from "react";
5
+ import * as React from "react";
6
6
  import { SearchIcon } from "lucide-react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
9
9
 
10
10
  //#region src/components/molecules/CommandSearchTrigger.tsx
11
11
  function CommandSearchTrigger({ groups, className, placeholder = "Search…", compact = false }) {
12
- const [open, setOpen] = React$1.useState(false);
13
- React$1.useEffect(() => {
12
+ const [open, setOpen] = React.useState(false);
13
+ React.useEffect(() => {
14
14
  const handler = (e) => {
15
15
  if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k") {
16
16
  e.preventDefault();
@@ -1,17 +1,17 @@
1
1
  import { Button } from "../atoms/Button.js";
2
2
  import { Input } from "../atoms/Input.js";
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
6
6
  import { Badge } from "@lssm/lib.ui-kit-web/ui/badge";
7
7
 
8
8
  //#region src/components/molecules/FiltersToolbar.tsx
9
9
  function FiltersToolbar({ className, children, right, searchPlaceholder, searchValue, onSearchChange, onSearchSubmit, debounceMs = 250, activeChips = [], onClearAll }) {
10
- const [q, setQ] = React$1.useState(searchValue ?? "");
11
- React$1.useEffect(() => {
10
+ const [q, setQ] = React.useState(searchValue ?? "");
11
+ React.useEffect(() => {
12
12
  setQ(searchValue ?? "");
13
13
  }, [searchValue]);
14
- React$1.useEffect(() => {
14
+ React.useEffect(() => {
15
15
  if (!onSearchChange) return;
16
16
  const id = setTimeout(() => onSearchChange(q), debounceMs);
17
17
  return () => clearTimeout(id);
@@ -1,11 +1,11 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { Globe } from "lucide-react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@lssm/lib.ui-kit-web/ui/dropdown-menu";
5
5
 
6
6
  //#region src/components/molecules/LangSwitchDropdown.tsx
7
7
  function LangSwitchDropdown({ value, options, onChange, className }) {
8
- const [open, setOpen] = React$1.useState(false);
8
+ const [open, setOpen] = React.useState(false);
9
9
  const current = options.find((o) => o.code === value);
10
10
  return /* @__PURE__ */ jsxs(DropdownMenu, {
11
11
  open,
@@ -19,7 +19,6 @@ function LoaderBlock({ label, description, className, size = "md" }) {
19
19
  })
20
20
  });
21
21
  }
22
- var LoaderBlock_default = LoaderBlock;
23
22
 
24
23
  //#endregion
25
- export { LoaderBlock, LoaderBlock_default as default };
24
+ export { LoaderBlock };
@@ -7,7 +7,6 @@ import { Skeleton } from "@lssm/lib.ui-kit-web/ui/skeleton";
7
7
  function SkeletonBlock({ w = "w-full", h = "h-4", rounded = "md", className }) {
8
8
  return /* @__PURE__ */ jsx(Skeleton, { className: cn(w, h, rounded === "full" ? "rounded-full" : rounded === "lg" ? "rounded-lg" : rounded === "sm" ? "rounded-xs" : "rounded-md", className) });
9
9
  }
10
- var index_web_default = SkeletonBlock;
11
10
 
12
11
  //#endregion
13
- export { SkeletonBlock, index_web_default as default };
12
+ export { SkeletonBlock };
@@ -17,7 +17,6 @@ function SkeletonCircle({ size = 32, sizeClass, className }) {
17
17
  }
18
18
  });
19
19
  }
20
- var index_web_default = SkeletonCircle;
21
20
 
22
21
  //#endregion
23
- export { SkeletonCircle, index_web_default as default };
22
+ export { SkeletonCircle };
@@ -1,15 +1,14 @@
1
1
  import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { SkeletonList as SkeletonList$1 } from "@lssm/lib.ui-kit-web/ui/molecules/SkeletonList";
3
+ import { SkeletonList } from "@lssm/lib.ui-kit-web/ui/molecules/SkeletonList";
4
4
 
5
5
  //#region src/components/molecules/SkeletonList/index.web.tsx
6
- function SkeletonList({ count = 10, className }) {
7
- return /* @__PURE__ */ jsx(SkeletonList$1, {
6
+ function SkeletonList$1({ count = 10, className }) {
7
+ return /* @__PURE__ */ jsx(SkeletonList, {
8
8
  count,
9
9
  className
10
10
  });
11
11
  }
12
- var index_web_default = SkeletonList;
13
12
 
14
13
  //#endregion
15
- export { SkeletonList, index_web_default as default };
14
+ export { SkeletonList$1 as SkeletonList };
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
6
6
  import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "@lssm/lib.ui-kit-web/ui/breadcrumb";
@@ -22,7 +22,7 @@ function AcademyLayout({ header, toc, breadcrumb, children, rightPanel, footer,
22
22
  className: "min-w-0",
23
23
  children: [breadcrumb && breadcrumb.items?.length ? /* @__PURE__ */ jsx("div", {
24
24
  className: "mb-4",
25
- children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
25
+ children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
26
26
  href: it.href,
27
27
  children: it.label
28
28
  }) : /* @__PURE__ */ jsx(BreadcrumbPage, { children: it.label }) }), idx < breadcrumb.items.length - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})] }, idx)) }) })
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import { AppSidebar } from "./AppSidebar.js";
4
- import * as React$1 from "react";
4
+ import * as React from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
7
7
  import { Separator } from "@lssm/lib.ui-kit-web/ui/separator";
@@ -28,7 +28,7 @@ function AppLayout({ header, sidebar, breadcrumb, children, footer, className })
28
28
  className: "min-w-0",
29
29
  children: [breadcrumb && breadcrumb.items?.length ? /* @__PURE__ */ jsx("div", {
30
30
  className: "mb-2",
31
- children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
31
+ children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
32
32
  href: it.href,
33
33
  children: it.label
34
34
  }) : /* @__PURE__ */ jsx(BreadcrumbPage, { children: it.label }) }), idx < breadcrumb.items.length - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})] }, idx)) }) })