@contractspec/lib.design-system 1.46.2 → 1.48.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 (163) hide show
  1. package/dist/components/agent/AgentMonitor.d.ts +2 -2
  2. package/dist/components/agent/ApprovalQueue.d.ts +2 -2
  3. package/dist/components/atoms/ActionButtons.d.ts +7 -7
  4. package/dist/components/atoms/ButtonLink.d.ts +2 -2
  5. package/dist/components/atoms/Cta.d.ts +1 -1
  6. package/dist/components/atoms/Cta.js.map +1 -1
  7. package/dist/components/atoms/DataChips.d.ts +5 -5
  8. package/dist/components/atoms/EmptyState.d.ts +2 -2
  9. package/dist/components/atoms/ErrorState.d.ts +2 -2
  10. package/dist/components/atoms/Input.d.ts +2 -2
  11. package/dist/components/atoms/Link.d.ts +2 -2
  12. package/dist/components/atoms/LoaderCircular.d.ts +2 -2
  13. package/dist/components/atoms/NavBrand.d.ts +2 -2
  14. package/dist/components/atoms/Stepper.d.ts +2 -2
  15. package/dist/components/atoms/Textarea.d.ts +2 -2
  16. package/dist/components/data-view/DataViewDetail.d.ts +2 -2
  17. package/dist/components/data-view/DataViewList.d.ts +2 -2
  18. package/dist/components/data-view/DataViewRenderer.d.ts +2 -2
  19. package/dist/components/data-view/DataViewRenderer.d.ts.map +1 -1
  20. package/dist/components/data-view/DataViewRenderer.js.map +1 -1
  21. package/dist/components/data-view/DataViewTable.d.ts +2 -2
  22. package/dist/components/data-view/utils.js.map +1 -1
  23. package/dist/components/forms/ActionForm.d.ts +2 -2
  24. package/dist/components/forms/FormCardLayout.d.ts +2 -2
  25. package/dist/components/forms/FormDialog.d.ts +2 -2
  26. package/dist/components/forms/FormLayout.d.ts +4 -4
  27. package/dist/components/forms/FormOneByOneLayout.d.ts +2 -2
  28. package/dist/components/forms/FormStepsLayout.d.ts +2 -2
  29. package/dist/components/forms/ZodForm.d.ts +2 -2
  30. package/dist/components/legal/atoms/DefinitionList.d.ts +2 -2
  31. package/dist/components/legal/atoms/KeyValueList.d.ts +2 -2
  32. package/dist/components/legal/atoms/LegalCallout.d.ts +2 -2
  33. package/dist/components/legal/atoms/LegalHeading.d.ts +2 -2
  34. package/dist/components/legal/atoms/LegalList.d.ts +2 -2
  35. package/dist/components/legal/atoms/LegalSection.d.ts +2 -2
  36. package/dist/components/legal/atoms/LegalText.d.ts +2 -2
  37. package/dist/components/legal/molecules/Consent.d.ts +3 -3
  38. package/dist/components/legal/molecules/ContactFields.d.ts +2 -2
  39. package/dist/components/legal/molecules/LegalMeta.d.ts +2 -2
  40. package/dist/components/legal/molecules/LegalTOC.d.ts +2 -2
  41. package/dist/components/legal/organisms/ContactForm.d.ts +2 -2
  42. package/dist/components/legal/organisms/GDPRDataRequest.d.ts +2 -2
  43. package/dist/components/legal/organisms/GDPRRights.d.ts +2 -2
  44. package/dist/components/legal/organisms/LegalPageLayout.d.ts +2 -2
  45. package/dist/components/legal/templates/ContactTemplate.d.ts +2 -2
  46. package/dist/components/legal/templates/ContactTemplate.js +0 -1
  47. package/dist/components/legal/templates/ContactTemplate.js.map +1 -1
  48. package/dist/components/legal/templates/CookiesTemplate.d.ts +2 -2
  49. package/dist/components/legal/templates/PrivacyTemplate.d.ts +2 -2
  50. package/dist/components/legal/templates/SalesTermsTemplate.d.ts +2 -2
  51. package/dist/components/legal/templates/TermsTemplate.d.ts +2 -2
  52. package/dist/components/marketing/MarketingCard.d.ts +2 -2
  53. package/dist/components/marketing/MarketingCard.js.map +1 -1
  54. package/dist/components/marketing/MarketingCardsSection.d.ts +2 -2
  55. package/dist/components/marketing/MarketingComparisonSection.d.ts +2 -2
  56. package/dist/components/marketing/MarketingIconCard.d.ts +2 -2
  57. package/dist/components/marketing/MarketingSection.d.ts +2 -2
  58. package/dist/components/marketing/MarketingStepCard.d.ts +2 -2
  59. package/dist/components/molecules/AiLinkButton.d.ts +2 -2
  60. package/dist/components/molecules/Breadcrumbs.d.ts +2 -2
  61. package/dist/components/molecules/CodeBlock/CodeBlock.d.ts +16 -0
  62. package/dist/components/molecules/CodeBlock/CodeBlock.d.ts.map +1 -0
  63. package/dist/components/molecules/CodeBlock/CodeBlock.js +54 -0
  64. package/dist/components/molecules/CodeBlock/CodeBlock.js.map +1 -0
  65. package/dist/components/molecules/CodeBlock/index.d.ts +2 -0
  66. package/dist/components/molecules/CodeBlock/types.d.ts +19 -0
  67. package/dist/components/molecules/CodeBlock/types.d.ts.map +1 -0
  68. package/dist/components/molecules/CommandPalette.d.ts +2 -2
  69. package/dist/components/molecules/CommandSearchTrigger.d.ts +2 -2
  70. package/dist/components/molecules/CommandTabs/CommandTabs.d.ts +13 -0
  71. package/dist/components/molecules/CommandTabs/CommandTabs.d.ts.map +1 -0
  72. package/dist/components/molecules/CommandTabs/CommandTabs.js +68 -0
  73. package/dist/components/molecules/CommandTabs/CommandTabs.js.map +1 -0
  74. package/dist/components/molecules/CommandTabs/index.d.ts +2 -0
  75. package/dist/components/molecules/CommandTabs/types.d.ts +19 -0
  76. package/dist/components/molecules/CommandTabs/types.d.ts.map +1 -0
  77. package/dist/components/molecules/CopyButton/CopyButton.d.ts +13 -0
  78. package/dist/components/molecules/CopyButton/CopyButton.d.ts.map +1 -0
  79. package/dist/components/molecules/CopyButton/CopyButton.js +42 -0
  80. package/dist/components/molecules/CopyButton/CopyButton.js.map +1 -0
  81. package/dist/components/molecules/CopyButton/index.d.ts +2 -0
  82. package/dist/components/molecules/CopyButton/types.d.ts +12 -0
  83. package/dist/components/molecules/CopyButton/types.d.ts.map +1 -0
  84. package/dist/components/molecules/EntityCard.d.ts +3 -3
  85. package/dist/components/molecules/EntityCard.js.map +1 -1
  86. package/dist/components/molecules/FiltersToolbar.d.ts +2 -2
  87. package/dist/components/molecules/FiltersToolbar.js +0 -1
  88. package/dist/components/molecules/FiltersToolbar.js.map +1 -1
  89. package/dist/components/molecules/HoverPreview.d.ts +2 -2
  90. package/dist/components/molecules/InstallCommand/InstallCommand.d.ts +27 -0
  91. package/dist/components/molecules/InstallCommand/InstallCommand.d.ts.map +1 -0
  92. package/dist/components/molecules/InstallCommand/InstallCommand.js +68 -0
  93. package/dist/components/molecules/InstallCommand/InstallCommand.js.map +1 -0
  94. package/dist/components/molecules/InstallCommand/index.d.ts +2 -0
  95. package/dist/components/molecules/InstallCommand/types.d.ts +17 -0
  96. package/dist/components/molecules/InstallCommand/types.d.ts.map +1 -0
  97. package/dist/components/molecules/LangSwitch.d.ts +2 -2
  98. package/dist/components/molecules/LoaderBlock.d.ts +2 -2
  99. package/dist/components/molecules/NavMain.d.ts +2 -2
  100. package/dist/components/molecules/NavUser.d.ts +2 -2
  101. package/dist/components/molecules/OverviewCard.d.ts +2 -2
  102. package/dist/components/molecules/SkeletonBlock/index.web.d.ts +2 -2
  103. package/dist/components/molecules/SkeletonCircle/index.web.d.ts +2 -2
  104. package/dist/components/molecules/SkeletonList/index.web.d.ts +2 -2
  105. package/dist/components/molecules/StatCard.d.ts +4 -4
  106. package/dist/components/molecules/StatusChip.d.ts +2 -2
  107. package/dist/components/molecules/hover-previews/Doc.d.ts +2 -2
  108. package/dist/components/molecules/hover-previews/Media.d.ts +2 -2
  109. package/dist/components/molecules/hover-previews/Simple.d.ts +2 -2
  110. package/dist/components/molecules/hover-previews/Stats.d.ts +2 -2
  111. package/dist/components/molecules/hover-previews/User.d.ts +2 -2
  112. package/dist/components/organisms/AcademyLayout.d.ts +2 -2
  113. package/dist/components/organisms/AppHeader.d.ts +2 -2
  114. package/dist/components/organisms/AppLayout.d.ts +2 -2
  115. package/dist/components/organisms/AppSidebar.d.ts +2 -2
  116. package/dist/components/organisms/EmptyDataList.d.ts +2 -2
  117. package/dist/components/organisms/EmptySearchResult.d.ts +2 -2
  118. package/dist/components/organisms/FAQSection.d.ts +2 -2
  119. package/dist/components/organisms/FeatureCarousel.d.ts +2 -2
  120. package/dist/components/organisms/FeaturesSection.d.ts +2 -2
  121. package/dist/components/organisms/Footer.d.ts +2 -2
  122. package/dist/components/organisms/Header.d.ts +4 -4
  123. package/dist/components/organisms/HeroResponsive.d.ts +2 -2
  124. package/dist/components/organisms/HeroSection.d.ts +2 -2
  125. package/dist/components/organisms/ListCardPage.d.ts +2 -2
  126. package/dist/components/organisms/ListGridPage.d.ts +2 -2
  127. package/dist/components/organisms/ListPageResponsive.d.ts +2 -2
  128. package/dist/components/organisms/ListTablePage.d.ts +2 -2
  129. package/dist/components/organisms/MarketingHeader.d.ts +2 -2
  130. package/dist/components/organisms/MarketingHeader.js +1 -1
  131. package/dist/components/organisms/MarketingHeader.js.map +1 -1
  132. package/dist/components/organisms/MarketingHeaderDesktop.d.ts +2 -2
  133. package/dist/components/organisms/MarketingHeaderMobile.d.ts +2 -2
  134. package/dist/components/organisms/MarketingLayout.d.ts +2 -2
  135. package/dist/components/organisms/PageHeaderResponsive.d.ts +2 -2
  136. package/dist/components/organisms/PricingCarousel.d.ts +2 -2
  137. package/dist/components/organisms/PricingSection.d.ts +2 -2
  138. package/dist/components/organisms/TestimonialCarousel.d.ts +2 -2
  139. package/dist/components/providers/PackageManagerProvider.d.ts +26 -0
  140. package/dist/components/providers/PackageManagerProvider.d.ts.map +1 -0
  141. package/dist/components/providers/PackageManagerProvider.js +50 -0
  142. package/dist/components/providers/PackageManagerProvider.js.map +1 -0
  143. package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +2 -2
  144. package/dist/components/templates/lists/ListPageTemplate/index.web.js +0 -1
  145. package/dist/components/templates/lists/ListPageTemplate/index.web.js.map +1 -1
  146. package/dist/hooks/useListUrlState.js.map +1 -1
  147. package/dist/index.d.ts +14 -1
  148. package/dist/index.js +6 -7
  149. package/dist/index.js.map +1 -1
  150. package/dist/lib/keyboard.js.map +1 -1
  151. package/dist/platform/useResponsive.js.map +1 -1
  152. package/dist/platform/withPlatformUI.js.map +1 -1
  153. package/dist/renderers/form-contract.d.ts +2 -2
  154. package/dist/theme/tokens.js.map +1 -1
  155. package/dist/theme/variants.d.ts +1 -1
  156. package/package.json +16 -13
  157. package/dist/components/molecules/SkeletonBlock/index.js +0 -1
  158. package/dist/components/molecules/SkeletonCircle/index.js +0 -1
  159. package/dist/components/molecules/SkeletonList/index.js +0 -1
  160. package/dist/components/templates/lists/ListPageTemplate/index.js +0 -2
  161. package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
  162. package/dist/renderers/index.js +0 -1
  163. package/dist/types/navigation.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime80 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime81 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types18 from "class-variance-authority/types";
