@xyd-js/storybook 0.0.1-build.167
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/.storybook/main.ts +40 -0
- package/.storybook/manager-head.html +6 -0
- package/.storybook/manager.ts +18 -0
- package/.storybook/preview.ts +40 -0
- package/.storybook/styles.css +5 -0
- package/.storybook/theme.ts +34 -0
- package/CHANGELOG.md +2357 -0
- package/LICENSE +21 -0
- package/README.md +50 -0
- package/eslint.config.js +28 -0
- package/package.json +61 -0
- package/public/logo.svg +10 -0
- package/src/__fixtures__/Icons.tsx +83 -0
- package/src/__fixtures__/atlas-index/package-index.mdx +194 -0
- package/src/__fixtures__/atlas-index/wip1.mdx +131 -0
- package/src/__fixtures__/atlas-index.mdx +53 -0
- package/src/__fixtures__/code-sample.mdx +15 -0
- package/src/__fixtures__/example-source-uniform.ts +41 -0
- package/src/__fixtures__/hello-world.mdx +116 -0
- package/src/components/DemoDocs.tsx +235 -0
- package/src/components/logo.tsx +37 -0
- package/src/decorators/DocsTemplate.tsx +101 -0
- package/src/docs/atlas/Atlas.stories.tsx +51 -0
- package/src/docs/atlas/todo-app.uniform.json +625 -0
- package/src/docs/atlas/uniform-to-references.ts +101 -0
- package/src/docs/components/coder/CodeSample.stories.tsx +29 -0
- package/src/docs/components/pages/PageBlogHome.stories.tsx +52 -0
- package/src/docs/components/pages/PageFirstSlide.stories.tsx +124 -0
- package/src/docs/components/pages/PageHome.stories.tsx +127 -0
- package/src/docs/components/system/Baseline.stories.tsx +126 -0
- package/src/docs/components/writer/Badge.stories.tsx +132 -0
- package/src/docs/components/writer/Banner.stories.tsx +394 -0
- package/src/docs/components/writer/Blockquote.stories.tsx +415 -0
- package/src/docs/components/writer/Breadcrumbs.stories.tsx +282 -0
- package/src/docs/components/writer/Button.stories.tsx +405 -0
- package/src/docs/components/writer/Callout.stories.tsx +183 -0
- package/src/docs/components/writer/Card.stories.tsx +457 -0
- package/src/docs/components/writer/ColorSchemeButton.stories.tsx +322 -0
- package/src/docs/components/writer/Details.stories.tsx +333 -0
- package/src/docs/components/writer/GuideCard.stories.tsx +384 -0
- package/src/docs/components/writer/Heading.stories.tsx +379 -0
- package/src/docs/components/writer/Hr.stories.tsx +325 -0
- package/src/docs/components/writer/IconSocial.stories.tsx +591 -0
- package/src/docs/components/writer/Image.stories.tsx +430 -0
- package/src/docs/components/writer/List.stories.tsx +479 -0
- package/src/docs/components/writer/NavLinks.stories.tsx +380 -0
- package/src/docs/components/writer/Pre.stories.tsx +23 -0
- package/src/docs/components/writer/Steps.stories.tsx +914 -0
- package/src/docs/components/writer/Table.stories.tsx +608 -0
- package/src/docs/components/writer/Tabs.stories.tsx +760 -0
- package/src/docs/components/writer/TocCard.stories.tsx +407 -0
- package/src/docs/components/writer/Update.stories.tsx +457 -0
- package/src/docs/components/writer/VideoGuide.stories.tsx +17 -0
- package/src/docs/templates/CodeSample.stories.tsx +15 -0
- package/src/docs/themes/TODO.md +1 -0
- package/src/docs/themes/logo.tsx +37 -0
- package/src/docs/themes/themes.stories.tsx +269 -0
- package/src/docs/ui/Nav.stories.tsx +58 -0
- package/src/docs/ui/Sidebar.stories.tsx +167 -0
- package/src/docs/ui/SubNav.stories.tsx +29 -0
- package/src/utils/mdx.ts +31 -0
- package/storybook-static/assets/Atlas.stories-B3Ix52TV.js +153 -0
- package/storybook-static/assets/Badge.stories-D3nfVAAW.js +84 -0
- package/storybook-static/assets/Banner.stories-BHLs2WlR.js +394 -0
- package/storybook-static/assets/Baseline.stories-Bwx2zF_U.js +103 -0
- package/storybook-static/assets/Blockquote.stories-Cxf9fDVo.js +468 -0
- package/storybook-static/assets/Breadcrumbs.stories-CFjDJvdh.js +219 -0
- package/storybook-static/assets/Button-Cj99tk5U-Cn0Wrqkw.js +3 -0
- package/storybook-static/assets/Button.stories-DUfQIyn7.js +472 -0
- package/storybook-static/assets/Callout.stories-CIQWommc.js +134 -0
- package/storybook-static/assets/Card.stories-0mJDPE-f.js +278 -0
- package/storybook-static/assets/CodeSample.stories-1k1_b2U_.js +8 -0
- package/storybook-static/assets/CodeSample.stories-BEAQ3H6A.js +22 -0
- package/storybook-static/assets/Color-YHDXOIA2-BAq_yxd2.js +1 -0
- package/storybook-static/assets/ColorSchemeButton.stories-C1yuuA8O.js +384 -0
- package/storybook-static/assets/Details.stories-BacIPYUH.js +290 -0
- package/storybook-static/assets/DocsRenderer-CFRXHY34-BwJiFRuq.js +575 -0
- package/storybook-static/assets/DocsTemplate-B8_ZAKIZ.js +16 -0
- package/storybook-static/assets/GuideCard.stories-IJbjW-xe.js +253 -0
- package/storybook-static/assets/Heading.stories-C9rBwnlZ.js +337 -0
- package/storybook-static/assets/Hr.stories-bgwD4mmY.js +351 -0
- package/storybook-static/assets/IconSocial.stories-Bv3u90GB.js +715 -0
- package/storybook-static/assets/Icons-CjNNbMNR.js +1 -0
- package/storybook-static/assets/Image.stories-BlrJ8Th7.js +349 -0
- package/storybook-static/assets/List.stories-mzy4ZAGg.js +513 -0
- package/storybook-static/assets/Nav.stories-CZhCHFlj.js +13 -0
- package/storybook-static/assets/NavLinks.stories-DuFRhZLh.js +359 -0
- package/storybook-static/assets/PageBlogHome.stories-BnmA2r3q.js +14 -0
- package/storybook-static/assets/PageFirstSlide-D2kcGYmB-BWfslHla.js +1 -0
- package/storybook-static/assets/PageFirstSlide-SzOOIHx0.css +1 -0
- package/storybook-static/assets/PageFirstSlide.stories-CoKlxYlH.js +55 -0
- package/storybook-static/assets/PageHome.stories-DcgUrGxe.js +121 -0
- package/storybook-static/assets/Pre.stories-CKu9R4kn.js +11 -0
- package/storybook-static/assets/Sidebar.stories-BivU6MOT.js +9 -0
- package/storybook-static/assets/Steps.stories-fSa3Sw8j.js +1146 -0
- package/storybook-static/assets/SubNav.stories-CL_Th3oO.js +19 -0
- package/storybook-static/assets/Table.stories-BdNM7k9y.js +581 -0
- package/storybook-static/assets/Tabs.stories-A3NcBab_.js +873 -0
- package/storybook-static/assets/Text-BAwif7rv-BYvLGGQV.js +31 -0
- package/storybook-static/assets/TocCard.stories-BRB1SH6U.js +299 -0
- package/storybook-static/assets/Update-DflVXGGQ-qVV03FlC.js +1 -0
- package/storybook-static/assets/Update.stories-DG383caW.js +387 -0
- package/storybook-static/assets/VideoGuide.stories-BnCDLXK7.js +3 -0
- package/storybook-static/assets/__vite-browser-external-FmFgRqLi.js +1 -0
- package/storybook-static/assets/_rollupPluginBabelHelpers-DuYa1R0C-CyXpXONY.js +4 -0
- package/storybook-static/assets/chunk-EF7DTUVF-DPkwZaUR.js +12 -0
- package/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js +1 -0
- package/storybook-static/assets/content-BRdfAQPf.js +27 -0
- package/storybook-static/assets/entry-preview-D5WwyKaL.js +2 -0
- package/storybook-static/assets/entry-preview-docs-DU3GzdsG.js +46 -0
- package/storybook-static/assets/entry-preview-rsc-56ExrKd2.js +1 -0
- package/storybook-static/assets/github-BKgXy13-.js +6 -0
- package/storybook-static/assets/iframe-YbiB23cy.js +211 -0
- package/storybook-static/assets/index-Cf9b6H0j.js +8 -0
- package/storybook-static/assets/index-CrSc8wm9.js +240 -0
- package/storybook-static/assets/index-CzKwSnp0.js +9 -0
- package/storybook-static/assets/index-D6tQpKjq.js +12 -0
- package/storybook-static/assets/index-DUCcPMOf.js +1 -0
- package/storybook-static/assets/index-D_kTjGoR.js +9 -0
- package/storybook-static/assets/index-DgnBCu_c.js +1 -0
- package/storybook-static/assets/index-DrFu-skq.js +6 -0
- package/storybook-static/assets/index-H0MBf5rE.js +1 -0
- package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +9 -0
- package/storybook-static/assets/layouts-DBdGRyBm.js +1 -0
- package/storybook-static/assets/preview-B5edrxhc.js +1 -0
- package/storybook-static/assets/preview-BWzBA1C2.js +396 -0
- package/storybook-static/assets/preview-C5EOgwJ9.js +2 -0
- package/storybook-static/assets/preview-DGZ5Qq08.js +34 -0
- package/storybook-static/assets/preview-DTyQTpzx.js +1 -0
- package/storybook-static/assets/preview-TqM3Oi8H.js +1 -0
- package/storybook-static/assets/preview-WIE65ICp.js +1 -0
- package/storybook-static/assets/preview-_Oh-njOd.css +1 -0
- package/storybook-static/assets/preview-caVMbCIR.js +7 -0
- package/storybook-static/assets/react-18-Tf4JhPOR.js +25 -0
- package/storybook-static/assets/system-CcsYyfSK.js +1 -0
- package/storybook-static/assets/test-utils-BaXAOqRT.js +9 -0
- package/storybook-static/assets/themes.stories-D1474P9U.js +41 -0
- package/storybook-static/assets/writer-DkrWmB39.js +1 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +666 -0
- package/storybook-static/index.html +183 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/logo.svg +10 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/docs-9/manager-bundle.js +242 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +402 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-10/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storysource-8/manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +1052 -0
- package/storybook-static/sb-manager/globals-runtime.js +42127 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +12048 -0
- package/tsconfig.json +39 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/vite.config.ts +8 -0
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-D_zvdyIk.js";import"./writer-DkrWmB39.js";import{m as t}from"./Update-DflVXGGQ-qVV03FlC.js";import"./Text-BAwif7rv-BYvLGGQV.js";import"./index-CzKwSnp0.js";import"./Button-Cj99tk5U-Cn0Wrqkw.js";import"./_rollupPluginBabelHelpers-DuYa1R0C-CyXpXONY.js";import"./index-DUCcPMOf.js";import"./index-DgnBCu_c.js";import"./index-D_kTjGoR.js";const w={title:"Components/Writer/Blockquote",component:t,parameters:{docs:{description:{component:"Blockquote component displays quoted text with italic styling and a subtle border. Used for highlighting important quotes, testimonials, or referenced content."}}},argTypes:{children:{description:"The quoted content to display",control:"text"},className:{description:"Additional CSS classes to apply to the blockquote",control:"text"}}},n={args:{children:"The best way to predict the future is to invent it."},render:o=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...o})})},i={args:{children:"Success is not final, failure is not fatal: it is the courage to continue that counts. The only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle."},render:o=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...o})})},s={args:{children:"Less is more."},render:o=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...o})})},r={args:{children:e.jsxs(e.Fragment,{children:["The future belongs to those who believe in the beauty of their dreams.",e.jsx("footer",{style:{marginTop:"10px",fontSize:"14px",color:"#666"},children:"— Eleanor Roosevelt"})]})},render:o=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...o})})},a={args:{children:"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."},render:o=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...o})})},l={args:{children:"This blockquote has custom styling applied via className.",className:"custom-blockquote"},render:o=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsx("style",{children:`
|
|
2
|
+
.custom-blockquote {
|
|
3
|
+
background-color: #f8f9fa;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
border-radius: 8px;
|
|
6
|
+
border-left: 4px solid #007bff;
|
|
7
|
+
}
|
|
8
|
+
`}),e.jsx(t,{...o})]})},d={render:()=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Inspirational Quotes"}),e.jsx(t,{children:"The only way to do great work is to love what you do."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Programming Wisdom"}),e.jsx(t,{children:"Code is read much more often than it is written."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Design Philosophy"}),e.jsx(t,{children:"Good design is obvious. Great design is transparent."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Leadership"}),e.jsx(t,{children:"The greatest leader is not necessarily the one who does the greatest things. He is the one that gets the people to do the greatest things."})]})]})},c={render:()=>e.jsxs("div",{style:{padding:"20px",maxWidth:"800px"},children:[e.jsx("h1",{children:"Documentation Guide"}),e.jsx("p",{children:"When writing documentation, it's important to provide clear and concise information. Sometimes you need to highlight important information or reference external sources."}),e.jsx(t,{children:"Documentation is a love letter to your future self."}),e.jsx("p",{children:"This quote emphasizes the importance of writing good documentation. When you return to your code months later, you'll thank yourself for taking the time to document your work properly."}),e.jsx("h2",{children:"Best Practices"}),e.jsx("p",{children:"Here are some key principles to follow when creating documentation:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"Write for your audience"}),e.jsx("li",{children:"Keep it simple and clear"}),e.jsx("li",{children:"Use examples and code snippets"}),e.jsx("li",{children:"Update regularly"})]}),e.jsx(t,{children:"The best documentation is the one that answers the question you have right now."}),e.jsx("p",{children:"Remember that good documentation should be easily discoverable and provide immediate value to the reader."})]}),parameters:{docs:{description:{story:"This example shows how blockquotes are used in real documentation contexts, providing emphasis and highlighting important information."}}}},h={render:()=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Single Line Quote"}),e.jsx(t,{children:"Simplicity is the ultimate sophistication."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Multi-line Quote"}),e.jsx(t,{children:"The best way to predict the future is to invent it. Really try to get to the future and make it happen."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Quote with HTML"}),e.jsxs(t,{children:[e.jsx("strong",{children:"Important:"})," Always test your code before deploying to production.",e.jsx("br",{}),e.jsx("em",{children:"This includes both unit tests and integration tests."})]})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Quote with List"}),e.jsxs(t,{children:["Three things to remember:",e.jsxs("ul",{style:{marginTop:"10px",marginBottom:"0"},children:[e.jsx("li",{children:"Keep it simple"}),e.jsx("li",{children:"Make it work"}),e.jsx("li",{children:"Make it fast"})]})]})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Quote with Code"}),e.jsxs(t,{children:["When debugging, remember: ",e.jsx("code",{children:"console.log()"})," is your friend, but proper logging is your best friend."]})]})]}),parameters:{docs:{description:{story:"This example shows how blockquotes can contain different types of content including HTML elements, lists, and code snippets."}}}},p={render:()=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Default Styling"}),e.jsx(t,{children:"This is the default blockquote styling with italic text and subtle border."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Custom Background"}),e.jsx(t,{className:"bg-light",children:"This blockquote has a light background applied via custom CSS."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Highlighted Quote"}),e.jsx(t,{className:"highlighted",children:"This blockquote is highlighted with a colored border and background."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Large Quote"}),e.jsx(t,{className:"large-quote",children:"This is a larger blockquote with increased font size and padding."})]}),e.jsx("style",{children:`
|
|
9
|
+
.bg-light {
|
|
10
|
+
background-color: #f8f9fa;
|
|
11
|
+
padding: 15px;
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.highlighted {
|
|
16
|
+
background-color: #fff3cd;
|
|
17
|
+
border-left: 4px solid #ffc107;
|
|
18
|
+
padding: 15px;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.large-quote {
|
|
23
|
+
font-size: 1.2em;
|
|
24
|
+
padding: 20px;
|
|
25
|
+
background-color: #e9ecef;
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
}
|
|
28
|
+
`})]}),parameters:{docs:{description:{story:"This example demonstrates how blockquotes can be styled using custom CSS classes to achieve different visual effects."}}}},m={render:()=>e.jsxs("div",{style:{padding:"20px",maxWidth:"800px"},children:[e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h2",{children:"User Testimonials"}),e.jsx("p",{children:"Blockquotes are commonly used to display user testimonials and feedback."}),e.jsxs(t,{children:['"This tool has completely transformed how we handle our documentation. The interface is intuitive and the features are exactly what we needed."',e.jsx("footer",{style:{marginTop:"10px",fontSize:"14px",color:"#666"},children:"— Sarah Johnson, Senior Developer at TechCorp"})]})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h2",{children:"Code Documentation"}),e.jsx("p",{children:"In technical documentation, blockquotes highlight important notes and warnings."}),e.jsxs(t,{children:[e.jsx("strong",{children:"Note:"})," This API endpoint is deprecated and will be removed in version 2.0. Please use the new endpoint instead."]})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h2",{children:"Feature Announcements"}),e.jsx("p",{children:"Blockquotes can emphasize new features and announcements."}),e.jsxs(t,{children:["🎉 ",e.jsx("strong",{children:"New Feature:"})," We've added real-time collaboration to our documentation platform. Multiple team members can now edit documents simultaneously."]})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h2",{children:"Best Practices"}),e.jsx("p",{children:"Blockquotes are perfect for highlighting best practices and guidelines."}),e.jsx(t,{children:"Always write your documentation with the assumption that someone else will read it. Be clear, concise, and provide examples where possible."})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h2",{children:"Error Messages"}),e.jsx("p",{children:"Blockquotes can be used to display important error messages or warnings."}),e.jsxs(t,{children:[e.jsx("strong",{children:"Warning:"})," This operation cannot be undone. Please make sure you have backed up your data before proceeding."]})]})]}),parameters:{docs:{description:{story:"This example shows practical use cases for blockquotes in real applications, demonstrating how they enhance content readability and emphasis."}}}},u={args:{children:"This blockquote demonstrates the component's interactive behavior. Try hovering over it or clicking to see different states."},render:o=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsx(t,{...o}),e.jsx("p",{style:{marginTop:"10px",fontSize:"14px",color:"#666"},children:"The blockquote component provides semantic HTML structure and consistent styling for quoted content."})]}),parameters:{docs:{description:{story:"This blockquote demonstrates the component's basic functionality and styling."}}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
29
|
+
args: {
|
|
30
|
+
children: 'The best way to predict the future is to invent it.'
|
|
31
|
+
},
|
|
32
|
+
render: args => <div style={{
|
|
33
|
+
padding: '20px'
|
|
34
|
+
}}>
|
|
35
|
+
<Blockquote {...args} />
|
|
36
|
+
</div>
|
|
37
|
+
}`,...n.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
38
|
+
args: {
|
|
39
|
+
children: 'Success is not final, failure is not fatal: it is the courage to continue that counts. The only way to do great work is to love what you do. If you haven\\'t found it yet, keep looking. Don\\'t settle.'
|
|
40
|
+
},
|
|
41
|
+
render: args => <div style={{
|
|
42
|
+
padding: '20px'
|
|
43
|
+
}}>
|
|
44
|
+
<Blockquote {...args} />
|
|
45
|
+
</div>
|
|
46
|
+
}`,...i.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
|
|
47
|
+
args: {
|
|
48
|
+
children: 'Less is more.'
|
|
49
|
+
},
|
|
50
|
+
render: args => <div style={{
|
|
51
|
+
padding: '20px'
|
|
52
|
+
}}>
|
|
53
|
+
<Blockquote {...args} />
|
|
54
|
+
</div>
|
|
55
|
+
}`,...s.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
|
|
56
|
+
args: {
|
|
57
|
+
children: <>
|
|
58
|
+
The future belongs to those who believe in the beauty of their dreams.
|
|
59
|
+
<footer style={{
|
|
60
|
+
marginTop: '10px',
|
|
61
|
+
fontSize: '14px',
|
|
62
|
+
color: '#666'
|
|
63
|
+
}}>
|
|
64
|
+
— Eleanor Roosevelt
|
|
65
|
+
</footer>
|
|
66
|
+
</>
|
|
67
|
+
},
|
|
68
|
+
render: args => <div style={{
|
|
69
|
+
padding: '20px'
|
|
70
|
+
}}>
|
|
71
|
+
<Blockquote {...args} />
|
|
72
|
+
</div>
|
|
73
|
+
}`,...r.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
74
|
+
args: {
|
|
75
|
+
children: 'Any fool can write code that a computer can understand. Good programmers write code that humans can understand.'
|
|
76
|
+
},
|
|
77
|
+
render: args => <div style={{
|
|
78
|
+
padding: '20px'
|
|
79
|
+
}}>
|
|
80
|
+
<Blockquote {...args} />
|
|
81
|
+
</div>
|
|
82
|
+
}`,...a.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
|
|
83
|
+
args: {
|
|
84
|
+
children: 'This blockquote has custom styling applied via className.',
|
|
85
|
+
className: 'custom-blockquote'
|
|
86
|
+
},
|
|
87
|
+
render: args => <div style={{
|
|
88
|
+
padding: '20px'
|
|
89
|
+
}}>
|
|
90
|
+
<style>
|
|
91
|
+
{\`
|
|
92
|
+
.custom-blockquote {
|
|
93
|
+
background-color: #f8f9fa;
|
|
94
|
+
padding: 20px;
|
|
95
|
+
border-radius: 8px;
|
|
96
|
+
border-left: 4px solid #007bff;
|
|
97
|
+
}
|
|
98
|
+
\`}
|
|
99
|
+
</style>
|
|
100
|
+
<Blockquote {...args} />
|
|
101
|
+
</div>
|
|
102
|
+
}`,...l.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
|
|
103
|
+
render: () => <div style={{
|
|
104
|
+
padding: '20px'
|
|
105
|
+
}}>
|
|
106
|
+
<div style={{
|
|
107
|
+
marginBottom: '30px'
|
|
108
|
+
}}>
|
|
109
|
+
<h3 style={{
|
|
110
|
+
marginBottom: '10px',
|
|
111
|
+
color: '#666'
|
|
112
|
+
}}>Inspirational Quotes</h3>
|
|
113
|
+
<Blockquote>
|
|
114
|
+
The only way to do great work is to love what you do.
|
|
115
|
+
</Blockquote>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<div style={{
|
|
119
|
+
marginBottom: '30px'
|
|
120
|
+
}}>
|
|
121
|
+
<h3 style={{
|
|
122
|
+
marginBottom: '10px',
|
|
123
|
+
color: '#666'
|
|
124
|
+
}}>Programming Wisdom</h3>
|
|
125
|
+
<Blockquote>
|
|
126
|
+
Code is read much more often than it is written.
|
|
127
|
+
</Blockquote>
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
<div style={{
|
|
131
|
+
marginBottom: '30px'
|
|
132
|
+
}}>
|
|
133
|
+
<h3 style={{
|
|
134
|
+
marginBottom: '10px',
|
|
135
|
+
color: '#666'
|
|
136
|
+
}}>Design Philosophy</h3>
|
|
137
|
+
<Blockquote>
|
|
138
|
+
Good design is obvious. Great design is transparent.
|
|
139
|
+
</Blockquote>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div style={{
|
|
143
|
+
marginBottom: '30px'
|
|
144
|
+
}}>
|
|
145
|
+
<h3 style={{
|
|
146
|
+
marginBottom: '10px',
|
|
147
|
+
color: '#666'
|
|
148
|
+
}}>Leadership</h3>
|
|
149
|
+
<Blockquote>
|
|
150
|
+
The greatest leader is not necessarily the one who does the greatest things. He is the one that gets the people to do the greatest things.
|
|
151
|
+
</Blockquote>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
}`,...d.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
|
|
155
|
+
render: () => <div style={{
|
|
156
|
+
padding: '20px',
|
|
157
|
+
maxWidth: '800px'
|
|
158
|
+
}}>
|
|
159
|
+
<h1>Documentation Guide</h1>
|
|
160
|
+
|
|
161
|
+
<p>
|
|
162
|
+
When writing documentation, it's important to provide clear and concise information.
|
|
163
|
+
Sometimes you need to highlight important information or reference external sources.
|
|
164
|
+
</p>
|
|
165
|
+
|
|
166
|
+
<Blockquote>
|
|
167
|
+
Documentation is a love letter to your future self.
|
|
168
|
+
</Blockquote>
|
|
169
|
+
|
|
170
|
+
<p>
|
|
171
|
+
This quote emphasizes the importance of writing good documentation.
|
|
172
|
+
When you return to your code months later, you'll thank yourself for taking the time
|
|
173
|
+
to document your work properly.
|
|
174
|
+
</p>
|
|
175
|
+
|
|
176
|
+
<h2>Best Practices</h2>
|
|
177
|
+
|
|
178
|
+
<p>
|
|
179
|
+
Here are some key principles to follow when creating documentation:
|
|
180
|
+
</p>
|
|
181
|
+
|
|
182
|
+
<ul>
|
|
183
|
+
<li>Write for your audience</li>
|
|
184
|
+
<li>Keep it simple and clear</li>
|
|
185
|
+
<li>Use examples and code snippets</li>
|
|
186
|
+
<li>Update regularly</li>
|
|
187
|
+
</ul>
|
|
188
|
+
|
|
189
|
+
<Blockquote>
|
|
190
|
+
The best documentation is the one that answers the question you have right now.
|
|
191
|
+
</Blockquote>
|
|
192
|
+
|
|
193
|
+
<p>
|
|
194
|
+
Remember that good documentation should be easily discoverable and provide
|
|
195
|
+
immediate value to the reader.
|
|
196
|
+
</p>
|
|
197
|
+
</div>,
|
|
198
|
+
parameters: {
|
|
199
|
+
docs: {
|
|
200
|
+
description: {
|
|
201
|
+
story: 'This example shows how blockquotes are used in real documentation contexts, providing emphasis and highlighting important information.'
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}`,...c.parameters?.docs?.source}}};h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`{
|
|
206
|
+
render: () => <div style={{
|
|
207
|
+
padding: '20px'
|
|
208
|
+
}}>
|
|
209
|
+
<div style={{
|
|
210
|
+
marginBottom: '30px'
|
|
211
|
+
}}>
|
|
212
|
+
<h3 style={{
|
|
213
|
+
marginBottom: '10px',
|
|
214
|
+
color: '#666'
|
|
215
|
+
}}>Single Line Quote</h3>
|
|
216
|
+
<Blockquote>
|
|
217
|
+
Simplicity is the ultimate sophistication.
|
|
218
|
+
</Blockquote>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
<div style={{
|
|
222
|
+
marginBottom: '30px'
|
|
223
|
+
}}>
|
|
224
|
+
<h3 style={{
|
|
225
|
+
marginBottom: '10px',
|
|
226
|
+
color: '#666'
|
|
227
|
+
}}>Multi-line Quote</h3>
|
|
228
|
+
<Blockquote>
|
|
229
|
+
The best way to predict the future is to invent it.
|
|
230
|
+
Really try to get to the future and make it happen.
|
|
231
|
+
</Blockquote>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div style={{
|
|
235
|
+
marginBottom: '30px'
|
|
236
|
+
}}>
|
|
237
|
+
<h3 style={{
|
|
238
|
+
marginBottom: '10px',
|
|
239
|
+
color: '#666'
|
|
240
|
+
}}>Quote with HTML</h3>
|
|
241
|
+
<Blockquote>
|
|
242
|
+
<strong>Important:</strong> Always test your code before deploying to production.
|
|
243
|
+
<br />
|
|
244
|
+
<em>This includes both unit tests and integration tests.</em>
|
|
245
|
+
</Blockquote>
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
<div style={{
|
|
249
|
+
marginBottom: '30px'
|
|
250
|
+
}}>
|
|
251
|
+
<h3 style={{
|
|
252
|
+
marginBottom: '10px',
|
|
253
|
+
color: '#666'
|
|
254
|
+
}}>Quote with List</h3>
|
|
255
|
+
<Blockquote>
|
|
256
|
+
Three things to remember:
|
|
257
|
+
<ul style={{
|
|
258
|
+
marginTop: '10px',
|
|
259
|
+
marginBottom: '0'
|
|
260
|
+
}}>
|
|
261
|
+
<li>Keep it simple</li>
|
|
262
|
+
<li>Make it work</li>
|
|
263
|
+
<li>Make it fast</li>
|
|
264
|
+
</ul>
|
|
265
|
+
</Blockquote>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<div style={{
|
|
269
|
+
marginBottom: '30px'
|
|
270
|
+
}}>
|
|
271
|
+
<h3 style={{
|
|
272
|
+
marginBottom: '10px',
|
|
273
|
+
color: '#666'
|
|
274
|
+
}}>Quote with Code</h3>
|
|
275
|
+
<Blockquote>
|
|
276
|
+
When debugging, remember: <code>console.log()</code> is your friend,
|
|
277
|
+
but proper logging is your best friend.
|
|
278
|
+
</Blockquote>
|
|
279
|
+
</div>
|
|
280
|
+
</div>,
|
|
281
|
+
parameters: {
|
|
282
|
+
docs: {
|
|
283
|
+
description: {
|
|
284
|
+
story: 'This example shows how blockquotes can contain different types of content including HTML elements, lists, and code snippets.'
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}`,...h.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
|
|
289
|
+
render: () => <div style={{
|
|
290
|
+
padding: '20px'
|
|
291
|
+
}}>
|
|
292
|
+
<div style={{
|
|
293
|
+
marginBottom: '30px'
|
|
294
|
+
}}>
|
|
295
|
+
<h3 style={{
|
|
296
|
+
marginBottom: '10px',
|
|
297
|
+
color: '#666'
|
|
298
|
+
}}>Default Styling</h3>
|
|
299
|
+
<Blockquote>
|
|
300
|
+
This is the default blockquote styling with italic text and subtle border.
|
|
301
|
+
</Blockquote>
|
|
302
|
+
</div>
|
|
303
|
+
|
|
304
|
+
<div style={{
|
|
305
|
+
marginBottom: '30px'
|
|
306
|
+
}}>
|
|
307
|
+
<h3 style={{
|
|
308
|
+
marginBottom: '10px',
|
|
309
|
+
color: '#666'
|
|
310
|
+
}}>Custom Background</h3>
|
|
311
|
+
<Blockquote className="bg-light">
|
|
312
|
+
This blockquote has a light background applied via custom CSS.
|
|
313
|
+
</Blockquote>
|
|
314
|
+
</div>
|
|
315
|
+
|
|
316
|
+
<div style={{
|
|
317
|
+
marginBottom: '30px'
|
|
318
|
+
}}>
|
|
319
|
+
<h3 style={{
|
|
320
|
+
marginBottom: '10px',
|
|
321
|
+
color: '#666'
|
|
322
|
+
}}>Highlighted Quote</h3>
|
|
323
|
+
<Blockquote className="highlighted">
|
|
324
|
+
This blockquote is highlighted with a colored border and background.
|
|
325
|
+
</Blockquote>
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
<div style={{
|
|
329
|
+
marginBottom: '30px'
|
|
330
|
+
}}>
|
|
331
|
+
<h3 style={{
|
|
332
|
+
marginBottom: '10px',
|
|
333
|
+
color: '#666'
|
|
334
|
+
}}>Large Quote</h3>
|
|
335
|
+
<Blockquote className="large-quote">
|
|
336
|
+
This is a larger blockquote with increased font size and padding.
|
|
337
|
+
</Blockquote>
|
|
338
|
+
</div>
|
|
339
|
+
|
|
340
|
+
<style>
|
|
341
|
+
{\`
|
|
342
|
+
.bg-light {
|
|
343
|
+
background-color: #f8f9fa;
|
|
344
|
+
padding: 15px;
|
|
345
|
+
border-radius: 4px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.highlighted {
|
|
349
|
+
background-color: #fff3cd;
|
|
350
|
+
border-left: 4px solid #ffc107;
|
|
351
|
+
padding: 15px;
|
|
352
|
+
border-radius: 4px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.large-quote {
|
|
356
|
+
font-size: 1.2em;
|
|
357
|
+
padding: 20px;
|
|
358
|
+
background-color: #e9ecef;
|
|
359
|
+
border-radius: 8px;
|
|
360
|
+
}
|
|
361
|
+
\`}
|
|
362
|
+
</style>
|
|
363
|
+
</div>,
|
|
364
|
+
parameters: {
|
|
365
|
+
docs: {
|
|
366
|
+
description: {
|
|
367
|
+
story: 'This example demonstrates how blockquotes can be styled using custom CSS classes to achieve different visual effects.'
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}`,...p.parameters?.docs?.source}}};m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`{
|
|
372
|
+
render: () => <div style={{
|
|
373
|
+
padding: '20px',
|
|
374
|
+
maxWidth: '800px'
|
|
375
|
+
}}>
|
|
376
|
+
<div style={{
|
|
377
|
+
marginBottom: '30px'
|
|
378
|
+
}}>
|
|
379
|
+
<h2>User Testimonials</h2>
|
|
380
|
+
<p>Blockquotes are commonly used to display user testimonials and feedback.</p>
|
|
381
|
+
<Blockquote>
|
|
382
|
+
"This tool has completely transformed how we handle our documentation.
|
|
383
|
+
The interface is intuitive and the features are exactly what we needed."
|
|
384
|
+
<footer style={{
|
|
385
|
+
marginTop: '10px',
|
|
386
|
+
fontSize: '14px',
|
|
387
|
+
color: '#666'
|
|
388
|
+
}}>
|
|
389
|
+
— Sarah Johnson, Senior Developer at TechCorp
|
|
390
|
+
</footer>
|
|
391
|
+
</Blockquote>
|
|
392
|
+
</div>
|
|
393
|
+
|
|
394
|
+
<div style={{
|
|
395
|
+
marginBottom: '30px'
|
|
396
|
+
}}>
|
|
397
|
+
<h2>Code Documentation</h2>
|
|
398
|
+
<p>In technical documentation, blockquotes highlight important notes and warnings.</p>
|
|
399
|
+
<Blockquote>
|
|
400
|
+
<strong>Note:</strong> This API endpoint is deprecated and will be removed in version 2.0.
|
|
401
|
+
Please use the new endpoint instead.
|
|
402
|
+
</Blockquote>
|
|
403
|
+
</div>
|
|
404
|
+
|
|
405
|
+
<div style={{
|
|
406
|
+
marginBottom: '30px'
|
|
407
|
+
}}>
|
|
408
|
+
<h2>Feature Announcements</h2>
|
|
409
|
+
<p>Blockquotes can emphasize new features and announcements.</p>
|
|
410
|
+
<Blockquote>
|
|
411
|
+
🎉 <strong>New Feature:</strong> We've added real-time collaboration to our documentation platform.
|
|
412
|
+
Multiple team members can now edit documents simultaneously.
|
|
413
|
+
</Blockquote>
|
|
414
|
+
</div>
|
|
415
|
+
|
|
416
|
+
<div style={{
|
|
417
|
+
marginBottom: '30px'
|
|
418
|
+
}}>
|
|
419
|
+
<h2>Best Practices</h2>
|
|
420
|
+
<p>Blockquotes are perfect for highlighting best practices and guidelines.</p>
|
|
421
|
+
<Blockquote>
|
|
422
|
+
Always write your documentation with the assumption that someone else will read it.
|
|
423
|
+
Be clear, concise, and provide examples where possible.
|
|
424
|
+
</Blockquote>
|
|
425
|
+
</div>
|
|
426
|
+
|
|
427
|
+
<div style={{
|
|
428
|
+
marginBottom: '30px'
|
|
429
|
+
}}>
|
|
430
|
+
<h2>Error Messages</h2>
|
|
431
|
+
<p>Blockquotes can be used to display important error messages or warnings.</p>
|
|
432
|
+
<Blockquote>
|
|
433
|
+
<strong>Warning:</strong> This operation cannot be undone.
|
|
434
|
+
Please make sure you have backed up your data before proceeding.
|
|
435
|
+
</Blockquote>
|
|
436
|
+
</div>
|
|
437
|
+
</div>,
|
|
438
|
+
parameters: {
|
|
439
|
+
docs: {
|
|
440
|
+
description: {
|
|
441
|
+
story: 'This example shows practical use cases for blockquotes in real applications, demonstrating how they enhance content readability and emphasis.'
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}`,...m.parameters?.docs?.source}}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
|
|
446
|
+
args: {
|
|
447
|
+
children: 'This blockquote demonstrates the component\\'s interactive behavior. Try hovering over it or clicking to see different states.'
|
|
448
|
+
},
|
|
449
|
+
render: args => <div style={{
|
|
450
|
+
padding: '20px'
|
|
451
|
+
}}>
|
|
452
|
+
<Blockquote {...args} />
|
|
453
|
+
<p style={{
|
|
454
|
+
marginTop: '10px',
|
|
455
|
+
fontSize: '14px',
|
|
456
|
+
color: '#666'
|
|
457
|
+
}}>
|
|
458
|
+
The blockquote component provides semantic HTML structure and consistent styling for quoted content.
|
|
459
|
+
</p>
|
|
460
|
+
</div>,
|
|
461
|
+
parameters: {
|
|
462
|
+
docs: {
|
|
463
|
+
description: {
|
|
464
|
+
story: 'This blockquote demonstrates the component\\'s basic functionality and styling.'
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}`,...u.parameters?.docs?.source}}};const T=["Default","LongQuote","ShortQuote","WithAttribution","TechnicalQuote","WithCustomClass","MultipleBlockquotes","InContext","DifferentContentTypes","StylingVariations","RealWorldExamples","Interactive"];export{n as Default,h as DifferentContentTypes,c as InContext,u as Interactive,i as LongQuote,d as MultipleBlockquotes,m as RealWorldExamples,s as ShortQuote,p as StylingVariations,a as TechnicalQuote,r as WithAttribution,l as WithCustomClass,T as __namedExportsOrder,w as default};
|