@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.
Files changed (171) hide show
  1. package/.storybook/main.ts +40 -0
  2. package/.storybook/manager-head.html +6 -0
  3. package/.storybook/manager.ts +18 -0
  4. package/.storybook/preview.ts +40 -0
  5. package/.storybook/styles.css +5 -0
  6. package/.storybook/theme.ts +34 -0
  7. package/CHANGELOG.md +2357 -0
  8. package/LICENSE +21 -0
  9. package/README.md +50 -0
  10. package/eslint.config.js +28 -0
  11. package/package.json +61 -0
  12. package/public/logo.svg +10 -0
  13. package/src/__fixtures__/Icons.tsx +83 -0
  14. package/src/__fixtures__/atlas-index/package-index.mdx +194 -0
  15. package/src/__fixtures__/atlas-index/wip1.mdx +131 -0
  16. package/src/__fixtures__/atlas-index.mdx +53 -0
  17. package/src/__fixtures__/code-sample.mdx +15 -0
  18. package/src/__fixtures__/example-source-uniform.ts +41 -0
  19. package/src/__fixtures__/hello-world.mdx +116 -0
  20. package/src/components/DemoDocs.tsx +235 -0
  21. package/src/components/logo.tsx +37 -0
  22. package/src/decorators/DocsTemplate.tsx +101 -0
  23. package/src/docs/atlas/Atlas.stories.tsx +51 -0
  24. package/src/docs/atlas/todo-app.uniform.json +625 -0
  25. package/src/docs/atlas/uniform-to-references.ts +101 -0
  26. package/src/docs/components/coder/CodeSample.stories.tsx +29 -0
  27. package/src/docs/components/pages/PageBlogHome.stories.tsx +52 -0
  28. package/src/docs/components/pages/PageFirstSlide.stories.tsx +124 -0
  29. package/src/docs/components/pages/PageHome.stories.tsx +127 -0
  30. package/src/docs/components/system/Baseline.stories.tsx +126 -0
  31. package/src/docs/components/writer/Badge.stories.tsx +132 -0
  32. package/src/docs/components/writer/Banner.stories.tsx +394 -0
  33. package/src/docs/components/writer/Blockquote.stories.tsx +415 -0
  34. package/src/docs/components/writer/Breadcrumbs.stories.tsx +282 -0
  35. package/src/docs/components/writer/Button.stories.tsx +405 -0
  36. package/src/docs/components/writer/Callout.stories.tsx +183 -0
  37. package/src/docs/components/writer/Card.stories.tsx +457 -0
  38. package/src/docs/components/writer/ColorSchemeButton.stories.tsx +322 -0
  39. package/src/docs/components/writer/Details.stories.tsx +333 -0
  40. package/src/docs/components/writer/GuideCard.stories.tsx +384 -0
  41. package/src/docs/components/writer/Heading.stories.tsx +379 -0
  42. package/src/docs/components/writer/Hr.stories.tsx +325 -0
  43. package/src/docs/components/writer/IconSocial.stories.tsx +591 -0
  44. package/src/docs/components/writer/Image.stories.tsx +430 -0
  45. package/src/docs/components/writer/List.stories.tsx +479 -0
  46. package/src/docs/components/writer/NavLinks.stories.tsx +380 -0
  47. package/src/docs/components/writer/Pre.stories.tsx +23 -0
  48. package/src/docs/components/writer/Steps.stories.tsx +914 -0
  49. package/src/docs/components/writer/Table.stories.tsx +608 -0
  50. package/src/docs/components/writer/Tabs.stories.tsx +760 -0
  51. package/src/docs/components/writer/TocCard.stories.tsx +407 -0
  52. package/src/docs/components/writer/Update.stories.tsx +457 -0
  53. package/src/docs/components/writer/VideoGuide.stories.tsx +17 -0
  54. package/src/docs/templates/CodeSample.stories.tsx +15 -0
  55. package/src/docs/themes/TODO.md +1 -0
  56. package/src/docs/themes/logo.tsx +37 -0
  57. package/src/docs/themes/themes.stories.tsx +269 -0
  58. package/src/docs/ui/Nav.stories.tsx +58 -0
  59. package/src/docs/ui/Sidebar.stories.tsx +167 -0
  60. package/src/docs/ui/SubNav.stories.tsx +29 -0
  61. package/src/utils/mdx.ts +31 -0
  62. package/storybook-static/assets/Atlas.stories-B3Ix52TV.js +153 -0
  63. package/storybook-static/assets/Badge.stories-D3nfVAAW.js +84 -0
  64. package/storybook-static/assets/Banner.stories-BHLs2WlR.js +394 -0
  65. package/storybook-static/assets/Baseline.stories-Bwx2zF_U.js +103 -0
  66. package/storybook-static/assets/Blockquote.stories-Cxf9fDVo.js +468 -0
  67. package/storybook-static/assets/Breadcrumbs.stories-CFjDJvdh.js +219 -0
  68. package/storybook-static/assets/Button-Cj99tk5U-Cn0Wrqkw.js +3 -0
  69. package/storybook-static/assets/Button.stories-DUfQIyn7.js +472 -0
  70. package/storybook-static/assets/Callout.stories-CIQWommc.js +134 -0
  71. package/storybook-static/assets/Card.stories-0mJDPE-f.js +278 -0
  72. package/storybook-static/assets/CodeSample.stories-1k1_b2U_.js +8 -0
  73. package/storybook-static/assets/CodeSample.stories-BEAQ3H6A.js +22 -0
  74. package/storybook-static/assets/Color-YHDXOIA2-BAq_yxd2.js +1 -0
  75. package/storybook-static/assets/ColorSchemeButton.stories-C1yuuA8O.js +384 -0
  76. package/storybook-static/assets/Details.stories-BacIPYUH.js +290 -0
  77. package/storybook-static/assets/DocsRenderer-CFRXHY34-BwJiFRuq.js +575 -0
  78. package/storybook-static/assets/DocsTemplate-B8_ZAKIZ.js +16 -0
  79. package/storybook-static/assets/GuideCard.stories-IJbjW-xe.js +253 -0
  80. package/storybook-static/assets/Heading.stories-C9rBwnlZ.js +337 -0
  81. package/storybook-static/assets/Hr.stories-bgwD4mmY.js +351 -0
  82. package/storybook-static/assets/IconSocial.stories-Bv3u90GB.js +715 -0
  83. package/storybook-static/assets/Icons-CjNNbMNR.js +1 -0
  84. package/storybook-static/assets/Image.stories-BlrJ8Th7.js +349 -0
  85. package/storybook-static/assets/List.stories-mzy4ZAGg.js +513 -0
  86. package/storybook-static/assets/Nav.stories-CZhCHFlj.js +13 -0
  87. package/storybook-static/assets/NavLinks.stories-DuFRhZLh.js +359 -0
  88. package/storybook-static/assets/PageBlogHome.stories-BnmA2r3q.js +14 -0
  89. package/storybook-static/assets/PageFirstSlide-D2kcGYmB-BWfslHla.js +1 -0
  90. package/storybook-static/assets/PageFirstSlide-SzOOIHx0.css +1 -0
  91. package/storybook-static/assets/PageFirstSlide.stories-CoKlxYlH.js +55 -0
  92. package/storybook-static/assets/PageHome.stories-DcgUrGxe.js +121 -0
  93. package/storybook-static/assets/Pre.stories-CKu9R4kn.js +11 -0
  94. package/storybook-static/assets/Sidebar.stories-BivU6MOT.js +9 -0
  95. package/storybook-static/assets/Steps.stories-fSa3Sw8j.js +1146 -0
  96. package/storybook-static/assets/SubNav.stories-CL_Th3oO.js +19 -0
  97. package/storybook-static/assets/Table.stories-BdNM7k9y.js +581 -0
  98. package/storybook-static/assets/Tabs.stories-A3NcBab_.js +873 -0
  99. package/storybook-static/assets/Text-BAwif7rv-BYvLGGQV.js +31 -0
  100. package/storybook-static/assets/TocCard.stories-BRB1SH6U.js +299 -0
  101. package/storybook-static/assets/Update-DflVXGGQ-qVV03FlC.js +1 -0
  102. package/storybook-static/assets/Update.stories-DG383caW.js +387 -0
  103. package/storybook-static/assets/VideoGuide.stories-BnCDLXK7.js +3 -0
  104. package/storybook-static/assets/__vite-browser-external-FmFgRqLi.js +1 -0
  105. package/storybook-static/assets/_rollupPluginBabelHelpers-DuYa1R0C-CyXpXONY.js +4 -0
  106. package/storybook-static/assets/chunk-EF7DTUVF-DPkwZaUR.js +12 -0
  107. package/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js +1 -0
  108. package/storybook-static/assets/content-BRdfAQPf.js +27 -0
  109. package/storybook-static/assets/entry-preview-D5WwyKaL.js +2 -0
  110. package/storybook-static/assets/entry-preview-docs-DU3GzdsG.js +46 -0
  111. package/storybook-static/assets/entry-preview-rsc-56ExrKd2.js +1 -0
  112. package/storybook-static/assets/github-BKgXy13-.js +6 -0
  113. package/storybook-static/assets/iframe-YbiB23cy.js +211 -0
  114. package/storybook-static/assets/index-Cf9b6H0j.js +8 -0
  115. package/storybook-static/assets/index-CrSc8wm9.js +240 -0
  116. package/storybook-static/assets/index-CzKwSnp0.js +9 -0
  117. package/storybook-static/assets/index-D6tQpKjq.js +12 -0
  118. package/storybook-static/assets/index-DUCcPMOf.js +1 -0
  119. package/storybook-static/assets/index-D_kTjGoR.js +9 -0
  120. package/storybook-static/assets/index-DgnBCu_c.js +1 -0
  121. package/storybook-static/assets/index-DrFu-skq.js +6 -0
  122. package/storybook-static/assets/index-H0MBf5rE.js +1 -0
  123. package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +9 -0
  124. package/storybook-static/assets/layouts-DBdGRyBm.js +1 -0
  125. package/storybook-static/assets/preview-B5edrxhc.js +1 -0
  126. package/storybook-static/assets/preview-BWzBA1C2.js +396 -0
  127. package/storybook-static/assets/preview-C5EOgwJ9.js +2 -0
  128. package/storybook-static/assets/preview-DGZ5Qq08.js +34 -0
  129. package/storybook-static/assets/preview-DTyQTpzx.js +1 -0
  130. package/storybook-static/assets/preview-TqM3Oi8H.js +1 -0
  131. package/storybook-static/assets/preview-WIE65ICp.js +1 -0
  132. package/storybook-static/assets/preview-_Oh-njOd.css +1 -0
  133. package/storybook-static/assets/preview-caVMbCIR.js +7 -0
  134. package/storybook-static/assets/react-18-Tf4JhPOR.js +25 -0
  135. package/storybook-static/assets/system-CcsYyfSK.js +1 -0
  136. package/storybook-static/assets/test-utils-BaXAOqRT.js +9 -0
  137. package/storybook-static/assets/themes.stories-D1474P9U.js +41 -0
  138. package/storybook-static/assets/writer-DkrWmB39.js +1 -0
  139. package/storybook-static/favicon.svg +1 -0
  140. package/storybook-static/iframe.html +666 -0
  141. package/storybook-static/index.html +183 -0
  142. package/storybook-static/index.json +1 -0
  143. package/storybook-static/logo.svg +10 -0
  144. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  145. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  146. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  147. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  148. package/storybook-static/project.json +1 -0
  149. package/storybook-static/sb-addons/docs-9/manager-bundle.js +242 -0
  150. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  151. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
  152. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +402 -0
  153. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
  154. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
  155. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
  156. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
  157. package/storybook-static/sb-addons/storybook-10/manager-bundle.js +3 -0
  158. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  159. package/storybook-static/sb-addons/storysource-8/manager-bundle.js +3 -0
  160. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  161. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  162. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  163. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  164. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  165. package/storybook-static/sb-manager/globals-module-info.js +1052 -0
  166. package/storybook-static/sb-manager/globals-runtime.js +42127 -0
  167. package/storybook-static/sb-manager/globals.js +48 -0
  168. package/storybook-static/sb-manager/runtime.js +12048 -0
  169. package/tsconfig.json +39 -0
  170. package/tsconfig.tsbuildinfo +1 -0
  171. package/vite.config.ts +8 -0