5
5
 
@@ -15,7 +15,7 @@ declare function LegalList({
15
15
  className,
16
16
  children,
17
17
  ...props
18
- }: LegalListProps): react_jsx_runtime80.JSX.Element;
18
+ }: LegalListProps): react_jsx_runtime81.JSX.Element;
19
19
  //#endregion
20
20
  export { LegalList };
21
21
  //# sourceMappingURL=LegalList.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime77 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime78 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types17 from "class-variance-authority/types";
5
5
 
@@ -16,7 +16,7 @@ declare function LegalSection({
16
16
  tone,
17
17
  className,
18
18
  ...props
19
- }: LegalSectionProps): react_jsx_runtime77.JSX.Element;
19
+ }: LegalSectionProps): react_jsx_runtime78.JSX.Element;
20
20
  //#endregion
21
21
  export { LegalSection };
22
22
  //# sourceMappingURL=LegalSection.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime76 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime77 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types16 from "class-variance-authority/types";
5
5
 
@@ -19,7 +19,7 @@ declare function LegalText({
19
19
  spacing,
20
20
  className,
21
21
  ...props
22
- }: LegalTextProps): react_jsx_runtime76.JSX.Element;
22
+ }: LegalTextProps): react_jsx_runtime77.JSX.Element;
23
23
  //#endregion
