@contractspec/lib.design-system 1.46.2 → 1.47.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.
- package/dist/components/atoms/Cta.js.map +1 -1
- package/dist/components/atoms/ErrorState.d.ts +2 -2
- package/dist/components/atoms/LoaderCircular.d.ts +2 -2
- package/dist/components/atoms/NavBrand.d.ts +2 -2
- package/dist/components/data-view/DataViewDetail.d.ts +2 -2
- package/dist/components/data-view/DataViewList.d.ts +2 -2
- package/dist/components/data-view/DataViewRenderer.js.map +1 -1
- package/dist/components/data-view/DataViewTable.d.ts +2 -2
- package/dist/components/data-view/utils.js.map +1 -1
- package/dist/components/forms/ActionForm.d.ts +2 -2
- package/dist/components/forms/FormCardLayout.d.ts +2 -2
- package/dist/components/forms/FormDialog.d.ts +2 -2
- package/dist/components/forms/FormLayout.d.ts +4 -4
- package/dist/components/forms/FormOneByOneLayout.d.ts +2 -2
- package/dist/components/forms/FormStepsLayout.d.ts +2 -2
- package/dist/components/forms/ZodForm.d.ts +2 -2
- package/dist/components/legal/atoms/DefinitionList.d.ts +2 -2
- package/dist/components/legal/atoms/KeyValueList.d.ts +2 -2
- package/dist/components/legal/atoms/LegalCallout.d.ts +2 -2
- package/dist/components/legal/atoms/LegalHeading.d.ts +2 -2
- package/dist/components/legal/atoms/LegalList.d.ts +2 -2
- package/dist/components/legal/atoms/LegalSection.d.ts +2 -2
- package/dist/components/legal/atoms/LegalText.d.ts +2 -2
- package/dist/components/legal/molecules/Consent.d.ts +3 -3
- package/dist/components/legal/molecules/ContactFields.d.ts +2 -2
- package/dist/components/legal/molecules/LegalMeta.d.ts +2 -2
- package/dist/components/legal/molecules/LegalTOC.d.ts +2 -2
- package/dist/components/legal/organisms/ContactForm.d.ts +2 -2
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts +2 -2
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +2 -2
- package/dist/components/legal/templates/ContactTemplate.d.ts +2 -2
- package/dist/components/legal/templates/ContactTemplate.js +0 -1
- package/dist/components/legal/templates/ContactTemplate.js.map +1 -1
- package/dist/components/legal/templates/CookiesTemplate.d.ts +2 -2
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +2 -2
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +2 -2
- package/dist/components/legal/templates/TermsTemplate.d.ts +2 -2
- package/dist/components/marketing/MarketingCard.d.ts +2 -2
- package/dist/components/marketing/MarketingCard.js.map +1 -1
- package/dist/components/marketing/MarketingCardsSection.d.ts +2 -2
- package/dist/components/marketing/MarketingComparisonSection.d.ts +2 -2
- package/dist/components/marketing/MarketingIconCard.d.ts +2 -2
- package/dist/components/marketing/MarketingSection.d.ts +2 -2
- package/dist/components/marketing/MarketingStepCard.d.ts +2 -2
- package/dist/components/molecules/AiLinkButton.d.ts +2 -2
- package/dist/components/molecules/Breadcrumbs.d.ts +2 -2
- package/dist/components/molecules/CodeBlock/CodeBlock.d.ts +16 -0
- package/dist/components/molecules/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/components/molecules/CodeBlock/CodeBlock.js +54 -0
- package/dist/components/molecules/CodeBlock/CodeBlock.js.map +1 -0
- package/dist/components/molecules/CodeBlock/index.d.ts +2 -0
- package/dist/components/molecules/CodeBlock/types.d.ts +19 -0
- package/dist/components/molecules/CodeBlock/types.d.ts.map +1 -0
- package/dist/components/molecules/CommandPalette.d.ts +2 -2
- package/dist/components/molecules/CommandSearchTrigger.d.ts +2 -2
- package/dist/components/molecules/CommandTabs/CommandTabs.d.ts +13 -0
- package/dist/components/molecules/CommandTabs/CommandTabs.d.ts.map +1 -0
- package/dist/components/molecules/CommandTabs/CommandTabs.js +68 -0
- package/dist/components/molecules/CommandTabs/CommandTabs.js.map +1 -0
- package/dist/components/molecules/CommandTabs/index.d.ts +2 -0
- package/dist/components/molecules/CommandTabs/types.d.ts +19 -0
- package/dist/components/molecules/CommandTabs/types.d.ts.map +1 -0
- package/dist/components/molecules/CopyButton/CopyButton.d.ts +13 -0
- package/dist/components/molecules/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/components/molecules/CopyButton/CopyButton.js +42 -0
- package/dist/components/molecules/CopyButton/CopyButton.js.map +1 -0
- package/dist/components/molecules/CopyButton/index.d.ts +2 -0
- package/dist/components/molecules/CopyButton/types.d.ts +12 -0
- package/dist/components/molecules/CopyButton/types.d.ts.map +1 -0
- package/dist/components/molecules/EntityCard.d.ts +2 -2
- package/dist/components/molecules/EntityCard.js.map +1 -1
- package/dist/components/molecules/FiltersToolbar.d.ts +2 -2
- package/dist/components/molecules/FiltersToolbar.js +0 -1
- package/dist/components/molecules/FiltersToolbar.js.map +1 -1
- package/dist/components/molecules/HoverPreview.d.ts +2 -2
- package/dist/components/molecules/InstallCommand/InstallCommand.d.ts +27 -0
- package/dist/components/molecules/InstallCommand/InstallCommand.d.ts.map +1 -0
- package/dist/components/molecules/InstallCommand/InstallCommand.js +68 -0
- package/dist/components/molecules/InstallCommand/InstallCommand.js.map +1 -0
- package/dist/components/molecules/InstallCommand/index.d.ts +2 -0
- package/dist/components/molecules/InstallCommand/types.d.ts +17 -0
- package/dist/components/molecules/InstallCommand/types.d.ts.map +1 -0
- package/dist/components/molecules/LangSwitch.d.ts +2 -2
- package/dist/components/molecules/LoaderBlock.d.ts +2 -2
- package/dist/components/molecules/OverviewCard.d.ts +2 -2
- package/dist/components/molecules/SkeletonBlock/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonCircle/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonList/index.web.d.ts +2 -2
- package/dist/components/molecules/StatCard.d.ts +3 -3
- package/dist/components/molecules/StatusChip.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Doc.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Media.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Simple.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Stats.d.ts +2 -2
- package/dist/components/molecules/hover-previews/User.d.ts +2 -2
- package/dist/components/organisms/AcademyLayout.d.ts +2 -2
- package/dist/components/organisms/AppHeader.d.ts +2 -2
- package/dist/components/organisms/AppLayout.d.ts +2 -2
- package/dist/components/organisms/AppSidebar.d.ts +2 -2
- package/dist/components/organisms/EmptyDataList.d.ts +2 -2
- package/dist/components/organisms/EmptySearchResult.d.ts +2 -2
- package/dist/components/organisms/FAQSection.d.ts +2 -2
- package/dist/components/organisms/FeatureCarousel.d.ts +2 -2
- package/dist/components/organisms/FeaturesSection.d.ts +2 -2
- package/dist/components/organisms/Footer.d.ts +2 -2
- package/dist/components/organisms/Header.d.ts +4 -4
- package/dist/components/organisms/HeroResponsive.d.ts +2 -2
- package/dist/components/organisms/HeroSection.d.ts +2 -2
- package/dist/components/organisms/ListCardPage.d.ts +2 -2
- package/dist/components/organisms/ListGridPage.d.ts +2 -2
- package/dist/components/organisms/ListPageResponsive.d.ts +2 -2
- package/dist/components/organisms/ListTablePage.d.ts +2 -2
- package/dist/components/organisms/MarketingHeader.d.ts +2 -2
- package/dist/components/organisms/MarketingHeader.js +1 -1
- package/dist/components/organisms/MarketingHeader.js.map +1 -1
- package/dist/components/organisms/MarketingHeaderDesktop.d.ts +2 -2
- package/dist/components/organisms/MarketingHeaderMobile.d.ts +2 -2
- package/dist/components/organisms/MarketingLayout.d.ts +2 -2
- package/dist/components/organisms/PageHeaderResponsive.d.ts +2 -2
- package/dist/components/organisms/PricingCarousel.d.ts +2 -2
- package/dist/components/organisms/PricingSection.d.ts +2 -2
- package/dist/components/organisms/TestimonialCarousel.d.ts +2 -2
- package/dist/components/providers/PackageManagerProvider.d.ts +26 -0
- package/dist/components/providers/PackageManagerProvider.d.ts.map +1 -0
- package/dist/components/providers/PackageManagerProvider.js +50 -0
- package/dist/components/providers/PackageManagerProvider.js.map +1 -0
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.web.js +0 -1
- package/dist/components/templates/lists/ListPageTemplate/index.web.js.map +1 -1
- package/dist/hooks/useListUrlState.js.map +1 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/dist/lib/keyboard.js.map +1 -1
- package/dist/platform/useResponsive.js.map +1 -1
- package/dist/platform/withPlatformUI.js.map +1 -1
- package/dist/renderers/form-contract.d.ts +2 -2
- package/dist/theme/tokens.js.map +1 -1
- package/package.json +16 -13
- package/dist/components/molecules/SkeletonBlock/index.js +0 -1
- package/dist/components/molecules/SkeletonCircle/index.js +0 -1
- package/dist/components/molecules/SkeletonList/index.js +0 -1
- package/dist/components/templates/lists/ListPageTemplate/index.js +0 -2
- package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
- package/dist/renderers/index.js +0 -1
- package/dist/types/navigation.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/FiltersToolbar.d.ts
|
|
5
5
|
interface ActiveFilterChip {
|
|
@@ -30,7 +30,7 @@ declare function FiltersToolbar({
|
|
|
30
30
|
debounceMs,
|
|
31
31
|
activeChips,
|
|
32
32
|
onClearAll
|
|
33
|
-
}: FiltersToolbarProps):
|
|
33
|
+
}: FiltersToolbarProps): react_jsx_runtime69.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { FiltersToolbar };
|
|
36
36
|
//# sourceMappingURL=FiltersToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiltersToolbar.js","names":[],"sources":["../../../src/components/molecules/FiltersToolbar.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@contractspec/lib.ui-kit-web/ui/utils';\nimport { Button, Input } from '../../index';\nimport { Badge } from '@contractspec/lib.ui-kit-web/ui/badge';\n\nexport interface ActiveFilterChip {\n key: string;\n label: React.ReactNode;\n onRemove?: () => void;\n}\n\nexport interface FiltersToolbarProps {\n className?: string;\n children?: React.ReactNode;\n right?: React.ReactNode;\n searchPlaceholder?: string;\n searchValue?: string;\n onSearchChange?: (value: string) => void;\n onSearchSubmit?: () => void;\n debounceMs?: number;\n activeChips?: ActiveFilterChip[];\n onClearAll?: () => void;\n}\n\nexport function FiltersToolbar({\n className,\n children,\n right,\n searchPlaceholder,\n searchValue,\n onSearchChange,\n onSearchSubmit,\n debounceMs = 250,\n activeChips = [],\n onClearAll,\n}: FiltersToolbarProps) {\n const [q, setQ] = React.useState<string>(searchValue ?? '');\n\n React.useEffect(() => {\n setQ(searchValue ?? '');\n }, [searchValue]);\n\n React.useEffect(() => {\n if (!onSearchChange) return;\n const id = setTimeout(() => onSearchChange(q), debounceMs);\n return () => clearTimeout(id);\n }, [q, debounceMs, onSearchChange]);\n\n return (\n <div className={cn('space-y-2', className)}>\n <div className=\"flex flex-col items-stretch gap-2 md:flex-row md:items-center md:justify-between\">\n <div className=\"flex flex-1 items-center gap-2\">\n {onSearchChange ? (\n <div className=\"flex flex-1 items-center gap-2\">\n <Input\n value={q}\n onChange={(e) => setQ(e.target.value)}\n onKeyDown={(e) => {\n if (e.key === 'Enter') onSearchSubmit?.();\n }}\n placeholder={searchPlaceholder}\n keyboard={{ kind: 'search' }}\n />\n <Button\n variant=\"outline\"\n onPress={() => onSearchSubmit?.()}\n className=\"shrink-0\"\n >\n Rechercher\n </Button>\n </div>\n ) : null}\n {children}\n </div>\n {right}\n </div>\n\n {(activeChips.length > 0 || onClearAll) && (\n <div className=\"flex flex-wrap items-center gap-2\">\n {activeChips.map((c) => (\n <Badge\n key={c.key}\n variant=\"secondary\"\n className=\"inline-flex items-center gap-2\"\n >\n <span>{c.label}</span>\n {c.onRemove && (\n <button\n type=\"button\"\n aria-label=\"Supprimer le filtre\"\n onClick={c.onRemove}\n className=\"hover:bg-muted rounded-xs px-1 text-base\"\n >\n ×\n </button>\n )}\n </Badge>\n ))}\n {onClearAll && (\n <Button size=\"sm\" variant=\"ghost\" onPress={onClearAll}>\n Effacer les filtres\n </Button>\n )}\n </div>\n )}\n </div>\n );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiltersToolbar.js","names":[],"sources":["../../../src/components/molecules/FiltersToolbar.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@contractspec/lib.ui-kit-web/ui/utils';\nimport { Button, Input } from '../../index';\nimport { Badge } from '@contractspec/lib.ui-kit-web/ui/badge';\n\nexport interface ActiveFilterChip {\n key: string;\n label: React.ReactNode;\n onRemove?: () => void;\n}\n\nexport interface FiltersToolbarProps {\n className?: string;\n children?: React.ReactNode;\n right?: React.ReactNode;\n searchPlaceholder?: string;\n searchValue?: string;\n onSearchChange?: (value: string) => void;\n onSearchSubmit?: () => void;\n debounceMs?: number;\n activeChips?: ActiveFilterChip[];\n onClearAll?: () => void;\n}\n\nexport function FiltersToolbar({\n className,\n children,\n right,\n searchPlaceholder,\n searchValue,\n onSearchChange,\n onSearchSubmit,\n debounceMs = 250,\n activeChips = [],\n onClearAll,\n}: FiltersToolbarProps) {\n const [q, setQ] = React.useState<string>(searchValue ?? '');\n\n React.useEffect(() => {\n setQ(searchValue ?? '');\n }, [searchValue]);\n\n React.useEffect(() => {\n if (!onSearchChange) return;\n const id = setTimeout(() => onSearchChange(q), debounceMs);\n return () => clearTimeout(id);\n }, [q, debounceMs, onSearchChange]);\n\n return (\n <div className={cn('space-y-2', className)}>\n <div className=\"flex flex-col items-stretch gap-2 md:flex-row md:items-center md:justify-between\">\n <div className=\"flex flex-1 items-center gap-2\">\n {onSearchChange ? (\n <div className=\"flex flex-1 items-center gap-2\">\n <Input\n value={q}\n onChange={(e) => setQ(e.target.value)}\n onKeyDown={(e) => {\n if (e.key === 'Enter') onSearchSubmit?.();\n }}\n placeholder={searchPlaceholder}\n keyboard={{ kind: 'search' }}\n />\n <Button\n variant=\"outline\"\n onPress={() => onSearchSubmit?.()}\n className=\"shrink-0\"\n >\n Rechercher\n </Button>\n </div>\n ) : null}\n {children}\n </div>\n {right}\n </div>\n\n {(activeChips.length > 0 || onClearAll) && (\n <div className=\"flex flex-wrap items-center gap-2\">\n {activeChips.map((c) => (\n <Badge\n key={c.key}\n variant=\"secondary\"\n className=\"inline-flex items-center gap-2\"\n >\n <span>{c.label}</span>\n {c.onRemove && (\n <button\n type=\"button\"\n aria-label=\"Supprimer le filtre\"\n onClick={c.onRemove}\n className=\"hover:bg-muted rounded-xs px-1 text-base\"\n >\n ×\n </button>\n )}\n </Badge>\n ))}\n {onClearAll && (\n <Button size=\"sm\" variant=\"ghost\" onPress={onClearAll}>\n Effacer les filtres\n </Button>\n )}\n </div>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAwBA,SAAgB,eAAe,EAC7B,WACA,UACA,OACA,mBACA,aACA,gBACA,gBACA,aAAa,KACb,cAAc,EAAE,EAChB,cACsB;CACtB,MAAM,CAAC,GAAG,QAAQ,MAAM,SAAiB,eAAe,GAAG;AAE3D,OAAM,gBAAgB;AACpB,OAAK,eAAe,GAAG;IACtB,CAAC,YAAY,CAAC;AAEjB,OAAM,gBAAgB;AACpB,MAAI,CAAC,eAAgB;EACrB,MAAM,KAAK,iBAAiB,eAAe,EAAE,EAAE,WAAW;AAC1D,eAAa,aAAa,GAAG;IAC5B;EAAC;EAAG;EAAY;EAAe,CAAC;AAEnC,QACE,qBAAC;EAAI,WAAW,GAAG,aAAa,UAAU;aACxC,qBAAC;GAAI,WAAU;cACb,qBAAC;IAAI,WAAU;eACZ,iBACC,qBAAC;KAAI,WAAU;gBACb,oBAAC;MACC,OAAO;MACP,WAAW,MAAM,KAAK,EAAE,OAAO,MAAM;MACrC,YAAY,MAAM;AAChB,WAAI,EAAE,QAAQ,QAAS,mBAAkB;;MAE3C,aAAa;MACb,UAAU,EAAE,MAAM,UAAU;OAC5B,EACF,oBAAC;MACC,SAAQ;MACR,eAAe,kBAAkB;MACjC,WAAU;gBACX;OAEQ;MACL,GACJ,MACH;KACG,EACL;IACG,GAEJ,YAAY,SAAS,KAAK,eAC1B,qBAAC;GAAI,WAAU;cACZ,YAAY,KAAK,MAChB,qBAAC;IAEC,SAAQ;IACR,WAAU;eAEV,oBAAC,oBAAM,EAAE,QAAa,EACrB,EAAE,YACD,oBAAC;KACC,MAAK;KACL,cAAW;KACX,SAAS,EAAE;KACX,WAAU;eACX;MAEQ;MAbN,EAAE,IAeD,CACR,EACD,cACC,oBAAC;IAAO,MAAK;IAAK,SAAQ;IAAQ,SAAS;cAAY;KAE9C;IAEP;GAEJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/HoverPreview.d.ts
|
|
5
5
|
interface HoverPreviewProps {
|
|
@@ -15,7 +15,7 @@ declare function HoverPreview({
|
|
|
15
15
|
align,
|
|
16
16
|
sideOffset,
|
|
17
17
|
className
|
|
18
|
-
}: HoverPreviewProps):
|
|
18
|
+
}: HoverPreviewProps): react_jsx_runtime51.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { HoverPreview };
|
|
21
21
|
//# sourceMappingURL=HoverPreview.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InstallCommandProps } from "./types.js";
|
|
2
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/molecules/InstallCommand/InstallCommand.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Convenience component for displaying package installation commands.
|
|
8
|
+
* Automatically generates the correct command for each package manager.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <InstallCommand package="@contractspec/lib.contracts" />
|
|
13
|
+
* <InstallCommand package={["react", "react-dom"]} />
|
|
14
|
+
* <InstallCommand package="typescript" dev />
|
|
15
|
+
* <InstallCommand package="create-next-app" type="exec" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
declare function InstallCommand({
|
|
19
|
+
package: packageName,
|
|
20
|
+
type,
|
|
21
|
+
dev,
|
|
22
|
+
global,
|
|
23
|
+
...props
|
|
24
|
+
}: InstallCommandProps): react_jsx_runtime118.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { InstallCommand };
|
|
27
|
+
//# sourceMappingURL=InstallCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstallCommand.d.ts","names":[],"sources":["../../../../src/components/molecules/InstallCommand/InstallCommand.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAwFA;;;;;;;;;iBAAgB,cAAA;WACL;;;;;GAKR,sBAAmB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { CommandTabs } from "../CommandTabs/CommandTabs.js";
|
|
4
|
+
import { useMemo } from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/molecules/InstallCommand/InstallCommand.tsx
|
|
8
|
+
function buildCommand(pm, packageNames, type, dev, global) {
|
|
9
|
+
const packages = packageNames.join(" ");
|
|
10
|
+
if (type === "exec") switch (pm) {
|
|
11
|
+
case "bun": return `bunx ${packages}`;
|
|
12
|
+
case "npm": return `npx ${packages}`;
|
|
13
|
+
case "yarn": return `yarn dlx ${packages}`;
|
|
14
|
+
case "pnpm": return `pnpm dlx ${packages}`;
|
|
15
|
+
}
|
|
16
|
+
if (type === "create") switch (pm) {
|
|
17
|
+
case "bun": return `bun create ${packages}`;
|
|
18
|
+
case "npm": return `npm create ${packages}`;
|
|
19
|
+
case "yarn": return `yarn create ${packages}`;
|
|
20
|
+
case "pnpm": return `pnpm create ${packages}`;
|
|
21
|
+
}
|
|
22
|
+
if (type === "run") switch (pm) {
|
|
23
|
+
case "bun": return `bun run ${packages}`;
|
|
24
|
+
case "npm": return `npm run ${packages}`;
|
|
25
|
+
case "yarn": return `yarn ${packages}`;
|
|
26
|
+
case "pnpm": return `pnpm ${packages}`;
|
|
27
|
+
}
|
|
28
|
+
const flags = [dev ? pm === "npm" ? "--save-dev" : "-D" : "", global ? "-g" : ""].filter(Boolean).join(" ");
|
|
29
|
+
switch (pm) {
|
|
30
|
+
case "bun": return `bun add ${packages}${flags ? ` ${flags}` : ""}`;
|
|
31
|
+
case "npm": return `npm install ${packages}${flags ? ` ${flags}` : ""}`;
|
|
32
|
+
case "yarn": return `yarn add ${packages}${flags ? ` ${flags}` : ""}`;
|
|
33
|
+
case "pnpm": return `pnpm add ${packages}${flags ? ` ${flags}` : ""}`;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Convenience component for displaying package installation commands.
|
|
38
|
+
* Automatically generates the correct command for each package manager.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <InstallCommand package="@contractspec/lib.contracts" />
|
|
43
|
+
* <InstallCommand package={["react", "react-dom"]} />
|
|
44
|
+
* <InstallCommand package="typescript" dev />
|
|
45
|
+
* <InstallCommand package="create-next-app" type="exec" />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function InstallCommand({ package: packageName, type = "add", dev = false, global = false, ...props }) {
|
|
49
|
+
const packageNames = useMemo(() => Array.isArray(packageName) ? packageName : [packageName], [packageName]);
|
|
50
|
+
return /* @__PURE__ */ jsx(CommandTabs, {
|
|
51
|
+
commands: useMemo(() => ({
|
|
52
|
+
bun: buildCommand("bun", packageNames, type, dev, global),
|
|
53
|
+
npm: buildCommand("npm", packageNames, type, dev, global),
|
|
54
|
+
yarn: buildCommand("yarn", packageNames, type, dev, global),
|
|
55
|
+
pnpm: buildCommand("pnpm", packageNames, type, dev, global)
|
|
56
|
+
}), [
|
|
57
|
+
packageNames,
|
|
58
|
+
type,
|
|
59
|
+
dev,
|
|
60
|
+
global
|
|
61
|
+
]),
|
|
62
|
+
...props
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
export { InstallCommand };
|
|
68
|
+
//# sourceMappingURL=InstallCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstallCommand.js","names":[],"sources":["../../../../src/components/molecules/InstallCommand/InstallCommand.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\nimport { CommandTabs } from '../CommandTabs';\nimport type { PackageManager } from '../CommandTabs/types';\nimport type { InstallCommandProps, InstallCommandType } from './types';\n\nfunction buildCommand(\n pm: PackageManager,\n packageNames: string[],\n type: InstallCommandType,\n dev: boolean,\n global: boolean\n): string {\n const packages = packageNames.join(' ');\n\n // Handle exec/run commands (npx, bunx, etc.)\n if (type === 'exec') {\n switch (pm) {\n case 'bun':\n return `bunx ${packages}`;\n case 'npm':\n return `npx ${packages}`;\n case 'yarn':\n return `yarn dlx ${packages}`;\n case 'pnpm':\n return `pnpm dlx ${packages}`;\n }\n }\n\n // Handle create commands\n if (type === 'create') {\n switch (pm) {\n case 'bun':\n return `bun create ${packages}`;\n case 'npm':\n return `npm create ${packages}`;\n case 'yarn':\n return `yarn create ${packages}`;\n case 'pnpm':\n return `pnpm create ${packages}`;\n }\n }\n\n // Handle run commands\n if (type === 'run') {\n switch (pm) {\n case 'bun':\n return `bun run ${packages}`;\n case 'npm':\n return `npm run ${packages}`;\n case 'yarn':\n return `yarn ${packages}`;\n case 'pnpm':\n return `pnpm ${packages}`;\n }\n }\n\n // Build flags\n const devFlag = dev ? (pm === 'npm' ? '--save-dev' : '-D') : '';\n const globalFlag = global ? '-g' : '';\n const flags = [devFlag, globalFlag].filter(Boolean).join(' ');\n\n // Handle add/install commands\n switch (pm) {\n case 'bun':\n return `bun add ${packages}${flags ? ` ${flags}` : ''}`;\n case 'npm':\n return `npm install ${packages}${flags ? ` ${flags}` : ''}`;\n case 'yarn':\n return `yarn add ${packages}${flags ? ` ${flags}` : ''}`;\n case 'pnpm':\n return `pnpm add ${packages}${flags ? ` ${flags}` : ''}`;\n }\n}\n\n/**\n * Convenience component for displaying package installation commands.\n * Automatically generates the correct command for each package manager.\n *\n * @example\n * ```tsx\n * <InstallCommand package=\"@contractspec/lib.contracts\" />\n * <InstallCommand package={[\"react\", \"react-dom\"]} />\n * <InstallCommand package=\"typescript\" dev />\n * <InstallCommand package=\"create-next-app\" type=\"exec\" />\n * ```\n */\nexport function InstallCommand({\n package: packageName,\n type = 'add',\n dev = false,\n global = false,\n ...props\n}: InstallCommandProps) {\n const packageNames = useMemo(\n () => (Array.isArray(packageName) ? packageName : [packageName]),\n [packageName]\n );\n\n const commands = useMemo(\n () => ({\n bun: buildCommand('bun', packageNames, type, dev, global),\n npm: buildCommand('npm', packageNames, type, dev, global),\n yarn: buildCommand('yarn', packageNames, type, dev, global),\n pnpm: buildCommand('pnpm', packageNames, type, dev, global),\n }),\n [packageNames, type, dev, global]\n );\n\n return <CommandTabs commands={commands} {...props} />;\n}\n"],"mappings":";;;;;;;AAOA,SAAS,aACP,IACA,cACA,MACA,KACA,QACQ;CACR,MAAM,WAAW,aAAa,KAAK,IAAI;AAGvC,KAAI,SAAS,OACX,SAAQ,IAAR;EACE,KAAK,MACH,QAAO,QAAQ;EACjB,KAAK,MACH,QAAO,OAAO;EAChB,KAAK,OACH,QAAO,YAAY;EACrB,KAAK,OACH,QAAO,YAAY;;AAKzB,KAAI,SAAS,SACX,SAAQ,IAAR;EACE,KAAK,MACH,QAAO,cAAc;EACvB,KAAK,MACH,QAAO,cAAc;EACvB,KAAK,OACH,QAAO,eAAe;EACxB,KAAK,OACH,QAAO,eAAe;;AAK5B,KAAI,SAAS,MACX,SAAQ,IAAR;EACE,KAAK,MACH,QAAO,WAAW;EACpB,KAAK,MACH,QAAO,WAAW;EACpB,KAAK,OACH,QAAO,QAAQ;EACjB,KAAK,OACH,QAAO,QAAQ;;CAOrB,MAAM,QAAQ,CAFE,MAAO,OAAO,QAAQ,eAAe,OAAQ,IAC1C,SAAS,OAAO,GACA,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI;AAG7D,SAAQ,IAAR;EACE,KAAK,MACH,QAAO,WAAW,WAAW,QAAQ,IAAI,UAAU;EACrD,KAAK,MACH,QAAO,eAAe,WAAW,QAAQ,IAAI,UAAU;EACzD,KAAK,OACH,QAAO,YAAY,WAAW,QAAQ,IAAI,UAAU;EACtD,KAAK,OACH,QAAO,YAAY,WAAW,QAAQ,IAAI,UAAU;;;;;;;;;;;;;;;AAgB1D,SAAgB,eAAe,EAC7B,SAAS,aACT,OAAO,OACP,MAAM,OACN,SAAS,OACT,GAAG,SACmB;CACtB,MAAM,eAAe,cACZ,MAAM,QAAQ,YAAY,GAAG,cAAc,CAAC,YAAY,EAC/D,CAAC,YAAY,CACd;AAYD,QAAO,oBAAC;EAAY,UAVH,eACR;GACL,KAAK,aAAa,OAAO,cAAc,MAAM,KAAK,OAAO;GACzD,KAAK,aAAa,OAAO,cAAc,MAAM,KAAK,OAAO;GACzD,MAAM,aAAa,QAAQ,cAAc,MAAM,KAAK,OAAO;GAC3D,MAAM,aAAa,QAAQ,cAAc,MAAM,KAAK,OAAO;GAC5D,GACD;GAAC;GAAc;GAAM;GAAK;GAAO,CAClC;EAEuC,GAAI;GAAS"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/molecules/InstallCommand/types.d.ts
|
|
4
|
+
type InstallCommandType = 'add' | 'install' | 'create' | 'run' | 'exec';
|
|
5
|
+
interface InstallCommandProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
6
|
+
/** The package name(s) to install */
|
|
7
|
+
package: string | string[];
|
|
8
|
+
/** The type of command (defaults to 'add' for package installation) */
|
|
9
|
+
type?: InstallCommandType;
|
|
10
|
+
/** Whether this is a dev dependency (adds -D flag) */
|
|
11
|
+
dev?: boolean;
|
|
12
|
+
/** Whether this is a global installation (adds -g flag) */
|
|
13
|
+
global?: boolean;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { InstallCommandProps, InstallCommandType };
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/components/molecules/InstallCommand/types.ts"],"sourcesContent":[],"mappings":";;;KAEY,kBAAA;UAEK,mBAAA,SAA4B,KAC3C,eAAe;EAHL;EAEK,OAAA,EAAA,MAAA,GAAA,MAAoB,EAAA;EACpB;EAAf,IAAA,CAAA,EAMO,kBANP;EAMO;EAPoC,GAAA,CAAA,EAAA,OAAA;EAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/LangSwitch.d.ts
|
|
5
5
|
interface LangOption {
|
|
@@ -17,7 +17,7 @@ declare function LangSwitch({
|
|
|
17
17
|
options,
|
|
18
18
|
onChange,
|
|
19
19
|
size
|
|
20
|
-
}: LangSwitchProps):
|
|
20
|
+
}: LangSwitchProps): react_jsx_runtime42.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { LangSwitch, LangSwitchProps };
|
|
23
23
|
//# sourceMappingURL=LangSwitch.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/LoaderBlock.d.ts
|
|
5
5
|
interface LoaderBlockProps {
|
|
@@ -13,7 +13,7 @@ declare function LoaderBlock({
|
|
|
13
13
|
description,
|
|
14
14
|
className,
|
|
15
15
|
size
|
|
16
|
-
}: LoaderBlockProps):
|
|
16
|
+
}: LoaderBlockProps): react_jsx_runtime74.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { LoaderBlock };
|
|
19
19
|
//# sourceMappingURL=LoaderBlock.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/OverviewCard.d.ts
|
|
5
5
|
interface OverviewCardProps {
|
|
@@ -15,7 +15,7 @@ declare function OverviewCard({
|
|
|
15
15
|
href,
|
|
16
16
|
preview,
|
|
17
17
|
ctaLabel
|
|
18
|
-
}: OverviewCardProps):
|
|
18
|
+
}: OverviewCardProps): react_jsx_runtime50.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { OverviewCard };
|
|
21
21
|
//# sourceMappingURL=OverviewCard.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SkeletonBlockProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/SkeletonBlock/index.web.d.ts
|
|
5
5
|
declare function SkeletonBlock({
|
|
@@ -7,7 +7,7 @@ declare function SkeletonBlock({
|
|
|
7
7
|
h,
|
|
8
8
|
rounded,
|
|
9
9
|
className
|
|
10
|
-
}: SkeletonBlockProps):
|
|
10
|
+
}: SkeletonBlockProps): react_jsx_runtime112.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SkeletonBlock };
|
|
13
13
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SkeletonCircleProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/SkeletonCircle/index.web.d.ts
|
|
5
5
|
declare function SkeletonCircle({
|
|
6
6
|
size,
|
|
7
7
|
sizeClass,
|
|
8
8
|
className
|
|
9
|
-
}: SkeletonCircleProps):
|
|
9
|
+
}: SkeletonCircleProps): react_jsx_runtime113.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SkeletonCircle };
|
|
12
12
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SkeletonListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime114 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/SkeletonList/index.web.d.ts
|
|
5
5
|
declare function SkeletonList({
|
|
6
6
|
count,
|
|
7
7
|
className
|
|
8
|
-
}: SkeletonListProps):
|
|
8
|
+
}: SkeletonListProps): react_jsx_runtime114.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SkeletonList };
|
|
11
11
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime48 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { Card } from "@contractspec/lib.ui-kit-web/ui/card";
|
|
5
5
|
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
@@ -24,14 +24,14 @@ declare function StatCard({
|
|
|
24
24
|
density,
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: StatCardProps):
|
|
27
|
+
}: StatCardProps): react_jsx_runtime48.JSX.Element;
|
|
28
28
|
declare function StatCardGroup({
|
|
29
29
|
children,
|
|
30
30
|
className
|
|
31
31
|
}: {
|
|
32
32
|
children: React.ReactNode;
|
|
33
33
|
className?: string;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime48.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { StatCard, StatCardGroup };
|
|
37
37
|
//# sourceMappingURL=StatCard.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
5
5
|
|
|
@@ -21,7 +21,7 @@ declare function StatusChip({
|
|
|
21
21
|
className,
|
|
22
22
|
hoverContent,
|
|
23
23
|
...props
|
|
24
|
-
}: StatusChipProps):
|
|
24
|
+
}: StatusChipProps): react_jsx_runtime46.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { StatusChip };
|
|
27
27
|
//# sourceMappingURL=StatusChip.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Doc.d.ts
|
|
5
5
|
interface HoverPreviewDocProps {
|
|
@@ -22,7 +22,7 @@ declare function HoverPreviewDoc({
|
|
|
22
22
|
status,
|
|
23
23
|
amount,
|
|
24
24
|
className
|
|
25
|
-
}: HoverPreviewDocProps):
|
|
25
|
+
}: HoverPreviewDocProps): react_jsx_runtime54.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { HoverPreviewDoc };
|
|
28
28
|
//# sourceMappingURL=Doc.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Media.d.ts
|
|
5
5
|
interface HoverPreviewMediaProps {
|
|
@@ -15,7 +15,7 @@ declare function HoverPreviewMedia({
|
|
|
15
15
|
media,
|
|
16
16
|
caption,
|
|
17
17
|
className
|
|
18
|
-
}: HoverPreviewMediaProps):
|
|
18
|
+
}: HoverPreviewMediaProps): react_jsx_runtime53.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { HoverPreviewMedia };
|
|
21
21
|
//# sourceMappingURL=Media.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Simple.d.ts
|
|
5
5
|
interface HoverPreviewLine {
|
|
@@ -20,7 +20,7 @@ declare function HoverPreviewSimple({
|
|
|
20
20
|
lines,
|
|
21
21
|
footer,
|
|
22
22
|
className
|
|
23
|
-
}: HoverPreviewSimpleProps):
|
|
23
|
+
}: HoverPreviewSimpleProps): react_jsx_runtime52.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { HoverPreviewSimple };
|
|
26
26
|
//# sourceMappingURL=Simple.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Stats.d.ts
|
|
5
5
|
interface HoverPreviewStat {
|
|
@@ -17,7 +17,7 @@ declare function HoverPreviewStats({
|
|
|
17
17
|
stats: HoverPreviewStat[];
|
|
18
18
|
footer?: React.ReactNode;
|
|
19
19
|
className?: string;
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime56.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { HoverPreviewStats };
|
|
23
23
|
//# sourceMappingURL=Stats.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/User.d.ts
|
|
5
5
|
interface HoverPreviewUserProps {
|
|
@@ -20,7 +20,7 @@ declare function HoverPreviewUser({
|
|
|
20
20
|
meta,
|
|
21
21
|
actions,
|
|
22
22
|
className
|
|
23
|
-
}: HoverPreviewUserProps):
|
|
23
|
+
}: HoverPreviewUserProps): react_jsx_runtime55.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { HoverPreviewUser };
|
|
26
26
|
//# sourceMappingURL=User.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/AcademyLayout.d.ts
|
|
5
5
|
interface AcademyLayoutProps {
|
|
@@ -24,7 +24,7 @@ declare function AcademyLayout({
|
|
|
24
24
|
rightPanel,
|
|
25
25
|
footer,
|
|
26
26
|
className
|
|
27
|
-
}: AcademyLayoutProps):
|
|
27
|
+
}: AcademyLayoutProps): react_jsx_runtime39.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { AcademyLayout };
|
|
30
30
|
//# sourceMappingURL=AcademyLayout.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HeaderProps } from "./Header.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/organisms/AppHeader.d.ts
|
|
6
6
|
interface AppHeaderProps extends HeaderProps {
|
|
@@ -13,7 +13,7 @@ declare function AppHeader({
|
|
|
13
13
|
toolbarRight,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: AppHeaderProps):
|
|
16
|
+
}: AppHeaderProps): react_jsx_runtime40.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { AppHeader };
|
|
19
19
|
//# sourceMappingURL=AppHeader.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppSidebar } from "./AppSidebar.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/organisms/AppLayout.d.ts
|
|
6
6
|
interface AppLayoutProps {
|
|
@@ -23,7 +23,7 @@ declare function AppLayout({
|
|
|
23
23
|
children,
|
|
24
24
|
footer,
|
|
25
25
|
className
|
|
26
|
-
}: AppLayoutProps):
|
|
26
|
+
}: AppLayoutProps): react_jsx_runtime38.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { AppLayout };
|
|
29
29
|
//# sourceMappingURL=AppLayout.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NavSection } from "../../types/navigation.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/organisms/AppSidebar.d.ts
|
|
6
6
|
interface AppSidebarProps {
|
|
@@ -18,7 +18,7 @@ declare function AppSidebar({
|
|
|
18
18
|
searchPlaceholder,
|
|
19
19
|
className,
|
|
20
20
|
density
|
|
21
|
-
}: AppSidebarProps):
|
|
21
|
+
}: AppSidebarProps): react_jsx_runtime22.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AppSidebar };
|
|
24
24
|
//# sourceMappingURL=AppSidebar.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyDataListProps } from "./EmptyDataList.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/EmptyDataList.d.ts
|
|
5
5
|
declare function EmptyDataList({
|
|
@@ -15,7 +15,7 @@ declare function EmptyDataList({
|
|
|
15
15
|
onLearnMore,
|
|
16
16
|
handleLearnMore,
|
|
17
17
|
className
|
|
18
|
-
}: EmptyDataListProps):
|
|
18
|
+
}: EmptyDataListProps): react_jsx_runtime71.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { EmptyDataList };
|
|
21
21
|
//# sourceMappingURL=EmptyDataList.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/EmptySearchResult.d.ts
|
|
5
5
|
interface EmptySearchResultProps {
|
|
@@ -19,7 +19,7 @@ declare function EmptySearchResult({
|
|
|
19
19
|
onSearchChange,
|
|
20
20
|
handleSearchChange,
|
|
21
21
|
className
|
|
22
|
-
}: EmptySearchResultProps):
|
|
22
|
+
}: EmptySearchResultProps): react_jsx_runtime72.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { EmptySearchResult };
|
|
25
25
|
//# sourceMappingURL=EmptySearchResult.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/FAQSection.d.ts
|
|
5
5
|
interface FAQItem {
|
|
@@ -26,7 +26,7 @@ declare function FAQSection({
|
|
|
26
26
|
collapsible?: boolean;
|
|
27
27
|
defaultOpenIndex?: number;
|
|
28
28
|
accordionClassName?: string;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime64.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { FAQSection };
|
|
32
32
|
//# sourceMappingURL=FAQSection.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/FeatureCarousel.d.ts
|
|
5
5
|
interface FeatureSlide {
|
|
@@ -13,7 +13,7 @@ declare function FeatureCarousel({
|
|
|
13
13
|
}: {
|
|
14
14
|
slides: FeatureSlide[];
|
|
15
15
|
className?: string;
|
|
16
|
-
}):
|
|
16
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { FeatureCarousel };
|
|
19
19
|
//# sourceMappingURL=FeatureCarousel.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/FeaturesSection.d.ts
|
|
5
5
|
declare function FeaturesSection({
|
|
@@ -14,7 +14,7 @@ declare function FeaturesSection({
|
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
className?: string;
|
|
16
16
|
density?: 'compact' | 'comfortable';
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime61.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { FeaturesSection };
|
|
20
20
|
//# sourceMappingURL=FeaturesSection.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/Footer.d.ts
|
|
5
5
|
interface FooterProps {
|
|
@@ -20,7 +20,7 @@ declare function Footer({
|
|
|
20
20
|
links,
|
|
21
21
|
className,
|
|
22
22
|
variant
|
|
23
|
-
}: FooterProps):
|
|
23
|
+
}: FooterProps): react_jsx_runtime26.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Footer };
|
|
26
26
|
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CtaAction, HeaderNavItem, NavSection } from "../../types/navigation.js";
|
|
2
2
|
import { NavUser } from "../molecules/NavUser.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/organisms/Header.d.ts
|
|
7
7
|
interface HeaderProps {
|
|
@@ -24,15 +24,15 @@ declare function DesktopHeader({
|
|
|
24
24
|
cta,
|
|
25
25
|
className,
|
|
26
26
|
density
|
|
27
|
-
}: HeaderProps):
|
|
27
|
+
}: HeaderProps): react_jsx_runtime23.JSX.Element;
|
|
28
28
|
declare function MobileHeader({
|
|
29
29
|
logo,
|
|
30
30
|
userMenu,
|
|
31
31
|
mobileSidebar,
|
|
32
32
|
className,
|
|
33
33
|
density
|
|
34
|
-
}: HeaderProps):
|
|
35
|
-
declare function Header(props: HeaderProps):
|
|
34
|
+
}: HeaderProps): react_jsx_runtime23.JSX.Element;
|
|
35
|
+
declare function Header(props: HeaderProps): react_jsx_runtime23.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { DesktopHeader, Header, HeaderProps, MobileHeader };
|
|
38
38
|
//# sourceMappingURL=Header.d.ts.map
|