@@ -0,0 +1 @@
1
+ import{j as o}from"./jsx-runtime-D_zvdyIk.js";function e(){return o.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10 8L16 12L10 16V8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]})}function n(){return o.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M21 7L13.2273 14.9167L9.13636 10.75L3 17",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M16 7H21V12",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]})}function s(){return o.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 20L12 10",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M6 20L6 4",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M18 20L18 16",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]})}e.__docgenInfo={description:"",methods:[],displayName:"IconSessionReplay"};n.__docgenInfo={description:"",methods:[],displayName:"IconMetrics"};s.__docgenInfo={description:"",methods:[],displayName:"IconFunnels"};export{e as I,s as a,n as b};
@@ -0,0 +1,349 @@
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import"./writer-DkrWmB39.js";import{q 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 j={title:"Components/Writer/Image",component:t,parameters:{docs:{description:{component:"Image component provides a styled image element with consistent styling and accessibility features."}}},argTypes:{src:{description:"URL of the image to display",control:"text"},alt:{description:"Alt text for accessibility",control:"text"},width:{description:"Width of the image",control:"number"},height:{description:"Height of the image",control:"number"},style:{description:"Additional CSS styles",control:"object"}}},o={args:{src:"https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=400&h=300&fit=crop",alt:"A beautiful landscape image"},render:s=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...s})})},i={args:{src:"https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=400&h=300&fit=crop",alt:"Image with custom dimensions",width:300,height:200},render:s=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...s})})},a={render:()=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Landscape Image"}),e.jsx(t,{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=200&fit=crop",alt:"Mountain landscape",width:400,height:200})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Portrait Image"}),e.jsx(t,{src:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=400&fit=crop",alt:"Portrait photo",width:200,height:400})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Square Image"}),e.jsx(t,{src:"https://images.unsplash.com/photo-1557683316-973673baf926?w=300&h=300&fit=crop",alt:"Abstract pattern",width:300,height:300})]})]})},r={args:{src:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=400&h=300&fit=crop",alt:"Image with custom styling",style:{borderRadius:"12px",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.1)",border:"2px solid #e0e0e0"}},render:s=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(t,{...s})})},p={render:()=>e.jsx("div",{style:{padding:"20px"},children:e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"20px",maxWidth:"800px"},children:[e.jsx(t,{src:"https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=200&h=150&fit=crop",alt:"First image",width:200,height:150}),e.jsx(t,{src:"https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=200&h=150&fit=crop",alt:"Second image",width:200,height:150}),e.jsx(t,{src:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=200&h=150&fit=crop",alt:"Third image",width:200,height:150}),e.jsx(t,{src:"https://images.unsplash.com/photo-1557683316-973673baf926?w=200&h=150&fit=crop",alt:"Fourth image",width:200,height:150})]})})},n={render:()=>e.jsxs("div",{style:{padding:"20px",maxWidth:"600px"},children:[e.jsx("h2",{children:"Article with Images"}),e.jsx("p",{children:"This is an example of how images can be used within content. The Image component provides consistent styling and proper accessibility features."}),e.jsx(t,{src:"https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=500&h=300&fit=crop",alt:"Beautiful landscape to illustrate the article",width:500,height:300,style:{margin:"20px 0"}}),e.jsx("p",{children:"The image above demonstrates how the Image component integrates seamlessly with surrounding content. It maintains proper spacing and responsive behavior."}),e.jsx("h3",{children:"Another Section"}),e.jsx("p",{children:"Here's another image that shows different styling options and how they work within the content flow."}),e.jsx(t,{src:"https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=400&h=250&fit=crop",alt:"Another example image",width:400,height:250,style:{margin:"20px 0",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}})]})},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:"Responsive Grid"}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))",gap:"16px"},children:[e.jsx(t,{src:"https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=300&h=200&fit=crop",alt:"Responsive image 1",style:{width:"100%",height:"auto"}}),e.jsx(t,{src:"https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=300&h=200&fit=crop",alt:"Responsive image 2",style:{width:"100%",height:"auto"}}),e.jsx(t,{src:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=300&h=200&fit=crop",alt:"Responsive image 3",style:{width:"100%",height:"auto"}})]})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Flexible Layout"}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexWrap:"wrap"},children:[e.jsx(t,{src:"https://images.unsplash.com/photo-1557683316-973673baf926?w=200&h=150&fit=crop",alt:"Flexible image 1",style:{flex:"1",minWidth:"200px",maxWidth:"300px"}}),e.jsx(t,{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=200&h=150&fit=crop",alt:"Flexible image 2",style:{flex:"1",minWidth:"200px",maxWidth:"300px"}}),e.jsx(t,{src:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=150&fit=crop",alt:"Flexible image 3",style:{flex:"1",minWidth:"200px",maxWidth:"300px"}})]})]})]})},h={render:()=>e.jsxs("div",{style:{padding:"20px",maxWidth:"800px"},children:[e.jsxs("div",{style:{marginBottom:"40px"},children:[e.jsx("h2",{children:"Documentation Screenshots"}),e.jsx("p",{children:"Images are commonly used in documentation to show screenshots and examples."}),e.jsxs("div",{style:{background:"var(--xyd-bgcolor)",border:"1px solid var(--xyd-border-color)",borderRadius:"8px",padding:"20px"},children:[e.jsx("h3",{children:"API Dashboard"}),e.jsx("p",{children:"Here's how the API dashboard looks in action:"}),e.jsx(t,{src:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=600&h=300&fit=crop",alt:"API dashboard screenshot",width:600,height:300,style:{margin:"16px 0",borderRadius:"4px",border:"1px solid var(--xyd-border-color)"}}),e.jsx("p",{style:{fontSize:"14px",color:"var(--xyd-text-color-secondary)"},children:"The dashboard provides real-time metrics and analytics for your API usage."})]})]}),e.jsxs("div",{style:{marginBottom:"40px"},children:[e.jsx("h2",{children:"Product Gallery"}),e.jsx("p",{children:"Images can be used to showcase products or features."}),e.jsx("div",{style:{background:"var(--xyd-bgcolor)",border:"1px solid var(--xyd-border-color)",borderRadius:"8px",padding:"20px"},children:e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"16px"},children:[e.jsxs("div",{children:[e.jsx(t,{src:"https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=200&h=150&fit=crop",alt:"Feature 1",width:200,height:150,style:{borderRadius:"4px"}}),e.jsx("p",{style:{marginTop:"8px",fontSize:"14px"},children:"Feature One"})]}),e.jsxs("div",{children:[e.jsx(t,{src:"https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=200&h=150&fit=crop",alt:"Feature 2",width:200,height:150,style:{borderRadius:"4px"}}),e.jsx("p",{style:{marginTop:"8px",fontSize:"14px"},children:"Feature Two"})]}),e.jsxs("div",{children:[e.jsx(t,{src:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=200&h=150&fit=crop",alt:"Feature 3",width:200,height:150,style:{borderRadius:"4px"}}),e.jsx("p",{style:{marginTop:"8px",fontSize:"14px"},children:"Feature Three"})]})]})})]}),e.jsxs("div",{style:{marginBottom:"40px"},children:[e.jsx("h2",{children:"Blog Post Images"}),e.jsx("p",{children:"Images enhance blog posts and articles with visual content."}),e.jsxs("div",{style:{background:"var(--xyd-bgcolor)",border:"1px solid var(--xyd-border-color)",borderRadius:"8px",padding:"20px"},children:[e.jsx("h3",{children:"Getting Started with Our Platform"}),e.jsx("p",{children:"Our platform provides powerful tools for developers. Here's a quick overview of the main interface and how to get started."}),e.jsx(t,{src:"https://images.unsplash.com/photo-1557683316-973673baf926?w=500&h=300&fit=crop",alt:"Platform interface overview",width:500,height:300,style:{margin:"20px 0",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)"}}),e.jsx("p",{children:"The interface is designed to be intuitive and user-friendly, with clear navigation and helpful tooltips throughout."})]})]})]}),parameters:{docs:{description:{story:"This example shows how images are typically used in real applications."}}}},l={args:{src:"https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=400&h=300&fit=crop",alt:"Interactive image example"},render:s=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsxs("div",{style:{background:"var(--xyd-bgcolor)",border:"1px solid var(--xyd-border-color)",borderRadius:"8px",padding:"20px",marginBottom:"20px"},children:[e.jsx("h3",{style:{marginBottom:"16px"},children:"Image Component Demo"}),e.jsx("p",{style:{marginBottom:"16px",color:"var(--xyd-text-color)"},children:"This example demonstrates the Image component with various styling options and responsive behavior."}),e.jsx(t,{...s})]}),e.jsxs("div",{style:{background:"var(--xyd-bgcolor)",border:"1px solid var(--xyd-border-color)",borderRadius:"8px",padding:"20px"},children:[e.jsx("h4",{style:{marginBottom:"12px"},children:"Features"}),e.jsxs("ul",{style:{color:"var(--xyd-text-color)"},children:[e.jsx("li",{children:"Consistent styling with design system"}),e.jsx("li",{children:"Responsive behavior"}),e.jsx("li",{children:"Accessibility support"}),e.jsx("li",{children:"Customizable styling"}),e.jsx("li",{children:"Theme-aware colors"})]})]})]}),parameters:{docs:{description:{story:"This interactive example demonstrates the Image component functionality and styling."}}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
2
+ args: {
3
+ src: 'https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=400&h=300&fit=crop',
4
+ alt: 'A beautiful landscape image'
5
+ },
6
+ render: args => <div style={{
7
+ padding: '20px'
8
+ }}>
9
+ <Image {...args} />
10
+ </div>
11
+ }`,...o.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
12
+ args: {
13
+ src: 'https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=400&h=300&fit=crop',
14
+ alt: 'Image with custom dimensions',
15
+ width: 300,
16
+ height: 200
17
+ },
18
+ render: args => <div style={{
19
+ padding: '20px'
20
+ }}>
21
+ <Image {...args} />
22
+ </div>
23
+ }`,...i.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
24
+ render: () => <div style={{
25
+ padding: '20px'
26
+ }}>
27
+ <div style={{
28
+ marginBottom: '30px'
29
+ }}>
30
+ <h3 style={{
31
+ marginBottom: '10px',
32
+ color: '#666'
33
+ }}>Landscape Image</h3>
34
+ <Image src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=200&fit=crop" alt="Mountain landscape" width={400} height={200} />
35
+ </div>
36
+
37
+ <div style={{
38
+ marginBottom: '30px'
39
+ }}>
40
+ <h3 style={{
41
+ marginBottom: '10px',
42
+ color: '#666'
43
+ }}>Portrait Image</h3>
44
+ <Image src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=400&fit=crop" alt="Portrait photo" width={200} height={400} />
45
+ </div>
46
+
47
+ <div style={{
48
+ marginBottom: '30px'
49
+ }}>
50
+ <h3 style={{
51
+ marginBottom: '10px',
52
+ color: '#666'
53
+ }}>Square Image</h3>
54
+ <Image src="https://images.unsplash.com/photo-1557683316-973673baf926?w=300&h=300&fit=crop" alt="Abstract pattern" width={300} height={300} />
55
+ </div>
56
+ </div>
57
+ }`,...a.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
58
+ args: {
59
+ src: 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=400&h=300&fit=crop',
60
+ alt: 'Image with custom styling',
61
+ style: {
62
+ borderRadius: '12px',
63
+ boxShadow: '0 4px 8px rgba(0, 0, 0, 0.1)',
64
+ border: '2px solid #e0e0e0'
65
+ }
66
+ },
67
+ render: args => <div style={{
68
+ padding: '20px'
69
+ }}>
70
+ <Image {...args} />
71
+ </div>
72
+ }`,...r.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
73
+ render: () => <div style={{
74
+ padding: '20px'
75
+ }}>
76
+ <div style={{
77
+ display: 'grid',
78
+ gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))',
79
+ gap: '20px',
80
+ maxWidth: '800px'
81
+ }}>
82
+ <Image src="https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=200&h=150&fit=crop" alt="First image" width={200} height={150} />
83
+ <Image src="https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=200&h=150&fit=crop" alt="Second image" width={200} height={150} />
84
+ <Image src="https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=200&h=150&fit=crop" alt="Third image" width={200} height={150} />
85
+ <Image src="https://images.unsplash.com/photo-1557683316-973673baf926?w=200&h=150&fit=crop" alt="Fourth image" width={200} height={150} />
86
+ </div>
87
+ </div>
88
+ }`,...p.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
89
+ render: () => <div style={{
90
+ padding: '20px',
91
+ maxWidth: '600px'
92
+ }}>
93
+ <h2>Article with Images</h2>
94
+ <p>
95
+ This is an example of how images can be used within content. The Image component
96
+ provides consistent styling and proper accessibility features.
97
+ </p>
98
+
99
+ <Image src="https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=500&h=300&fit=crop" alt="Beautiful landscape to illustrate the article" width={500} height={300} style={{
100
+ margin: '20px 0'
101
+ }} />
102
+
103
+ <p>
104
+ The image above demonstrates how the Image component integrates seamlessly with
105
+ surrounding content. It maintains proper spacing and responsive behavior.
106
+ </p>
107
+
108
+ <h3>Another Section</h3>
109
+ <p>
110
+ Here's another image that shows different styling options and how they work
111
+ within the content flow.
112
+ </p>
113
+
114
+ <Image src="https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=400&h=250&fit=crop" alt="Another example image" width={400} height={250} style={{
115
+ margin: '20px 0',
116
+ borderRadius: '8px',
117
+ boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)'
118
+ }} />
119
+ </div>
120
+ }`,...n.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
121
+ render: () => <div style={{
122
+ padding: '20px'
123
+ }}>
124
+ <div style={{
125
+ marginBottom: '30px'
126
+ }}>
127
+ <h3 style={{
128
+ marginBottom: '10px',
129
+ color: '#666'
130
+ }}>Responsive Grid</h3>
131
+ <div style={{
132
+ display: 'grid',
133
+ gridTemplateColumns: 'repeat(auto-fit, minmax(250px, 1fr))',
134
+ gap: '16px'
135
+ }}>
136
+ <Image src="https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=300&h=200&fit=crop" alt="Responsive image 1" style={{
137
+ width: '100%',
138
+ height: 'auto'
139
+ }} />
140
+ <Image src="https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=300&h=200&fit=crop" alt="Responsive image 2" style={{
141
+ width: '100%',
142
+ height: 'auto'
143
+ }} />
144
+ <Image src="https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=300&h=200&fit=crop" alt="Responsive image 3" style={{
145
+ width: '100%',
146
+ height: 'auto'
147
+ }} />
148
+ </div>
149
+ </div>
150
+
151
+ <div style={{
152
+ marginBottom: '30px'
153
+ }}>
154
+ <h3 style={{
155
+ marginBottom: '10px',
156
+ color: '#666'
157
+ }}>Flexible Layout</h3>
158
+ <div style={{
159
+ display: 'flex',
160
+ gap: '16px',
161
+ flexWrap: 'wrap'
162
+ }}>
163
+ <Image src="https://images.unsplash.com/photo-1557683316-973673baf926?w=200&h=150&fit=crop" alt="Flexible image 1" style={{
164
+ flex: '1',
165
+ minWidth: '200px',
166
+ maxWidth: '300px'
167
+ }} />
168
+ <Image src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=200&h=150&fit=crop" alt="Flexible image 2" style={{
169
+ flex: '1',
170
+ minWidth: '200px',
171
+ maxWidth: '300px'
172
+ }} />
173
+ <Image src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=150&fit=crop" alt="Flexible image 3" style={{
174
+ flex: '1',
175
+ minWidth: '200px',
176
+ maxWidth: '300px'
177
+ }} />
178
+ </div>
179
+ </div>
180
+ </div>
181
+ }`,...d.parameters?.docs?.source}}};h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`{
182
+ render: () => <div style={{
183
+ padding: '20px',
184
+ maxWidth: '800px'
185
+ }}>
186
+ <div style={{
187
+ marginBottom: '40px'
188
+ }}>
189
+ <h2>Documentation Screenshots</h2>
190
+ <p>Images are commonly used in documentation to show screenshots and examples.</p>
191
+ <div style={{
192
+ background: 'var(--xyd-bgcolor)',
193
+ border: '1px solid var(--xyd-border-color)',
194
+ borderRadius: '8px',
195
+ padding: '20px'
196
+ }}>
197
+ <h3>API Dashboard</h3>
198
+ <p>Here's how the API dashboard looks in action:</p>
199
+ <Image src="https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=600&h=300&fit=crop" alt="API dashboard screenshot" width={600} height={300} style={{
200
+ margin: '16px 0',
201
+ borderRadius: '4px',
202
+ border: '1px solid var(--xyd-border-color)'
203
+ }} />
204
+ <p style={{
205
+ fontSize: '14px',
206
+ color: 'var(--xyd-text-color-secondary)'
207
+ }}>
208
+ The dashboard provides real-time metrics and analytics for your API usage.
209
+ </p>
210
+ </div>
211
+ </div>
212
+
213
+ <div style={{
214
+ marginBottom: '40px'
215
+ }}>
216
+ <h2>Product Gallery</h2>
217
+ <p>Images can be used to showcase products or features.</p>
218
+ <div style={{
219
+ background: 'var(--xyd-bgcolor)',
220
+ border: '1px solid var(--xyd-border-color)',
221
+ borderRadius: '8px',
222
+ padding: '20px'
223
+ }}>
224
+ <div style={{
225
+ display: 'grid',
226
+ gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))',
227
+ gap: '16px'
228
+ }}>
229
+ <div>
230
+ <Image src="https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=200&h=150&fit=crop" alt="Feature 1" width={200} height={150} style={{
231
+ borderRadius: '4px'
232
+ }} />
233
+ <p style={{
234
+ marginTop: '8px',
235
+ fontSize: '14px'
236
+ }}>Feature One</p>
237
+ </div>
238
+ <div>
239
+ <Image src="https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?w=200&h=150&fit=crop" alt="Feature 2" width={200} height={150} style={{
240
+ borderRadius: '4px'
241
+ }} />
242
+ <p style={{
243
+ marginTop: '8px',
244
+ fontSize: '14px'
245
+ }}>Feature Two</p>
246
+ </div>
247
+ <div>
248
+ <Image src="https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=200&h=150&fit=crop" alt="Feature 3" width={200} height={150} style={{
249
+ borderRadius: '4px'
250
+ }} />
251
+ <p style={{
252
+ marginTop: '8px',
253
+ fontSize: '14px'
254
+ }}>Feature Three</p>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ </div>
259
+
260
+ <div style={{
261
+ marginBottom: '40px'
262
+ }}>
263
+ <h2>Blog Post Images</h2>
264
+ <p>Images enhance blog posts and articles with visual content.</p>
265
+ <div style={{
266
+ background: 'var(--xyd-bgcolor)',
267
+ border: '1px solid var(--xyd-border-color)',
268
+ borderRadius: '8px',
269
+ padding: '20px'
270
+ }}>
271
+ <h3>Getting Started with Our Platform</h3>
272
+ <p>
273
+ Our platform provides powerful tools for developers. Here's a quick overview
274
+ of the main interface and how to get started.
275
+ </p>
276
+ <Image src="https://images.unsplash.com/photo-1557683316-973673baf926?w=500&h=300&fit=crop" alt="Platform interface overview" width={500} height={300} style={{
277
+ margin: '20px 0',
278
+ borderRadius: '8px',
279
+ boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)'
280
+ }} />
281
+ <p>
282
+ The interface is designed to be intuitive and user-friendly, with clear
283
+ navigation and helpful tooltips throughout.
284
+ </p>
285
+ </div>
286
+ </div>
287
+ </div>,
288
+ parameters: {
289
+ docs: {
290
+ description: {
291
+ story: 'This example shows how images are typically used in real applications.'
292
+ }
293
+ }
294
+ }
295
+ }`,...h.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
296
+ args: {
297
+ src: 'https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=400&h=300&fit=crop',
298
+ alt: 'Interactive image example'
299
+ },
300
+ render: args => <div style={{
301
+ padding: '20px'
302
+ }}>
303
+ <div style={{
304
+ background: 'var(--xyd-bgcolor)',
305
+ border: '1px solid var(--xyd-border-color)',
306
+ borderRadius: '8px',
307
+ padding: '20px',
308
+ marginBottom: '20px'
309
+ }}>
310
+ <h3 style={{
311
+ marginBottom: '16px'
312
+ }}>Image Component Demo</h3>
313
+ <p style={{
314
+ marginBottom: '16px',
315
+ color: 'var(--xyd-text-color)'
316
+ }}>
317
+ This example demonstrates the Image component with various styling options and responsive behavior.
318
+ </p>
319
+ <Image {...args} />
320
+ </div>
321
+
322
+ <div style={{
323
+ background: 'var(--xyd-bgcolor)',
324
+ border: '1px solid var(--xyd-border-color)',
325
+ borderRadius: '8px',
326
+ padding: '20px'
327
+ }}>
328
+ <h4 style={{
329
+ marginBottom: '12px'
330
+ }}>Features</h4>
331
+ <ul style={{
332
+ color: 'var(--xyd-text-color)'
333
+ }}>
334
+ <li>Consistent styling with design system</li>
335
+ <li>Responsive behavior</li>
336
+ <li>Accessibility support</li>
337
+ <li>Customizable styling</li>
338
+ <li>Theme-aware colors</li>
339
+ </ul>
340
+ </div>
341
+ </div>,
342
+ parameters: {
343
+ docs: {
344
+ description: {
345
+ story: 'This interactive example demonstrates the Image component functionality and styling.'
346
+ }
347
+ }
348
+ }
349
+ }`,...l.parameters?.docs?.source}}};const I=["Default","WithDimensions","DifferentImageTypes","WithCustomStyling","MultipleImages","InContentContext","ResponsiveImages","RealWorldExamples","Interactive"];export{o as Default,a as DifferentImageTypes,n as InContentContext,l as Interactive,p as MultipleImages,h as RealWorldExamples,d as ResponsiveImages,r as WithCustomStyling,i as WithDimensions,I as __namedExportsOrder,j as default};