24
24
  export { LegalText };
25
25
  //# sourceMappingURL=LegalText.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime84 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime85 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/molecules/Consent.d.ts
5
5
  declare function ConsentItem({
@@ -16,7 +16,7 @@ declare function ConsentItem({
16
16
  checked: boolean;
17
17
  onChange: (checked: boolean) => void;
18
18
  className?: string;
19
- }): react_jsx_runtime84.JSX.Element;
19
+ }): react_jsx_runtime85.JSX.Element;
20
20
  declare function ConsentList({
21
21
  items,
22
22
  onChange,
@@ -30,7 +30,7 @@ declare function ConsentList({
30
30
  }[];
31
31
  onChange: (id: string, checked: boolean) => void;
32
32
  className?: string;
33
- }): react_jsx_runtime84.JSX.Element;
33
+ }): react_jsx_runtime85.JSX.Element;
34
34
  //#endregion
35
35
  export { ConsentItem, ConsentList };
36
36
  //# sourceMappingURL=Consent.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime86 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime87 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/legal/molecules/ContactFields.d.ts
4
4
  declare function ContactFields({
@@ -19,7 +19,7 @@ declare function ContactFields({
19
19
  message: string;
20
20
  }) => void;
21
21
  disabled?: boolean;
22
- }): react_jsx_runtime86.JSX.Element;
22
+ }): react_jsx_runtime87.JSX.Element;
23
23
  //#endregion
24
24
  export { ContactFields };
25
25
  //# sourceMappingURL=ContactFields.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime83 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime84 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/legal/molecules/LegalMeta.d.ts
4
4
  declare function LegalMeta({
@@ -9,7 +9,7 @@ declare function LegalMeta({
9
9
  lastUpdated?: string | Date;
10
10
  version?: string;
11
11
  className?: string;
12
- }): react_jsx_runtime83.JSX.Element;
12
+ }): react_jsx_runtime84.JSX.Element;
13
13
  //#endregion
14
14
  export { LegalMeta };
15
15
  //# sourceMappingURL=LegalMeta.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime82 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime83 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types20 from "class-variance-authority/types";
5
5
 
@@ -25,7 +25,7 @@ declare function LegalTOC({
25
25
  size,
26
26
  className,
27
27
  ...props
28
- }: LegalTOCProps): react_jsx_runtime82.JSX.Element;
28
+ }: LegalTOCProps): react_jsx_runtime83.JSX.Element;
29
29
  //#endregion
30
30
  export { LegalTOC, TocItem };
31
31
  //# sourceMappingURL=LegalTOC.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime89 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime90 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/organisms/ContactForm.d.ts
5
5
  declare function ContactForm({
@@ -24,7 +24,7 @@ declare function ContactForm({
24
24
  subject: string;
25
25
  message: string;
26
26
  }) => Promise<void> | void;
27
- }): react_jsx_runtime89.JSX.Element;
27
+ }): react_jsx_runtime90.JSX.Element;
28
28
  //#endregion
29
29
  export { ContactForm };
30
30
  //# sourceMappingURL=ContactForm.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime90 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime91 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/organisms/GDPRDataRequest.d.ts
