@electroplix/components 0.4.1 → 0.5.0-alpha.11
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/CHANGELOG.md +154 -0
- package/LICENSE +21 -0
- package/README.md +88 -474
- package/SECURITY.md +19 -0
- package/cli.cjs +544 -485
- package/dist/config.d.ts +73 -0
- package/dist/config.esm.js +229 -0
- package/dist/index.esm.js +10195 -8528
- package/dist/package.json +100 -0
- package/dist/src/components/blog/index.d.ts +21 -21
- package/dist/src/components/blog/index.d.ts.map +1 -1
- package/dist/src/components/buttons/index.d.ts +41 -16
- package/dist/src/components/buttons/index.d.ts.map +1 -1
- package/dist/src/components/content/BlockquoteTestimonial.d.ts +3 -5
- package/dist/src/components/content/BlockquoteTestimonial.d.ts.map +1 -1
- package/dist/src/components/content/CalloutBox.d.ts +4 -6
- package/dist/src/components/content/CalloutBox.d.ts.map +1 -1
- package/dist/src/components/content/HeadingSection.d.ts +4 -6
- package/dist/src/components/content/HeadingSection.d.ts.map +1 -1
- package/dist/src/components/content/InlineCodeText.d.ts +5 -6
- package/dist/src/components/content/InlineCodeText.d.ts.map +1 -1
- package/dist/src/components/content/ParagraphBlock.d.ts +5 -7
- package/dist/src/components/content/ParagraphBlock.d.ts.map +1 -1
- package/dist/src/components/content/RichMarkdown.d.ts +5 -6
- package/dist/src/components/content/RichMarkdown.d.ts.map +1 -1
- package/dist/src/components/content/TeamGrid.d.ts +3 -2
- package/dist/src/components/content/TeamGrid.d.ts.map +1 -1
- package/dist/src/components/content/index.d.ts +7 -7
- package/dist/src/components/content/index.d.ts.map +1 -1
- package/dist/src/components/data-display/Badge.d.ts +6 -5
- package/dist/src/components/data-display/Badge.d.ts.map +1 -1
- package/dist/src/components/data-display/BadgeGroup.d.ts +6 -4
- package/dist/src/components/data-display/BadgeGroup.d.ts.map +1 -1
- package/dist/src/components/data-display/BarChart.d.ts +3 -2
- package/dist/src/components/data-display/BarChart.d.ts.map +1 -1
- package/dist/src/components/data-display/CalendarGrid.d.ts +4 -3
- package/dist/src/components/data-display/CalendarGrid.d.ts.map +1 -1
- package/dist/src/components/data-display/DataTable.d.ts +5 -5
- package/dist/src/components/data-display/DataTable.d.ts.map +1 -1
- package/dist/src/components/data-display/LineChart.d.ts +3 -2
- package/dist/src/components/data-display/LineChart.d.ts.map +1 -1
- package/dist/src/components/data-display/PieChart.d.ts +3 -2
- package/dist/src/components/data-display/PieChart.d.ts.map +1 -1
- package/dist/src/components/data-display/ProgressBar.d.ts +3 -2
- package/dist/src/components/data-display/ProgressBar.d.ts.map +1 -1
- package/dist/src/components/data-display/RatingStars.d.ts +3 -2
- package/dist/src/components/data-display/RatingStars.d.ts.map +1 -1
- package/dist/src/components/data-display/Sparkline.d.ts +3 -2
- package/dist/src/components/data-display/Sparkline.d.ts.map +1 -1
- package/dist/src/components/data-display/Timeline.d.ts +4 -3
- package/dist/src/components/data-display/Timeline.d.ts.map +1 -1
- package/dist/src/components/data-display/index.d.ts +11 -11
- package/dist/src/components/data-display/index.d.ts.map +1 -1
- package/dist/src/components/ecommerce/index.d.ts +24 -21
- package/dist/src/components/ecommerce/index.d.ts.map +1 -1
- package/dist/src/components/forms/AddressAutocomplete.d.ts +2 -4
- package/dist/src/components/forms/AddressAutocomplete.d.ts.map +1 -1
- package/dist/src/components/forms/Captcha.d.ts +3 -5
- package/dist/src/components/forms/Captcha.d.ts.map +1 -1
- package/dist/src/components/forms/ContactForm.d.ts +2 -4
- package/dist/src/components/forms/ContactForm.d.ts.map +1 -1
- package/dist/src/components/forms/DateTimePicker.d.ts +3 -5
- package/dist/src/components/forms/DateTimePicker.d.ts.map +1 -1
- package/dist/src/components/forms/FileUploader.d.ts +2 -4
- package/dist/src/components/forms/FileUploader.d.ts.map +1 -1
- package/dist/src/components/forms/FormShell.d.ts +2 -5
- package/dist/src/components/forms/FormShell.d.ts.map +1 -1
- package/dist/src/components/forms/InputField.d.ts +2 -4
- package/dist/src/components/forms/InputField.d.ts.map +1 -1
- package/dist/src/components/forms/MultiStepWizard.d.ts +2 -4
- package/dist/src/components/forms/MultiStepWizard.d.ts.map +1 -1
- package/dist/src/components/forms/NewsletterSignup.d.ts +2 -4
- package/dist/src/components/forms/NewsletterSignup.d.ts.map +1 -1
- package/dist/src/components/forms/RadioGroup.d.ts +2 -4
- package/dist/src/components/forms/RadioGroup.d.ts.map +1 -1
- package/dist/src/components/forms/SelectDropdown.d.ts +2 -4
- package/dist/src/components/forms/SelectDropdown.d.ts.map +1 -1
- package/dist/src/components/forms/TextAreaField.d.ts +2 -4
- package/dist/src/components/forms/TextAreaField.d.ts.map +1 -1
- package/dist/src/components/forms/ToggleSwitch.d.ts +2 -4
- package/dist/src/components/forms/ToggleSwitch.d.ts.map +1 -1
- package/dist/src/components/forms/ValidationWrapper.d.ts +2 -4
- package/dist/src/components/forms/ValidationWrapper.d.ts.map +1 -1
- package/dist/src/components/forms/index.d.ts +28 -28
- package/dist/src/components/forms/index.d.ts.map +1 -1
- package/dist/src/components/hero/CTAOverlayHero.d.ts +2 -4
- package/dist/src/components/hero/CTAOverlayHero.d.ts.map +1 -1
- package/dist/src/components/hero/CarouselHero.d.ts +2 -4
- package/dist/src/components/hero/CarouselHero.d.ts.map +1 -1
- package/dist/src/components/hero/HeroShell.d.ts +2 -5
- package/dist/src/components/hero/HeroShell.d.ts.map +1 -1
- package/dist/src/components/hero/ImageHero.d.ts +35 -0
- package/dist/src/components/hero/ImageHero.d.ts.map +1 -0
- package/dist/src/components/hero/PatternedHero.d.ts +3 -5
- package/dist/src/components/hero/PatternedHero.d.ts.map +1 -1
- package/dist/src/components/hero/SplitHero.d.ts +2 -4
- package/dist/src/components/hero/SplitHero.d.ts.map +1 -1
- package/dist/src/components/hero/StaticHero.d.ts +3 -5
- package/dist/src/components/hero/StaticHero.d.ts.map +1 -1
- package/dist/src/components/hero/VideoHeaderHero.d.ts +2 -4
- package/dist/src/components/hero/VideoHeaderHero.d.ts.map +1 -1
- package/dist/src/components/hero/index.d.ts +16 -14
- package/dist/src/components/hero/index.d.ts.map +1 -1
- package/dist/src/components/lists-cards/index.d.ts +17 -20
- package/dist/src/components/lists-cards/index.d.ts.map +1 -1
- package/dist/src/components/marketing/index.d.ts +22 -22
- package/dist/src/components/marketing/index.d.ts.map +1 -1
- package/dist/src/components/media/index.d.ts +27 -29
- package/dist/src/components/media/index.d.ts.map +1 -1
- package/dist/src/components/miscellaneous/index.d.ts +18 -17
- package/dist/src/components/miscellaneous/index.d.ts.map +1 -1
- package/dist/src/components/modals/index.d.ts +23 -34
- package/dist/src/components/modals/index.d.ts.map +1 -1
- package/dist/src/components/navigation/AnchorLinks.d.ts +4 -6
- package/dist/src/components/navigation/AnchorLinks.d.ts.map +1 -1
- package/dist/src/components/navigation/Breadcrumbs.d.ts +3 -5
- package/dist/src/components/navigation/Breadcrumbs.d.ts.map +1 -1
- package/dist/src/components/navigation/Footer.d.ts +3 -4
- package/dist/src/components/navigation/Footer.d.ts.map +1 -1
- package/dist/src/components/navigation/LanguageSelector.d.ts +3 -5
- package/dist/src/components/navigation/LanguageSelector.d.ts.map +1 -1
- package/dist/src/components/navigation/MegaMenu.d.ts +3 -5
- package/dist/src/components/navigation/MegaMenu.d.ts.map +1 -1
- package/dist/src/components/navigation/Pagination.d.ts +3 -2
- package/dist/src/components/navigation/Pagination.d.ts.map +1 -1
- package/dist/src/components/navigation/PrimaryNav.d.ts +3 -2
- package/dist/src/components/navigation/PrimaryNav.d.ts.map +1 -1
- package/dist/src/components/navigation/SideDrawerNav.d.ts +5 -4
- package/dist/src/components/navigation/SideDrawerNav.d.ts.map +1 -1
- package/dist/src/components/navigation/SidebarMenu.d.ts +4 -3
- package/dist/src/components/navigation/SidebarMenu.d.ts.map +1 -1
- package/dist/src/components/navigation/Stepper.d.ts +4 -3
- package/dist/src/components/navigation/Stepper.d.ts.map +1 -1
- package/dist/src/components/navigation/Tabs.d.ts +5 -4
- package/dist/src/components/navigation/Tabs.d.ts.map +1 -1
- package/dist/src/components/navigation/index.d.ts +22 -22
- package/dist/src/components/navigation/index.d.ts.map +1 -1
- package/dist/src/components/onboarding/index.d.ts +17 -17
- package/dist/src/components/onboarding/index.d.ts.map +1 -1
- package/dist/src/components/search/index.d.ts +13 -12
- package/dist/src/components/search/index.d.ts.map +1 -1
- package/dist/src/components/site-identity/index.d.ts +13 -14
- package/dist/src/components/site-identity/index.d.ts.map +1 -1
- package/dist/src/components/social/index.d.ts +19 -18
- package/dist/src/components/social/index.d.ts.map +1 -1
- package/dist/src/components/user-accounts/index.d.ts +17 -17
- package/dist/src/components/user-accounts/index.d.ts.map +1 -1
- package/dist/src/core/config.d.ts +1 -1
- package/dist/src/core/config.d.ts.map +1 -1
- package/dist/src/core/icons.d.ts +1 -1
- package/dist/src/core/icons.d.ts.map +1 -1
- package/dist/src/core/index.d.ts +7 -7
- package/dist/src/core/index.d.ts.map +1 -1
- package/dist/src/core/provider.d.ts +20 -20
- package/dist/src/core/provider.d.ts.map +1 -1
- package/dist/src/core/styles.d.ts +2 -0
- package/dist/src/core/styles.d.ts.map +1 -0
- package/dist/src/core/types.d.ts +4 -4
- package/dist/src/core/types.d.ts.map +1 -1
- package/dist/src/core/utils.d.ts +1 -1
- package/dist/src/core/utils.d.ts.map +1 -1
- package/dist/src/index.d.ts +19 -19
- package/dist/src/index.d.ts.map +1 -1
- package/metadata/blog.json +807 -0
- package/metadata/buttons.json +2186 -0
- package/metadata/content.json +1152 -0
- package/metadata/data-display.json +822 -0
- package/metadata/ecommerce.json +1059 -0
- package/metadata/forms.json +2637 -0
- package/metadata/hero.json +1401 -0
- package/metadata/lists-cards.json +848 -0
- package/metadata/marketing.json +1235 -0
- package/metadata/media.json +800 -0
- package/metadata/miscellaneous.json +778 -0
- package/metadata/modals.json +954 -0
- package/metadata/navigation.json +1348 -0
- package/metadata/onboarding.json +615 -0
- package/metadata/search.json +559 -0
- package/metadata/site-identity.json +555 -0
- package/metadata/social.json +654 -0
- package/metadata/user-accounts.json +727 -0
- package/package.json +22 -7
- package/dist/README.md +0 -35
- package/dist/src/__tests__/test-utils.d.ts +0 -8
- package/dist/src/__tests__/test-utils.d.ts.map +0 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@electroplix/components",
|
|
3
|
+
"version": "0.5.0-alpha.10",
|
|
4
|
+
"description": "Parametric, config-driven UI components by Electroplix. 159 components across 18 categories — navigation, hero, buttons, forms, content, data display, ecommerce, lists/cards, marketing, media, miscellaneous, modals, onboarding, search, site-identity, social, user-accounts, and blog. AI-builder-ready metadata included.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/electroplix/Design-System.git",
|
|
10
|
+
"directory": "packages/components"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"main": "./dist/index.esm.js",
|
|
14
|
+
"module": "./index.esm.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"bin": {
|
|
17
|
+
"electroplix-components": "./cli.cjs"
|
|
18
|
+
},
|
|
19
|
+
"exports": {
|
|
20
|
+
"./package.json": "./package.json",
|
|
21
|
+
".": {
|
|
22
|
+
"@electroplix-ds/source": "./src/index.ts",
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.esm.js",
|
|
25
|
+
"default": "./dist/index.esm.js"
|
|
26
|
+
},
|
|
27
|
+
"./config": {
|
|
28
|
+
"types": "./dist/config.d.ts",
|
|
29
|
+
"import": "./dist/config.esm.js",
|
|
30
|
+
"default": "./dist/config.esm.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"typesVersions": {
|
|
34
|
+
"*": {
|
|
35
|
+
"config": [
|
|
36
|
+
"./dist/config.d.ts"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"cli.cjs",
|
|
43
|
+
"metadata",
|
|
44
|
+
"README.md",
|
|
45
|
+
"CHANGELOG.md",
|
|
46
|
+
"LICENSE",
|
|
47
|
+
"SECURITY.md",
|
|
48
|
+
"!**/*.tsbuildinfo"
|
|
49
|
+
],
|
|
50
|
+
"homepage": "https://electroplix.com",
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=18.0.0"
|
|
53
|
+
},
|
|
54
|
+
"author": "Electroplix",
|
|
55
|
+
"bugs": {
|
|
56
|
+
"url": "https://github.com/electroplix/Design-System/issues"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"react": "^19.0.0",
|
|
60
|
+
"react-dom": "^19.0.0"
|
|
61
|
+
},
|
|
62
|
+
"peerDependenciesMeta": {
|
|
63
|
+
"react-dom": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"keywords": [
|
|
68
|
+
"react",
|
|
69
|
+
"components",
|
|
70
|
+
"ui",
|
|
71
|
+
"ui-kit",
|
|
72
|
+
"design-system",
|
|
73
|
+
"navbar",
|
|
74
|
+
"hero",
|
|
75
|
+
"buttons",
|
|
76
|
+
"forms",
|
|
77
|
+
"modals",
|
|
78
|
+
"ecommerce",
|
|
79
|
+
"charts",
|
|
80
|
+
"data-display",
|
|
81
|
+
"marketing",
|
|
82
|
+
"media",
|
|
83
|
+
"social",
|
|
84
|
+
"blog",
|
|
85
|
+
"search",
|
|
86
|
+
"onboarding",
|
|
87
|
+
"navigation",
|
|
88
|
+
"electroplix",
|
|
89
|
+
"configurable",
|
|
90
|
+
"parametric",
|
|
91
|
+
"theme",
|
|
92
|
+
"dark-mode",
|
|
93
|
+
"inline-svg",
|
|
94
|
+
"zero-dependency"
|
|
95
|
+
],
|
|
96
|
+
"scripts": {
|
|
97
|
+
"sync-metadata": "node scripts/sync-metadata.mjs",
|
|
98
|
+
"sync-metadata:dry": "node scripts/sync-metadata.mjs --dry-run"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export interface BlogPost {
|
|
3
3
|
id: string;
|
|
4
4
|
title: string;
|
|
@@ -14,38 +14,38 @@ export interface BlogPost {
|
|
|
14
14
|
tags?: string[];
|
|
15
15
|
category?: string;
|
|
16
16
|
}
|
|
17
|
-
export interface BlogCardProps {
|
|
17
|
+
export interface BlogCardProps extends Omit<React.ComponentPropsWithoutRef<'article'>, 'onClick'> {
|
|
18
18
|
post: BlogPost;
|
|
19
19
|
onClick?: (post: BlogPost) => void;
|
|
20
|
-
variant?:
|
|
20
|
+
variant?: 'vertical' | 'horizontal';
|
|
21
21
|
}
|
|
22
|
-
export declare function BlogCard({ post, onClick, variant }: BlogCardProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export interface AuthorBylineProps {
|
|
22
|
+
export declare function BlogCard({ post, onClick, variant, className, style, ...rest }: BlogCardProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export interface AuthorBylineProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
24
24
|
name: string;
|
|
25
25
|
avatar?: string;
|
|
26
26
|
bio?: string;
|
|
27
27
|
date?: string;
|
|
28
28
|
readTime?: string;
|
|
29
29
|
}
|
|
30
|
-
export declare function AuthorByline({ name, avatar, bio, date, readTime }: AuthorBylineProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export interface TagListProps {
|
|
30
|
+
export declare function AuthorByline({ name, avatar, bio, date, readTime, className, style, ...rest }: AuthorBylineProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export interface TagListProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
32
32
|
tags: string[];
|
|
33
33
|
onTagClick?: (tag: string) => void;
|
|
34
34
|
activeTag?: string;
|
|
35
35
|
}
|
|
36
|
-
export declare function TagList({ tags, onTagClick, activeTag }: TagListProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export interface BlogBadgeProps {
|
|
36
|
+
export declare function TagList({ tags, onTagClick, activeTag, className, style, ...rest }: TagListProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export interface BlogBadgeProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
38
38
|
label: string;
|
|
39
39
|
color?: string;
|
|
40
40
|
}
|
|
41
|
-
export declare function BlogBadge({ label, color }: BlogBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
export interface ReadingBarProps {
|
|
41
|
+
export declare function BlogBadge({ label, color, className, style, ...rest }: BlogBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export interface ReadingBarProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
43
43
|
color?: string;
|
|
44
44
|
height?: number;
|
|
45
45
|
containerRef?: React.RefObject<HTMLElement | null>;
|
|
46
46
|
}
|
|
47
|
-
export declare function ReadingBar({ color, height, containerRef }: ReadingBarProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export interface ArticleRendererProps {
|
|
47
|
+
export declare function ReadingBar({ color, height, containerRef, className, style, ...rest }: ReadingBarProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export interface ArticleRendererProps extends React.ComponentPropsWithoutRef<'article'> {
|
|
49
49
|
/** Pre-rendered HTML string. ⚠️ Caller is responsible for sanitization (e.g. DOMPurify). */
|
|
50
50
|
html: string;
|
|
51
51
|
maxW?: number;
|
|
@@ -55,22 +55,22 @@ export interface ArticleRendererProps {
|
|
|
55
55
|
* via `dangerouslySetInnerHTML`. Always sanitize untrusted content before
|
|
56
56
|
* passing it (e.g. with DOMPurify).
|
|
57
57
|
*/
|
|
58
|
-
export declare function ArticleRenderer({ html, maxW }: ArticleRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
export interface RelatedPostsProps {
|
|
58
|
+
export declare function ArticleRenderer({ html, maxW, className, style, ...rest }: ArticleRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export interface RelatedPostsProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
60
60
|
posts: BlogPost[];
|
|
61
61
|
title?: string;
|
|
62
62
|
onPostClick?: (post: BlogPost) => void;
|
|
63
63
|
}
|
|
64
|
-
export declare function RelatedPosts({ posts, title, onPostClick }: RelatedPostsProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export declare function RelatedPosts({ posts, title, onPostClick, className, style, ...rest }: RelatedPostsProps): import("react/jsx-runtime").JSX.Element;
|
|
65
65
|
export interface ArchiveGroup {
|
|
66
66
|
label: string;
|
|
67
67
|
posts: BlogPost[];
|
|
68
68
|
}
|
|
69
|
-
export interface ArchiveListProps {
|
|
69
|
+
export interface ArchiveListProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
70
70
|
groups: ArchiveGroup[];
|
|
71
71
|
onPostClick?: (post: BlogPost) => void;
|
|
72
72
|
}
|
|
73
|
-
export declare function ArchiveList({ groups, onPostClick }: ArchiveListProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
export declare function ArchiveList({ groups, onPostClick, className, style, ...rest }: ArchiveListProps): import("react/jsx-runtime").JSX.Element;
|
|
74
74
|
export interface BlogComment {
|
|
75
75
|
id: string;
|
|
76
76
|
author: string;
|
|
@@ -79,10 +79,10 @@ export interface BlogComment {
|
|
|
79
79
|
date?: string;
|
|
80
80
|
replies?: BlogComment[];
|
|
81
81
|
}
|
|
82
|
-
export interface CommentsSectionProps {
|
|
83
|
-
comments
|
|
82
|
+
export interface CommentsSectionProps extends Omit<React.ComponentPropsWithoutRef<'section'>, 'onSubmit'> {
|
|
83
|
+
comments?: BlogComment[];
|
|
84
84
|
onSubmit?: (text: string, parentId?: string) => void;
|
|
85
85
|
title?: string;
|
|
86
86
|
}
|
|
87
|
-
export declare function CommentsSection({ comments, onSubmit, title }: CommentsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
87
|
+
export declare function CommentsSection({ comments, onSubmit, title, className, style, ...rest }: CommentsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
88
88
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/blog/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqC/B,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC/F,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACrC;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,OAAoB,EACpB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CAmGf;AAID,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC9E,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IAC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AI,CAAC,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC;IACnE,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAa,EACb,QAAQ,EACR,KAAkB,EAClB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,oBAAoB,2CAqKtB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { IconName } from
|
|
3
|
-
export type ButtonBaseProps = {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IconName } from '../../core/icons';
|
|
3
|
+
export type ButtonBaseProps = Omit<React.ComponentPropsWithoutRef<'button'>, 'onClick'> & {
|
|
4
4
|
label?: string;
|
|
5
|
-
onClick?: () => void;
|
|
5
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
6
|
bgColor?: string;
|
|
7
7
|
textColor?: string;
|
|
8
8
|
accentColor?: string;
|
|
@@ -25,21 +25,46 @@ export type ButtonBaseProps = {
|
|
|
25
25
|
opacity?: number;
|
|
26
26
|
shadow?: string;
|
|
27
27
|
transitionDuration?: number;
|
|
28
|
-
className?: string;
|
|
29
|
-
style?: React.CSSProperties;
|
|
30
28
|
};
|
|
31
29
|
export declare const baseBtn: (p: ButtonBaseProps) => React.CSSProperties;
|
|
32
|
-
export declare function PrimaryButton(p: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export declare function SecondaryButton(p: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export declare function TertiaryButton(p: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function PrimaryButton({ className, style, children, ...p }: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function SecondaryButton({ className, style, children, ...p }: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function TertiaryButton({ className, style, children, ...p }: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
35
33
|
export type IconButtonProps = ButtonBaseProps & {
|
|
36
34
|
size?: number;
|
|
37
35
|
};
|
|
38
|
-
export declare function IconButton(p: IconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export declare
|
|
43
|
-
export
|
|
44
|
-
export declare
|
|
36
|
+
export declare function IconButton({ className, style, ...p }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export type ButtonProps = ButtonBaseProps & {
|
|
38
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'icon';
|
|
39
|
+
};
|
|
40
|
+
export declare function Button({ variant, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export { PrimaryButton as ButtonAlias };
|
|
42
|
+
export declare function FloatingActionButton({ className, style, ...p }: ButtonBaseProps & {
|
|
43
|
+
position?: 'bottom-right' | 'bottom-left';
|
|
44
|
+
offset?: number;
|
|
45
|
+
fixed?: boolean;
|
|
46
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export type GroupButtonItem = ButtonBaseProps & {
|
|
48
|
+
active?: boolean;
|
|
49
|
+
id?: string | number;
|
|
50
|
+
};
|
|
51
|
+
export interface ButtonGroupProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
52
|
+
buttons: GroupButtonItem[];
|
|
53
|
+
toggle?: boolean;
|
|
54
|
+
onChange?: (index: number) => void;
|
|
55
|
+
bgColor?: string;
|
|
56
|
+
radius?: number;
|
|
57
|
+
accentColor?: string;
|
|
58
|
+
borderColor?: string;
|
|
59
|
+
gap?: number;
|
|
60
|
+
}
|
|
61
|
+
export declare function ButtonGroup({ buttons, toggle, onChange, bgColor, radius, accentColor, borderColor, gap, className, style, ...rest }: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
export declare function LoadingButton(p: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
export declare function ShareButton(p: ButtonBaseProps & {
|
|
64
|
+
url?: string;
|
|
65
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
export declare function DownloadButton(p: ButtonBaseProps & {
|
|
67
|
+
fileUrl?: string;
|
|
68
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
export declare function PrintButton(p: ButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
45
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,GAAG;IACxF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,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AAgB,WAAW,CAAC,CAAC,EAAE,eAAe,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAwBhE;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,eAAe,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,2CAoBvE;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,eAAe,2CAgB7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface BlockquoteTestimonialProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface BlockquoteTestimonialProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
bgColor?: string;
|
|
5
5
|
textColor?: string;
|
|
@@ -9,8 +9,6 @@ export interface BlockquoteTestimonialProps {
|
|
|
9
9
|
py?: number;
|
|
10
10
|
radius?: number;
|
|
11
11
|
gap?: number;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
className?: string;
|
|
14
12
|
quote?: string;
|
|
15
13
|
author?: string;
|
|
16
14
|
role?: string;
|
|
@@ -20,5 +18,5 @@ export interface BlockquoteTestimonialProps {
|
|
|
20
18
|
authorSize?: number;
|
|
21
19
|
accentColor?: string;
|
|
22
20
|
}
|
|
23
|
-
export declare function BlockquoteTestimonial({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, quote, author, role, avatarUrl, borderColor, quoteSize, authorSize, accentColor, }: BlockquoteTestimonialProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function BlockquoteTestimonial({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, quote, author, role, avatarUrl, borderColor, quoteSize, authorSize, accentColor, ...rest }: BlockquoteTestimonialProps): import("react/jsx-runtime").JSX.Element;
|
|
24
22
|
//# sourceMappingURL=BlockquoteTestimonial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockquoteTestimonial.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"BlockquoteTestimonial.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BlockquoteTestimonial.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAC3F,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAaD,wBAAgB,qBAAqB,CAAC,EACpC,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAW,EACX,GAAQ,EACR,KAAU,EACV,SAAc,EACd,KAAyE,EACzE,MAAsB,EACtB,IAAyB,EACzB,SAAS,EACT,WAAW,EACX,SAAc,EACd,UAAe,EACf,WAAW,EACX,GAAG,IAAI,EACR,EAAE,0BAA0B,2CA+G5B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export type CalloutVariant =
|
|
3
|
-
export interface CalloutBoxProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export type CalloutVariant = 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
+
export interface CalloutBoxProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
4
4
|
as?: React.ElementType;
|
|
5
5
|
bgColor?: string;
|
|
6
6
|
textColor?: string;
|
|
@@ -10,8 +10,6 @@ export interface CalloutBoxProps {
|
|
|
10
10
|
py?: number;
|
|
11
11
|
radius?: number;
|
|
12
12
|
gap?: number;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
className?: string;
|
|
15
13
|
variant?: CalloutVariant;
|
|
16
14
|
title?: string;
|
|
17
15
|
message?: string;
|
|
@@ -22,5 +20,5 @@ export interface CalloutBoxProps {
|
|
|
22
20
|
dismissible?: boolean;
|
|
23
21
|
onDismiss?: () => void;
|
|
24
22
|
}
|
|
25
|
-
export declare function CalloutBox({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, variant, title, message, icon, titleSize, messageSize, border, dismissible, onDismiss, }: CalloutBoxProps): import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
+
export declare function CalloutBox({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, variant, title, message, icon, titleSize, messageSize, border, dismissible, onDismiss, children, ...rest }: CalloutBoxProps): import("react/jsx-runtime").JSX.Element | null;
|
|
26
24
|
//# sourceMappingURL=CalloutBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalloutBox.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"CalloutBox.d.ts","sourceRoot":"","sources":["../../../../src/components/content/CalloutBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvE,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAChF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AA8CD,wBAAgB,UAAU,CAAC,EACzB,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAM,EACN,EAAM,EACN,MAAU,EACV,GAAQ,EACR,KAAU,EACV,SAAc,EACd,OAAgB,EAChB,KAAc,EACd,OAAyC,EACzC,IAAI,EACJ,SAAc,EACd,WAAgB,EAChB,MAAa,EACb,WAAmB,EACnB,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,eAAe,kDA0IjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface HeadingSectionProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface HeadingSectionProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
bgColor?: string;
|
|
5
5
|
textColor?: string;
|
|
@@ -9,12 +9,10 @@ export interface HeadingSectionProps {
|
|
|
9
9
|
py?: number;
|
|
10
10
|
radius?: number;
|
|
11
11
|
gap?: number;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
className?: string;
|
|
14
12
|
eyebrow?: string;
|
|
15
13
|
title?: string;
|
|
16
14
|
subtitle?: string;
|
|
17
|
-
align?:
|
|
15
|
+
align?: 'left' | 'center' | 'right';
|
|
18
16
|
eyebrowSize?: number;
|
|
19
17
|
titleSize?: number;
|
|
20
18
|
subtitleSize?: number;
|
|
@@ -22,5 +20,5 @@ export interface HeadingSectionProps {
|
|
|
22
20
|
accentColor?: string;
|
|
23
21
|
showDecoration?: boolean;
|
|
24
22
|
}
|
|
25
|
-
export declare function HeadingSection({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, eyebrow, title, subtitle, align, eyebrowSize, titleSize, subtitleSize, spacing, accentColor, showDecoration, }: HeadingSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function HeadingSection({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, eyebrow, title, subtitle, align, eyebrowSize, titleSize, subtitleSize, spacing, accentColor, showDecoration, ...rest }: HeadingSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
26
24
|
//# sourceMappingURL=HeadingSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingSection.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"HeadingSection.d.ts","sourceRoot":"","sources":["../../../../src/components/content/HeadingSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IACpF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAYD,wBAAgB,cAAc,CAAC,EAC7B,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAW,EACX,GAAQ,EACR,KAAU,EACV,SAAc,EACd,OAAoB,EACpB,KAAuB,EACvB,QAAkE,EAClE,KAAc,EACd,WAAgB,EAChB,SAAc,EACd,YAAiB,EACjB,OAAY,EACZ,WAAW,EACX,cAAqB,EACrB,GAAG,IAAI,EACR,EAAE,mBAAmB,2CAmHrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface InlineCodeProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface InlineCodeProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
bgColor?: string;
|
|
5
5
|
textColor?: string;
|
|
@@ -9,9 +9,8 @@ export interface InlineCodeProps {
|
|
|
9
9
|
py?: number;
|
|
10
10
|
radius?: number;
|
|
11
11
|
gap?: number;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
text: string;
|
|
12
|
+
text?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
15
14
|
codeBg?: string;
|
|
16
15
|
codeColor?: string;
|
|
17
16
|
codePx?: string;
|
|
@@ -20,5 +19,5 @@ export interface InlineCodeProps {
|
|
|
20
19
|
accentColor?: string;
|
|
21
20
|
copyable?: boolean;
|
|
22
21
|
}
|
|
23
|
-
export declare function InlineCodeText({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, text, codeBg, codeColor, codePx, codeRadius, size, accentColor, copyable, }: InlineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function InlineCodeText({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, text, codeBg, codeColor, codePx, codeRadius, size, accentColor, copyable, children, ...rest }: InlineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
//# sourceMappingURL=InlineCodeText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineCodeText.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"InlineCodeText.d.ts","sourceRoot":"","sources":["../../../../src/components/content/InlineCodeText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAChF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,wBAAgB,cAAc,CAAC,EAC7B,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAW,EACX,GAAQ,EACR,KAAU,EACV,SAAc,EACd,IAA0F,EAC1F,MAAM,EACN,SAAS,EACT,MAAkB,EAClB,UAAc,EACd,IAAS,EACT,WAAW,EACX,QAAe,EACf,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,eAAe,2CAwHjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface ParagraphBlockProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface ParagraphBlockProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
bgColor?: string;
|
|
5
5
|
textColor?: string;
|
|
@@ -9,15 +9,13 @@ export interface ParagraphBlockProps {
|
|
|
9
9
|
py?: number;
|
|
10
10
|
radius?: number;
|
|
11
11
|
gap?: number;
|
|
12
|
-
|
|
13
|
-
className?: string;
|
|
14
|
-
paragraphs: string[];
|
|
12
|
+
paragraphs?: string[];
|
|
15
13
|
size?: number;
|
|
16
14
|
leading?: number;
|
|
17
|
-
align?:
|
|
15
|
+
align?: 'left' | 'center' | 'right' | 'justify';
|
|
18
16
|
accentColor?: string;
|
|
19
17
|
showDropCap?: boolean;
|
|
20
18
|
title?: string;
|
|
21
19
|
}
|
|
22
|
-
export declare function ParagraphBlock({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, paragraphs, size, leading, align, accentColor, showDropCap, title, }: ParagraphBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function ParagraphBlock({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, paragraphs, size, leading, align, accentColor, showDropCap, title, children, ...rest }: ParagraphBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
23
21
|
//# sourceMappingURL=ParagraphBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParagraphBlock.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ParagraphBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ParagraphBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IACpF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAYD,wBAAgB,cAAc,CAAC,EAC7B,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAW,EACX,GAAQ,EACR,KAAU,EACV,SAAc,EACd,UAGC,EACD,IAAS,EACT,OAAc,EACd,KAAc,EACd,WAAW,EACX,WAAmB,EACnB,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,mBAAmB,2CAgJrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface RichMarkdownProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface RichMarkdownProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
bgColor?: string;
|
|
5
5
|
textColor?: string;
|
|
@@ -9,12 +9,11 @@ export interface RichMarkdownProps {
|
|
|
9
9
|
py?: number;
|
|
10
10
|
radius?: number;
|
|
11
11
|
gap?: number;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
markdown: string;
|
|
12
|
+
markdown?: string;
|
|
13
|
+
content?: string;
|
|
15
14
|
baseSize?: number;
|
|
16
15
|
accentColor?: string;
|
|
17
16
|
title?: string;
|
|
18
17
|
}
|
|
19
|
-
export declare function RichMarkdown({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, markdown, baseSize, accentColor, title, }: RichMarkdownProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function RichMarkdown({ as: Tag, bgColor, textColor, fontFamily, maxW, px, py, radius, gap, style, className, markdown, content, baseSize, accentColor, title, ...rest }: RichMarkdownProps): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
//# sourceMappingURL=RichMarkdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichMarkdown.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"RichMarkdown.d.ts","sourceRoot":"","sources":["../../../../src/components/content/RichMarkdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2F/B,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAClF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAWD,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAW,EACX,GAAQ,EACR,KAAU,EACV,SAAc,EACd,QAAQ,EACR,OAAO,EACP,QAAa,EACb,WAAW,EACX,KAAK,EACL,GAAG,IAAI,EACR,EAAE,iBAAiB,2CAqFnB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type React from 'react';
|
|
1
2
|
export interface TeamMember {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
@@ -9,7 +10,7 @@ export interface TeamMember {
|
|
|
9
10
|
href: string;
|
|
10
11
|
}[];
|
|
11
12
|
}
|
|
12
|
-
export interface TeamGridProps {
|
|
13
|
+
export interface TeamGridProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
13
14
|
members: TeamMember[];
|
|
14
15
|
columns?: number | string;
|
|
15
16
|
title?: string;
|
|
@@ -20,5 +21,5 @@ export interface TeamGridProps {
|
|
|
20
21
|
borderColor?: string;
|
|
21
22
|
fontFamily?: string;
|
|
22
23
|
}
|
|
23
|
-
export declare function TeamGrid({ members, columns, title, subtitle, bgColor, textColor, accentColor, borderColor, fontFamily, }: TeamGridProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function TeamGrid({ members, columns, title, subtitle, bgColor, textColor, accentColor, borderColor, fontFamily, className, style, ...rest }: TeamGridProps): import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
//# sourceMappingURL=TeamGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeamGrid.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"TeamGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/content/TeamGrid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5C;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAC9E,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAYD,wBAAgB,QAAQ,CAAC,EACvB,OAAY,EACZ,OAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,EACP,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CAoMf"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { BlockquoteTestimonial, type BlockquoteTestimonialProps, } from
|
|
2
|
-
export { CalloutBox, type CalloutBoxProps, type CalloutVariant } from
|
|
3
|
-
export { HeadingSection, type HeadingSectionProps } from
|
|
4
|
-
export { InlineCodeText, type InlineCodeProps } from
|
|
5
|
-
export { ParagraphBlock, type ParagraphBlockProps } from
|
|
6
|
-
export { RichMarkdown, type RichMarkdownProps } from
|
|
7
|
-
export { TeamGrid, type TeamGridProps, type TeamMember } from
|
|
1
|
+
export { BlockquoteTestimonial, type BlockquoteTestimonialProps, } from './BlockquoteTestimonial';
|
|
2
|
+
export { CalloutBox, type CalloutBoxProps, type CalloutVariant } from './CalloutBox';
|
|
3
|
+
export { HeadingSection, type HeadingSectionProps } from './HeadingSection';
|
|
4
|
+
export { InlineCodeText, type InlineCodeProps } from './InlineCodeText';
|
|
5
|
+
export { ParagraphBlock, type ParagraphBlockProps } from './ParagraphBlock';
|
|
6
|
+
export { RichMarkdown, type RichMarkdownProps } from './RichMarkdown';
|
|
7
|
+
export { TeamGrid, type TeamGridProps, type TeamMember } from './TeamGrid';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,GAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export type BadgeTone =
|
|
3
|
-
export interface BadgeProps {
|
|
4
|
-
children
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export type BadgeTone = 'neutral' | 'success' | 'warning' | 'danger' | 'info';
|
|
3
|
+
export interface BadgeProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
label?: string;
|
|
5
6
|
tone?: BadgeTone;
|
|
6
7
|
pill?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function Badge({ children, tone, pill }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function Badge({ children, label, tone, pill, className, style, ...rest }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9E,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC;IACxE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAmCD,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,KAAK,EACL,IAAgB,EAChB,IAAW,EACX,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,UAAU,2CA4CZ"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type BadgeTone } from './Badge';
|
|
3
|
+
export interface BadgeGroupProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
4
|
+
items?: string[];
|
|
5
|
+
badges?: string[];
|
|
4
6
|
tone?: BadgeTone;
|
|
5
7
|
title?: string;
|
|
6
8
|
}
|
|
7
|
-
export declare function BadgeGroup({ items, tone, title }: BadgeGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function BadgeGroup({ items, badges, tone, title, className, style, ...rest }: BadgeGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
//# sourceMappingURL=BadgeGroup.d.ts.map
|