5
5
  declare function GDPRDataRequest({
@@ -13,7 +13,7 @@ declare function GDPRDataRequest({
13
13
  export: React.ReactNode;
14
14
  delete: React.ReactNode;
15
15
  };
16
- }): react_jsx_runtime90.JSX.Element;
16
+ }): react_jsx_runtime91.JSX.Element;
17
17
  //#endregion
18
18
  export { GDPRDataRequest };
19
19
  //# sourceMappingURL=GDPRDataRequest.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime88 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime89 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/organisms/GDPRRights.d.ts
5
5
  declare function GDPRRights({
@@ -8,7 +8,7 @@ declare function GDPRRights({
8
8
  }: {
9
9
  title?: React.ReactNode;
10
10
  rights?: React.ReactNode[];
11
- }): react_jsx_runtime88.JSX.Element;
11
+ }): react_jsx_runtime89.JSX.Element;
12
12
  //#endregion
13
13
  export { GDPRRights };
14
14
  //# sourceMappingURL=GDPRRights.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { TocItem } from "../molecules/LegalTOC.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime87 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime88 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/legal/organisms/LegalPageLayout.d.ts
6
6
  declare function LegalPageLayout({
@@ -18,7 +18,7 @@ declare function LegalPageLayout({
18
18
  toc?: TocItem[];
19
19
  children: React.ReactNode;
20
20
  className?: string;
21
- }): react_jsx_runtime87.JSX.Element;
21
+ }): react_jsx_runtime88.JSX.Element;
22
22
  //#endregion
23
23
  export { LegalPageLayout };
24
24
  //# sourceMappingURL=LegalPageLayout.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime95 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime96 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/templates/ContactTemplate.d.ts
5
5
  declare function ContactTemplate({
@@ -18,7 +18,7 @@ declare function ContactTemplate({
18
18
  subject: string;
19
19
  message: string;
20
20
  }) => Promise<void> | void;
21
- }): react_jsx_runtime95.JSX.Element;
21
+ }): react_jsx_runtime96.JSX.Element;
22
22
  //#endregion
23
23
  export { ContactTemplate };
24
24
  //# sourceMappingURL=ContactTemplate.d.ts.map
@@ -1,7 +1,6 @@
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 "../../../index.js";
5
4
  import * as React from "react";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
7
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"ContactTemplate.js","names":[],"sources":["../../../../src/components/legal/templates/ContactTemplate.tsx"],"sourcesContent":["import * as React from 'react';\nimport { LegalPageLayout } from '../organisms/LegalPageLayout';\nimport { ContactFields } from '../molecules/ContactFields';\nimport { Button } from '../../../index';\n\nexport function ContactTemplate({\n title = 'Contact',\n meta,\n onSubmit,\n}: {\n title?: React.ReactNode;\n meta?: { lastUpdated?: string | Date; version?: string };\n onSubmit?: (data: {\n name: string;\n email: string;\n subject: string;\n message: string;\n }) => Promise<void> | void;\n}) {\n const [value, setValue] = React.useState({\n name: '',\n email: '',\n subject: '',\n message: '',\n });\n const [loading, setLoading] = React.useState(false);\n\n const handleSubmit = async (e: React.FormEvent) => {\n e.preventDefault();\n if (!onSubmit) return;\n setLoading(true);\n try {\n await onSubmit(value);\n } finally {\n setLoading(false);\n }\n };\n\n return (\n <LegalPageLayout title={title} meta={meta}>\n <form onSubmit={handleSubmit} className=\"space-y-6\">\n <ContactFields value={value} onChange={setValue} disabled={loading} />\n <Button disabled={loading} type=\"submit\">\n {loading ? 'Envoi…' : 'Envoyer'}\n </Button>\n </form>\n </LegalPageLayout>\n );\n}\n"],"mappings":";;;;;;;;AAKA,SAAgB,gBAAgB,EAC9B,QAAQ,WACR,MACA,YAUC;CACD,MAAM,CAAC,OAAO,YAAY,MAAM,SAAS;EACvC,MAAM;EACN,OAAO;EACP,SAAS;EACT,SAAS;EACV,CAAC;CACF,MAAM,CAAC,SAAS,cAAc,MAAM,SAAS,MAAM;CAEnD,MAAM,eAAe,OAAO,MAAuB;AACjD,IAAE,gBAAgB;AAClB,MAAI,CAAC,SAAU;AACf,aAAW,KAAK;AAChB,MAAI;AACF,SAAM,SAAS,MAAM;YACb;AACR,cAAW,MAAM;;;AAIrB,QACE,oBAAC;EAAuB;EAAa;YACnC,qBAAC;GAAK,UAAU;GAAc,WAAU;cACtC,oBAAC;IAAqB;IAAO,UAAU;IAAU,UAAU;KAAW,EACtE,oBAAC;IAAO,UAAU;IAAS,MAAK;cAC7B,UAAU,WAAW;KACf;IACJ;GACS"}
1
+ {"version":3,"file":"ContactTemplate.js","names":[],"sources":["../../../../src/components/legal/templates/ContactTemplate.tsx"],"sourcesContent":["import * as React from 'react';\nimport { LegalPageLayout } from '../organisms/LegalPageLayout';\nimport { ContactFields } from '../molecules/ContactFields';\nimport { Button } from '../../../index';\n\nexport function ContactTemplate({\n title = 'Contact',\n meta,\n onSubmit,\n}: {\n title?: React.ReactNode;\n meta?: { lastUpdated?: string | Date; version?: string };\n onSubmit?: (data: {\n name: string;\n email: string;\n subject: string;\n message: string;\n }) => Promise<void> | void;\n}) {\n const [value, setValue] = React.useState({\n name: '',\n email: '',\n subject: '',\n message: '',\n });\n const [loading, setLoading] = React.useState(false);\n\n const handleSubmit = async (e: React.FormEvent) => {\n e.preventDefault();\n if (!onSubmit) return;\n setLoading(true);\n try {\n await onSubmit(value);\n } finally {\n setLoading(false);\n }\n };\n\n return (\n <LegalPageLayout title={title} meta={meta}>\n <form onSubmit={handleSubmit} className=\"space-y-6\">\n <ContactFields value={value} onChange={setValue} disabled={loading} />\n <Button disabled={loading} type=\"submit\">\n {loading ? 'Envoi…' : 'Envoyer'}\n </Button>\n </form>\n </LegalPageLayout>\n );\n}\n"],"mappings":";;;;;;;AAKA,SAAgB,gBAAgB,EAC9B,QAAQ,WACR,MACA,YAUC;CACD,MAAM,CAAC,OAAO,YAAY,MAAM,SAAS;EACvC,MAAM;EACN,OAAO;EACP,SAAS;EACT,SAAS;EACV,CAAC;CACF,MAAM,CAAC,SAAS,cAAc,MAAM,SAAS,MAAM;CAEnD,MAAM,eAAe,OAAO,MAAuB;AACjD,IAAE,gBAAgB;AAClB,MAAI,CAAC,SAAU;AACf,aAAW,KAAK;AAChB,MAAI;AACF,SAAM,SAAS,MAAM;YACb;AACR,cAAW,MAAM;;;AAIrB,QACE,oBAAC;EAAuB;EAAa;YACnC,qBAAC;GAAK,UAAU;GAAc,WAAU;cACtC,oBAAC;IAAqB;IAAO,UAAU;IAAU,UAAU;KAAW,EACtE,oBAAC;IAAO,UAAU;IAAS,MAAK;cAC7B,UAAU,WAAW;KACf;IACJ;GACS"}
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime94 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime95 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/templates/CookiesTemplate.d.ts
5
5
  declare function CookiesTemplate({
@@ -27,7 +27,7 @@ declare function CookiesTemplate({
27
27
  title: React.ReactNode;
28
28
  content: React.ReactNode;
29
29
  }[];
30
- }): react_jsx_runtime94.JSX.Element;
30
+ }): react_jsx_runtime95.JSX.Element;
31
31
  //#endregion
32
32
  export { CookiesTemplate };
33
33
  //# sourceMappingURL=CookiesTemplate.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime93 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime94 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/templates/PrivacyTemplate.d.ts
5
5
  declare function PrivacyTemplate({
@@ -27,7 +27,7 @@ declare function PrivacyTemplate({
27
27
  term: React.ReactNode;
28
28
  description: React.ReactNode;
29
29
  }[];
30
- }): react_jsx_runtime93.JSX.Element;
30
+ }): react_jsx_runtime94.JSX.Element;
31
31
  //#endregion
32
32
  export { PrivacyTemplate };
33
33
  //# sourceMappingURL=PrivacyTemplate.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime92 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/templates/SalesTermsTemplate.d.ts
5
5
  declare function SalesTermsTemplate({
@@ -22,7 +22,7 @@ declare function SalesTermsTemplate({
22
22
  title: React.ReactNode;
23
23
  content: React.ReactNode;
24
24
  }[];
25
- }): react_jsx_runtime92.JSX.Element;
25
+ }): react_jsx_runtime93.JSX.Element;
26
26
  //#endregion
27
27
  export { SalesTermsTemplate };
28
28
  //# sourceMappingURL=SalesTermsTemplate.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime91 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime92 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/legal/templates/TermsTemplate.d.ts
5
5
  declare function TermsTemplate({
@@ -22,7 +22,7 @@ declare function TermsTemplate({
22
22
  title: React.ReactNode;
23
23
  content: React.ReactNode;
24
24
  }[];
25
- }): react_jsx_runtime91.JSX.Element;
25
+ }): react_jsx_runtime92.JSX.Element;
26
26
  //#endregion
27
27
  export { TermsTemplate };
28
28
  //# sourceMappingURL=TermsTemplate.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime33 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime34 from "react/jsx-runtime";
3
3
  import { Card, CardContent as CardContent$1, CardDescription, CardHeader as CardHeader$1, CardTitle as CardTitle$1 } from "@contractspec/lib.ui-kit-web/ui/card";
4
4
 
5
5
  //#region src/components/marketing/MarketingCard.d.ts
@@ -11,7 +11,7 @@ declare function MarketingCard({
11
11
  tone,
12
12
  className,
13
13
  ...props
14
- }: MarketingCardProps): react_jsx_runtime33.JSX.Element;
14
+ }: MarketingCardProps): react_jsx_runtime34.JSX.Element;
15
15
  //#endregion
16
16
  export { CardContent$1 as CardContent, CardDescription, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle, MarketingCard, MarketingCardTone };
17
17
  //# sourceMappingURL=MarketingCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarketingCard.js","names":["toneClasses: Record<MarketingCardTone, string>"],"sources":["../../../src/components/marketing/MarketingCard.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@contractspec/lib.ui-kit-web/ui/card';\nimport { cn } from '@contractspec/lib.ui-kit-web/ui/utils';\n\nexport type MarketingCardTone = 'default' | 'muted' | 'elevated';\n\nconst toneClasses: Record<MarketingCardTone, string> = {\n default: 'border-border/60 bg-card/90',\n muted: 'border-border/50 bg-muted/50',\n elevated: 'border-border/50 bg-card shadow-lg shadow-black/5',\n};\n\ntype MarketingCardProps = React.ComponentProps<typeof Card> & {\n tone?: MarketingCardTone;\n};\n\nexport function MarketingCard({\n tone = 'default',\n className,\n ...props\n}: MarketingCardProps) {\n return (\n <Card\n className={cn(\n 'backdrop-blur transition-shadow',\n toneClasses[tone],\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n CardContent as MarketingCardContent,\n CardDescription as MarketingCardDescription,\n CardHeader as MarketingCardHeader,\n CardTitle as MarketingCardTitle,\n};\n"],"mappings":";;;;;;AAYA,MAAMA,cAAiD;CACrD,SAAS;CACT,OAAO;CACP,UAAU;CACX;AAMD,SAAgB,cAAc,EAC5B,OAAO,WACP,WACA,GAAG,SACkB;AACrB,QACE,oBAAC;EACC,WAAW,GACT,mCACA,YAAY,OACZ,UACD;EACD,GAAI;GACJ"}
1
+ {"version":3,"file":"MarketingCard.js","names":[],"sources":["../../../src/components/marketing/MarketingCard.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@contractspec/lib.ui-kit-web/ui/card';\nimport { cn } from '@contractspec/lib.ui-kit-web/ui/utils';\n\nexport type MarketingCardTone = 'default' | 'muted' | 'elevated';\n\nconst toneClasses: Record<MarketingCardTone, string> = {\n default: 'border-border/60 bg-card/90',\n muted: 'border-border/50 bg-muted/50',\n elevated: 'border-border/50 bg-card shadow-lg shadow-black/5',\n};\n\ntype MarketingCardProps = React.ComponentProps<typeof Card> & {\n tone?: MarketingCardTone;\n};\n\nexport function MarketingCard({\n tone = 'default',\n className,\n ...props\n}: MarketingCardProps) {\n return (\n <Card\n className={cn(\n 'backdrop-blur transition-shadow',\n toneClasses[tone],\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n CardContent as MarketingCardContent,\n CardDescription as MarketingCardDescription,\n CardHeader as MarketingCardHeader,\n CardTitle as MarketingCardTitle,\n};\n"],"mappings":";;;;;;AAYA,MAAM,cAAiD;CACrD,SAAS;CACT,OAAO;CACP,UAAU;CACX;AAMD,SAAgB,cAAc,EAC5B,OAAO,WACP,WACA,GAAG,SACkB;AACrB,QACE,oBAAC;EACC,WAAW,GACT,mCACA,YAAY,OACZ,UACD;EACD,GAAI;GACJ"}
@@ -1,6 +1,6 @@
1
1
  import { MarketingSection } from "./MarketingSection.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime32 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as class_variance_authority_types4 from "class-variance-authority/types";
6
6
 
@@ -16,7 +16,7 @@ declare function MarketingCardsSection({
16
16
  columns,
17
17
  gridClassName,
18
18
  ...sectionProps
19
- }: MarketingCardsSectionProps): react_jsx_runtime32.JSX.Element;
19
+ }: MarketingCardsSectionProps): react_jsx_runtime33.JSX.Element;
20
20
  //#endregion
21
21
  export { MarketingCardsSection };
22
22
  //# sourceMappingURL=MarketingCardsSection.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { MarketingSectionPadding, MarketingSectionTone } from "./MarketingSection.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime36 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime37 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/marketing/MarketingComparisonSection.d.ts
6
6
  interface ComparisonColumn {
@@ -24,7 +24,7 @@ declare function MarketingComparisonSection({
24
24
  right,
25
25
  tone,
26
26
  padding
27
- }: MarketingComparisonSectionProps): react_jsx_runtime36.JSX.Element;
27
+ }: MarketingComparisonSectionProps): react_jsx_runtime37.JSX.Element;
28
28
  //#endregion
29
29
  export { MarketingComparisonSection };
30
30
  //# sourceMappingURL=MarketingComparisonSection.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { MarketingCardTone } from "./MarketingCard.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime34 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as class_variance_authority_types5 from "class-variance-authority/types";
6
6
 
@@ -32,7 +32,7 @@ declare function MarketingIconCard({
32
32
  headerAction,
33
33
  variant,
34
34
  className
35
- }: MarketingIconCardProps): react_jsx_runtime34.JSX.Element;
35
+ }: MarketingIconCardProps): react_jsx_runtime35.JSX.Element;
36
36
  //#endregion
37
37
  export { MarketingIconCard };
38
38
  //# sourceMappingURL=MarketingIconCard.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime31 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types3 from "class-variance-authority/types";
5
5
 
@@ -28,7 +28,7 @@ declare function MarketingSection({
28
28
  tone,
29
29
  padding,
30
30
  className
31
- }: MarketingSectionProps): react_jsx_runtime31.JSX.Element;
31
+ }: MarketingSectionProps): react_jsx_runtime32.JSX.Element;
32
32
  //#endregion
33
33
  export { MarketingSection, MarketingSectionPadding, MarketingSectionTone };
34
34
  //# sourceMappingURL=MarketingSection.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { MarketingCardTone } from "./MarketingCard.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime35 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/marketing/MarketingStepCard.d.ts
6
6
  interface MarketingStepCardProps {
@@ -14,7 +14,7 @@ declare function MarketingStepCard({
14
14
  title,
15
15
  description,
16
16
  tone
17
- }: MarketingStepCardProps): react_jsx_runtime35.JSX.Element;
17
+ }: MarketingStepCardProps): react_jsx_runtime36.JSX.Element;
18
18
  //#endregion
19
19
  export { MarketingStepCard };
20
20
  //# sourceMappingURL=MarketingStepCard.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime69 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime70 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/molecules/AiLinkButton.d.ts
4
4
  type Provider = 'chatgpt' | 'claude';
@@ -10,7 +10,7 @@ interface AiLinkButtonProps {
10
10
  declare function AiLinkButton({
11
11
  href,
12
12
  className
13
- }: AiLinkButtonProps): react_jsx_runtime69.JSX.Element;
13
+ }: AiLinkButtonProps): react_jsx_runtime70.JSX.Element;
14
14
  //#endregion
15
15
  export { AiLinkButton };
16
16
  //# sourceMappingURL=AiLinkButton.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime43 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/molecules/Breadcrumbs.d.ts
5
5
  interface BreadcrumbItemDef {
@@ -10,7 +10,7 @@ declare function Breadcrumbs({
10
10
  items
11
11
  }: {
12
12
  items: BreadcrumbItemDef[];
13
- }): react_jsx_runtime43.JSX.Element | null;
13
+ }): react_jsx_runtime44.JSX.Element | null;
14
14
  //#endregion
15
15
  export { Breadcrumbs };
16
16
  //# sourceMappingURL=Breadcrumbs.d.ts.map
@@ -0,0 +1,16 @@
1
+ import { CodeBlockProps } from "./types.js";
2
+ import * as react_jsx_runtime111 from "react/jsx-runtime";
3
+
4
+ //#region src/components/molecules/CodeBlock/CodeBlock.d.ts
5
+ declare function CodeBlock({
6
+ code,
7
+ language,
8
+ filename,
9
+ showLineNumbers,
10
+ showCopyButton,
11
+ className,
12
+ ...props
13
+ }: CodeBlockProps): react_jsx_runtime111.JSX.Element;
14
+ //#endregion
15
+ export { CodeBlock };
16
+ //# sourceMappingURL=CodeBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeBlock.d.ts","names":[],"sources":["../../../../src/components/molecules/CodeBlock/CodeBlock.tsx"],"sourcesContent":[],"mappings":";;;;iBAOgB,SAAA;;;;;;;;GAQb,iBAAc,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,54 @@
1
+ 'use client';
2
+
3
+ import { cn } from "../../../lib/utils.js";
4
+ import { CopyButton } from "../CopyButton/CopyButton.js";
5
+ import { useEffect, useState } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+
8
+ //#region src/components/molecules/CodeBlock/CodeBlock.tsx
9
+ function CodeBlock({ code, language = "typescript", filename, showLineNumbers = false, showCopyButton = true, className, ...props }) {
10
+ const [highlightedHtml, setHighlightedHtml] = useState(null);
11
+ useEffect(() => {
12
+ let mounted = true;
13
+ async function highlight() {
14
+ try {
15
+ const { codeToHtml } = await import("shiki");
16
+ const html = await codeToHtml(code, {
17
+ lang: language === "text" ? "plaintext" : language,
18
+ theme: "vitesse-dark"
19
+ });
20
+ if (mounted) setHighlightedHtml(html);
21
+ } catch (err) {
22
+ console.error("Failed to highlight code:", err);
23
+ }
24
+ }
25
+ highlight();
26
+ return () => {
27
+ mounted = false;
28
+ };
29
+ }, [code, language]);
30
+ return /* @__PURE__ */ jsxs("div", {
31
+ className: cn("relative overflow-hidden rounded-lg border border-zinc-800 bg-zinc-950", className),
32
+ ...props,
33
+ children: [filename && /* @__PURE__ */ jsx("div", {
34
+ className: "flex items-center justify-between border-b border-zinc-800 bg-zinc-900/50 px-4 py-2 text-xs text-zinc-400",
35
+ children: /* @__PURE__ */ jsx("span", { children: filename })
36
+ }), /* @__PURE__ */ jsxs("div", {
37
+ className: "relative",
38
+ children: [showCopyButton && /* @__PURE__ */ jsx(CopyButton, {
39
+ value: code,
40
+ className: "absolute top-3 right-3"
41
+ }), highlightedHtml ? /* @__PURE__ */ jsx("div", {
42
+ className: cn("overflow-x-auto p-4 font-mono text-[13px] leading-6", "[&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:!p-0", "[&_code]:!bg-transparent", showLineNumbers && "line-numbers"),
43
+ dangerouslySetInnerHTML: { __html: highlightedHtml }
44
+ }) : /* @__PURE__ */ jsx("pre", {
45
+ className: cn("overflow-x-auto p-4 font-mono text-[13px] leading-6 text-zinc-300", showLineNumbers && "line-numbers"),
46
+ children: /* @__PURE__ */ jsx("code", { children: code })
47
+ })]
48
+ })]
49
+ });
50
+ }
51
+
52
+ //#endregion
53
+ export { CodeBlock };
54
+ //# sourceMappingURL=CodeBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeBlock.js","names":[],"sources":["../../../../src/components/molecules/CodeBlock/CodeBlock.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '../../../lib/utils';\nimport { useEffect, useState } from 'react';\nimport { CopyButton } from '../CopyButton';\nimport type { CodeBlockProps } from './types';\n\nexport function CodeBlock({\n code,\n language = 'typescript',\n filename,\n showLineNumbers = false,\n showCopyButton = true,\n className,\n ...props\n}: CodeBlockProps) {\n const [highlightedHtml, setHighlightedHtml] = useState<string | null>(null);\n\n useEffect(() => {\n let mounted = true;\n\n async function highlight() {\n try {\n const { codeToHtml } = await import('shiki');\n const html = await codeToHtml(code, {\n lang: language === 'text' ? 'plaintext' : language,\n // theme: 'github-dark-dimmed',\n theme: 'vitesse-dark',\n });\n if (mounted) {\n setHighlightedHtml(html);\n }\n } catch (err) {\n console.error('Failed to highlight code:', err);\n }\n }\n\n highlight();\n\n return () => {\n mounted = false;\n };\n }, [code, language]);\n\n return (\n <div\n className={cn(\n 'relative overflow-hidden rounded-lg border border-zinc-800 bg-zinc-950',\n className\n )}\n {...props}\n >\n {filename && (\n <div className=\"flex items-center justify-between border-b border-zinc-800 bg-zinc-900/50 px-4 py-2 text-xs text-zinc-400\">\n <span>{filename}</span>\n </div>\n )}\n <div className=\"relative\">\n {showCopyButton && (\n <CopyButton value={code} className=\"absolute top-3 right-3\" />\n )}\n {highlightedHtml ? (\n <div\n className={cn(\n 'overflow-x-auto p-4 font-mono text-[13px] leading-6',\n '[&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:!p-0',\n '[&_code]:!bg-transparent',\n showLineNumbers && 'line-numbers'\n )}\n dangerouslySetInnerHTML={{ __html: highlightedHtml }}\n />\n ) : (\n <pre\n className={cn(\n 'overflow-x-auto p-4 font-mono text-[13px] leading-6 text-zinc-300',\n showLineNumbers && 'line-numbers'\n )}\n >\n <code>{code}</code>\n </pre>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAOA,SAAgB,UAAU,EACxB,MACA,WAAW,cACX,UACA,kBAAkB,OAClB,iBAAiB,MACjB,WACA,GAAG,SACc;CACjB,MAAM,CAAC,iBAAiB,sBAAsB,SAAwB,KAAK;AAE3E,iBAAgB;EACd,IAAI,UAAU;EAEd,eAAe,YAAY;AACzB,OAAI;IACF,MAAM,EAAE,eAAe,MAAM,OAAO;IACpC,MAAM,OAAO,MAAM,WAAW,MAAM;KAClC,MAAM,aAAa,SAAS,cAAc;KAE1C,OAAO;KACR,CAAC;AACF,QAAI,QACF,oBAAmB,KAAK;YAEnB,KAAK;AACZ,YAAQ,MAAM,6BAA6B,IAAI;;;AAInD,aAAW;AAEX,eAAa;AACX,aAAU;;IAEX,CAAC,MAAM,SAAS,CAAC;AAEpB,QACE,qBAAC;EACC,WAAW,GACT,0EACA,UACD;EACD,GAAI;aAEH,YACC,oBAAC;GAAI,WAAU;aACb,oBAAC,oBAAM,WAAgB;IACnB,EAER,qBAAC;GAAI,WAAU;cACZ,kBACC,oBAAC;IAAW,OAAO;IAAM,WAAU;KAA2B,EAE/D,kBACC,oBAAC;IACC,WAAW,GACT,uDACA,qDACA,4BACA,mBAAmB,eACpB;IACD,yBAAyB,EAAE,QAAQ,iBAAiB;KACpD,GAEF,oBAAC;IACC,WAAW,GACT,qEACA,mBAAmB,eACpB;cAED,oBAAC,oBAAM,OAAY;KACf;IAEJ;GACF"}
@@ -0,0 +1,2 @@
1
+ import { CodeBlockProps, CodeLanguage } from "./types.js";
2
+ import { CodeBlock } from "./CodeBlock.js";
@@ -0,0 +1,19 @@
1
+ import { HTMLAttributes } from "react";
2
+
3
+ //#region src/components/molecules/CodeBlock/types.d.ts
4
+ type CodeLanguage = 'typescript' | 'tsx' | 'javascript' | 'jsx' | 'bash' | 'shell' | 'json' | 'yaml' | 'graphql' | 'sql' | 'python' | 'go' | 'rust' | 'css' | 'scss' | 'html' | 'markdown' | 'text';
5
+ interface CodeBlockProps extends HTMLAttributes<HTMLDivElement> {
6
+ /** The code to display */
7
+ code: string;
8
+ /** The language for syntax highlighting */
9
+ language?: CodeLanguage;
10
+ /** Optional filename to display in header */
11
+ filename?: string;
12
+ /** Whether to show line numbers */
13
+ showLineNumbers?: boolean;
14
+ /** Whether to show the copy button */
15
+ showCopyButton?: boolean;
16
+ }
17
+ //#endregion
18
+ export { CodeBlockProps, CodeLanguage };
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/components/molecules/CodeBlock/types.ts"],"sourcesContent":[],"mappings":";;;KAEY,YAAA;UAoBK,cAAA,SAAuB,eAAe;EApB3C;EAoBK,IAAA,EAAA,MAAA;EAAsC;EAI1C,QAAA,CAAA,EAAA,YAAA;EAJ2B;EAAc,QAAA,CAAA,EAAA,MAAA"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime40 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime41 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/molecules/CommandPalette.d.ts
4
4
  interface CommandPaletteProps {
@@ -21,7 +21,7 @@ declare function CommandPalette({
21
21
  onOpenChange,
22
22
  groups,
23
23
  placeholder
24
- }: CommandPaletteProps): react_jsx_runtime40.JSX.Element;
24
+ }: CommandPaletteProps): react_jsx_runtime41.JSX.Element;
25
25
  //#endregion
26
26
  export { CommandPalette };
27
27
  //# sourceMappingURL=CommandPalette.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { CommandPalette } from "./CommandPalette.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime44 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime45 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/molecules/CommandSearchTrigger.d.ts
6
6
  declare function CommandSearchTrigger({
@@ -13,7 +13,7 @@ declare function CommandSearchTrigger({
13
13
  className?: string;
14
14
  placeholder?: string;
15
15
  compact?: boolean;
16
- }): react_jsx_runtime44.JSX.Element;
16
+ }): react_jsx_runtime45.JSX.Element;
17
17
  //#endregion
18
18
  export { CommandSearchTrigger };
19
19
  //# sourceMappingURL=CommandSearchTrigger.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { CommandTabsProps } from "./types.js";
2
+ import * as react_jsx_runtime113 from "react/jsx-runtime";
3
+
4
+ //#region src/components/molecules/CommandTabs/CommandTabs.d.ts
5
+ declare function CommandTabs({
6
+ commands,
7
+ initialPreference,
8
+ className,
9
+ ...props
10
+ }: CommandTabsProps): react_jsx_runtime113.JSX.Element | null;
11
+ //#endregion
12
+ export { CommandTabs };
13
+ //# sourceMappingURL=CommandTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandTabs.d.ts","names":[],"sources":["../../../../src/components/molecules/CommandTabs/CommandTabs.tsx"],"sourcesContent":[],"mappings":";;;;iBAUgB,WAAA;;;;;GAKb,mBAAgB,oBAAA,CAAA,GAAA,CAAA,OAAA"}