@xyd-js/storybook 0.0.1-build.178 → 0.0.1-build.180

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 (110) hide show
  1. package/CHANGELOG.md +9 -2517
  2. package/package.json +9 -9
  3. package/storybook-static/assets/Atlas.stories-B3Ix52TV.js +0 -153
  4. package/storybook-static/assets/Badge.stories-D3nfVAAW.js +0 -84
  5. package/storybook-static/assets/Banner.stories-BHLs2WlR.js +0 -394
  6. package/storybook-static/assets/Baseline.stories-Bwx2zF_U.js +0 -103
  7. package/storybook-static/assets/Blockquote.stories-Cxf9fDVo.js +0 -468
  8. package/storybook-static/assets/Breadcrumbs.stories-CFjDJvdh.js +0 -219
  9. package/storybook-static/assets/Button-Cj99tk5U-Cn0Wrqkw.js +0 -3
  10. package/storybook-static/assets/Button.stories-DUfQIyn7.js +0 -472
  11. package/storybook-static/assets/Callout.stories-CIQWommc.js +0 -134
  12. package/storybook-static/assets/Card.stories-0mJDPE-f.js +0 -278
  13. package/storybook-static/assets/CodeSample.stories-1k1_b2U_.js +0 -8
  14. package/storybook-static/assets/CodeSample.stories-BEAQ3H6A.js +0 -22
  15. package/storybook-static/assets/Color-YHDXOIA2-BAq_yxd2.js +0 -1
  16. package/storybook-static/assets/ColorSchemeButton.stories-C1yuuA8O.js +0 -384
  17. package/storybook-static/assets/Details.stories-BacIPYUH.js +0 -290
  18. package/storybook-static/assets/DocsRenderer-CFRXHY34-BwJiFRuq.js +0 -575
  19. package/storybook-static/assets/DocsTemplate-B8_ZAKIZ.js +0 -16
  20. package/storybook-static/assets/GuideCard.stories-IJbjW-xe.js +0 -253
  21. package/storybook-static/assets/Heading.stories-C9rBwnlZ.js +0 -337
  22. package/storybook-static/assets/Hr.stories-bgwD4mmY.js +0 -351
  23. package/storybook-static/assets/IconSocial.stories-Bv3u90GB.js +0 -715
  24. package/storybook-static/assets/Icons-CjNNbMNR.js +0 -1
  25. package/storybook-static/assets/Image.stories-BlrJ8Th7.js +0 -349
  26. package/storybook-static/assets/List.stories-mzy4ZAGg.js +0 -513
  27. package/storybook-static/assets/Nav.stories-CZhCHFlj.js +0 -13
  28. package/storybook-static/assets/NavLinks.stories-DuFRhZLh.js +0 -359
  29. package/storybook-static/assets/PageBlogHome.stories-BnmA2r3q.js +0 -14
  30. package/storybook-static/assets/PageFirstSlide-D2kcGYmB-BWfslHla.js +0 -1
  31. package/storybook-static/assets/PageFirstSlide-SzOOIHx0.css +0 -1
  32. package/storybook-static/assets/PageFirstSlide.stories-CoKlxYlH.js +0 -55
  33. package/storybook-static/assets/PageHome.stories-DcgUrGxe.js +0 -121
  34. package/storybook-static/assets/Pre.stories-CKu9R4kn.js +0 -11
  35. package/storybook-static/assets/Sidebar.stories-BivU6MOT.js +0 -9
  36. package/storybook-static/assets/Steps.stories-fSa3Sw8j.js +0 -1146
  37. package/storybook-static/assets/SubNav.stories-CL_Th3oO.js +0 -19
  38. package/storybook-static/assets/Table.stories-BdNM7k9y.js +0 -581
  39. package/storybook-static/assets/Tabs.stories-A3NcBab_.js +0 -873
  40. package/storybook-static/assets/Text-BAwif7rv-BYvLGGQV.js +0 -31
  41. package/storybook-static/assets/TocCard.stories-BRB1SH6U.js +0 -299
  42. package/storybook-static/assets/Update-DflVXGGQ-qVV03FlC.js +0 -1
  43. package/storybook-static/assets/Update.stories-DG383caW.js +0 -387
  44. package/storybook-static/assets/VideoGuide.stories-BnCDLXK7.js +0 -3
  45. package/storybook-static/assets/__vite-browser-external-FmFgRqLi.js +0 -1
  46. package/storybook-static/assets/_rollupPluginBabelHelpers-DuYa1R0C-CyXpXONY.js +0 -4
  47. package/storybook-static/assets/chunk-EF7DTUVF-DPkwZaUR.js +0 -12
  48. package/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js +0 -1
  49. package/storybook-static/assets/content-BRdfAQPf.js +0 -27
  50. package/storybook-static/assets/entry-preview-D5WwyKaL.js +0 -2
  51. package/storybook-static/assets/entry-preview-docs-DU3GzdsG.js +0 -46
  52. package/storybook-static/assets/entry-preview-rsc-56ExrKd2.js +0 -1
  53. package/storybook-static/assets/github-BKgXy13-.js +0 -6
  54. package/storybook-static/assets/iframe-YbiB23cy.js +0 -211
  55. package/storybook-static/assets/index-Cf9b6H0j.js +0 -8
  56. package/storybook-static/assets/index-CrSc8wm9.js +0 -240
  57. package/storybook-static/assets/index-CzKwSnp0.js +0 -9
  58. package/storybook-static/assets/index-D6tQpKjq.js +0 -12
  59. package/storybook-static/assets/index-DUCcPMOf.js +0 -1
  60. package/storybook-static/assets/index-D_kTjGoR.js +0 -9
  61. package/storybook-static/assets/index-DgnBCu_c.js +0 -1
  62. package/storybook-static/assets/index-DrFu-skq.js +0 -6
  63. package/storybook-static/assets/index-H0MBf5rE.js +0 -1
  64. package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +0 -9
  65. package/storybook-static/assets/layouts-DBdGRyBm.js +0 -1
  66. package/storybook-static/assets/preview-B5edrxhc.js +0 -1
  67. package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
  68. package/storybook-static/assets/preview-C5EOgwJ9.js +0 -2
  69. package/storybook-static/assets/preview-DGZ5Qq08.js +0 -34
  70. package/storybook-static/assets/preview-DTyQTpzx.js +0 -1
  71. package/storybook-static/assets/preview-TqM3Oi8H.js +0 -1
  72. package/storybook-static/assets/preview-WIE65ICp.js +0 -1
  73. package/storybook-static/assets/preview-_Oh-njOd.css +0 -1
  74. package/storybook-static/assets/preview-caVMbCIR.js +0 -7
  75. package/storybook-static/assets/react-18-Tf4JhPOR.js +0 -25
  76. package/storybook-static/assets/system-CcsYyfSK.js +0 -1
  77. package/storybook-static/assets/test-utils-BaXAOqRT.js +0 -9
  78. package/storybook-static/assets/themes.stories-D1474P9U.js +0 -41
  79. package/storybook-static/assets/writer-DkrWmB39.js +0 -1
  80. package/storybook-static/favicon.svg +0 -1
  81. package/storybook-static/iframe.html +0 -666
  82. package/storybook-static/index.html +0 -183
  83. package/storybook-static/index.json +0 -1
  84. package/storybook-static/logo.svg +0 -10
  85. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  86. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  87. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  88. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  89. package/storybook-static/project.json +0 -1
  90. package/storybook-static/sb-addons/docs-9/manager-bundle.js +0 -242
  91. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
  92. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
  93. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -402
  94. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
  95. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
  96. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
  97. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
  98. package/storybook-static/sb-addons/storybook-10/manager-bundle.js +0 -3
  99. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  100. package/storybook-static/sb-addons/storysource-8/manager-bundle.js +0 -3
  101. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  102. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  103. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  104. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  105. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  106. package/storybook-static/sb-manager/globals-module-info.js +0 -1052
  107. package/storybook-static/sb-manager/globals-runtime.js +0 -42127
  108. package/storybook-static/sb-manager/globals.js +0 -48
  109. package/storybook-static/sb-manager/runtime.js +0 -12048
  110. package/tsconfig.tsbuildinfo +0 -1
@@ -1,337 +0,0 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import"./writer-DkrWmB39.js";import{k as i}from"./Text-BAwif7rv-BYvLGGQV.js";import"./Update-DflVXGGQ-qVV03FlC.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 A={title:"Components/Writer/Heading",component:i,parameters:{docs:{description:{component:"Heading component renders headings with various sizes (h1-h6) and supports additional features like labels, subtitles, and anchor links."}}},argTypes:{children:{description:"The content to display inside the heading",control:"text"},size:{description:"The size of the heading (1-6, corresponding to h1-h6)",control:{type:"select"},options:[1,2,3,4,5,6]},as:{description:"Optional HTML element to render as (div or span)",control:{type:"select"},options:["div","span"]},id:{description:"Optional ID for the heading element",control:"text"},kind:{description:"Optional visual style variant",control:{type:"select"},options:["muted"]},onClick:{description:"Optional click handler",control:!1},className:{description:"Optional additional CSS class name",control:"text"},active:{description:"Optional active state",control:"boolean"},label:{description:"Optional label for the heading",control:"text"},subtitle:{description:"Optional subtitle for the heading",control:"text"},noanchor:{description:"Optional to hide the anchor icon",control:"boolean"}}},t={args:{children:"Heading 1",size:1},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},a={render:()=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx(i,{size:1,id:"heading-1",children:"Heading 1 - Main Title"})}),e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx(i,{size:2,id:"heading-2",children:"Heading 2 - Section Title"})}),e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx(i,{size:3,id:"heading-3",children:"Heading 3 - Subsection Title"})}),e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx(i,{size:4,id:"heading-4",children:"Heading 4 - Minor Section"})}),e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx(i,{size:5,id:"heading-5",children:"Heading 5 - Small Section"})}),e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx(i,{size:6,id:"heading-6",children:"Heading 6 - Smallest Heading"})})]})},s={args:{children:"Muted Heading",size:3,kind:"muted"},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},d={args:{children:"Heading with Label",size:2,label:"NEW"},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},r={args:{children:"Main Heading",size:1,subtitle:"This is a subtitle that provides additional context for the main heading."},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},o={args:{children:"Complete Heading",size:2,label:"BETA",subtitle:"This heading demonstrates both a label and subtitle working together."},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},l={args:{children:"Heading without Anchor",size:3,noanchor:!0},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},c={args:{children:"Heading as Div",size:2,as:"div"},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},p={args:{children:"Heading as Span",size:3,as:"span"},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})})},g={args:{children:"Active Heading",size:2,id:"active-heading",active:!0},render:n=>e.jsx("div",{style:{padding:"20px"},children:e.jsx(i,{...n})}),parameters:{docs:{description:{story:"This heading is in an active state, typically used when the heading corresponds to the current section in navigation."}}}},h={args:{children:"Clickable Heading",size:2,id:"interactive-heading"},render:n=>e.jsxs("div",{style:{padding:"20px"},children:[e.jsx(i,{...n}),e.jsx("p",{style:{marginTop:"10px",fontSize:"14px",color:"#666"},children:"Try clicking on the heading above to see the anchor link behavior."})]}),parameters:{docs:{description:{story:"This heading has an ID and is clickable. Clicking it will update the URL hash and scroll to the heading."}}}},m={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 Headings"}),e.jsx(i,{size:1,id:"default-h1",children:"Default H1"}),e.jsx(i,{size:2,id:"default-h2",children:"Default H2"}),e.jsx(i,{size:3,id:"default-h3",children:"Default H3"})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Muted Headings"}),e.jsx(i,{size:1,kind:"muted",id:"muted-h1",children:"Muted H1"}),e.jsx(i,{size:2,kind:"muted",id:"muted-h2",children:"Muted H2"}),e.jsx(i,{size:3,kind:"muted",id:"muted-h3",children:"Muted H3"})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Headings with Labels"}),e.jsx(i,{size:2,label:"NEW",id:"label-h2",children:"Heading with Label"}),e.jsx(i,{size:3,label:"BETA",id:"label-h3",children:"Another with Label"})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Headings with Subtitles"}),e.jsx(i,{size:1,subtitle:"This provides additional context",id:"subtitle-h1",children:"Main Heading"}),e.jsx(i,{size:2,subtitle:"Another subtitle example",id:"subtitle-h2",children:"Section Heading"})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Complete Examples"}),e.jsx(i,{size:2,label:"FEATURED",subtitle:"The most comprehensive example",id:"complete-h2",children:"Complete Heading"}),e.jsx(i,{size:3,label:"DEPRECATED",subtitle:"This will be removed soon",id:"complete-h3",children:"Another Complete Example"})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"Without Anchors"}),e.jsx(i,{size:2,noanchor:!0,id:"noanchor-h2",children:"No Anchor H2"}),e.jsx(i,{size:3,noanchor:!0,id:"noanchor-h3",children:"No Anchor H3"})]}),e.jsxs("div",{style:{marginBottom:"30px"},children:[e.jsx("h3",{style:{marginBottom:"10px",color:"#666"},children:"As Different Elements"}),e.jsx(i,{size:2,as:"div",id:"div-h2",children:"Heading as Div"}),e.jsx(i,{size:3,as:"span",id:"span-h3",children:"Heading as Span"})]})]})},u={render:()=>e.jsxs("div",{style:{padding:"20px",maxWidth:"800px"},children:[e.jsx(i,{size:1,id:"getting-started",children:"Getting Started"}),e.jsx("p",{style:{marginBottom:"20px"},children:"Welcome to our comprehensive guide. This section will help you understand the basics."}),e.jsx(i,{size:2,id:"installation",label:"REQUIRED",children:"Installation"}),e.jsx("p",{style:{marginBottom:"20px"},children:"Follow these steps to install the required dependencies."}),e.jsx(i,{size:3,id:"quick-start",children:"Quick Start"}),e.jsx("p",{style:{marginBottom:"20px"},children:"Get up and running in minutes with our quick start guide."}),e.jsx(i,{size:2,id:"configuration",subtitle:"Advanced setup options",children:"Configuration"}),e.jsx("p",{style:{marginBottom:"20px"},children:"Learn about advanced configuration options and customization."}),e.jsx(i,{size:3,id:"environment-variables",label:"OPTIONAL",children:"Environment Variables"}),e.jsx("p",{style:{marginBottom:"20px"},children:"Configure your environment for optimal performance."}),e.jsx(i,{size:2,id:"next-steps",kind:"muted",children:"Next Steps"}),e.jsx("p",{style:{marginBottom:"20px"},children:"Now that you're set up, explore our advanced features and tutorials."})]}),parameters:{docs:{description:{story:"This example shows how headings are typically used in documentation, with various combinations of labels, subtitles, and different sizes."}}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
2
- args: {
3
- children: 'Heading 1',
4
- size: 1
5
- },
6
- render: args => <div style={{
7
- padding: '20px'
8
- }}>
9
- <Heading {...args} />
10
- </div>
11
- }`,...t.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
12
- render: () => <div style={{
13
- padding: '20px'
14
- }}>
15
- <div style={{
16
- marginBottom: '20px'
17
- }}>
18
- <Heading size={1} id="heading-1">
19
- Heading 1 - Main Title
20
- </Heading>
21
- </div>
22
- <div style={{
23
- marginBottom: '20px'
24
- }}>
25
- <Heading size={2} id="heading-2">
26
- Heading 2 - Section Title
27
- </Heading>
28
- </div>
29
- <div style={{
30
- marginBottom: '20px'
31
- }}>
32
- <Heading size={3} id="heading-3">
33
- Heading 3 - Subsection Title
34
- </Heading>
35
- </div>
36
- <div style={{
37
- marginBottom: '20px'
38
- }}>
39
- <Heading size={4} id="heading-4">
40
- Heading 4 - Minor Section
41
- </Heading>
42
- </div>
43
- <div style={{
44
- marginBottom: '20px'
45
- }}>
46
- <Heading size={5} id="heading-5">
47
- Heading 5 - Small Section
48
- </Heading>
49
- </div>
50
- <div style={{
51
- marginBottom: '20px'
52
- }}>
53
- <Heading size={6} id="heading-6">
54
- Heading 6 - Smallest Heading
55
- </Heading>
56
- </div>
57
- </div>
58
- }`,...a.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
59
- args: {
60
- children: 'Muted Heading',
61
- size: 3,
62
- kind: 'muted'
63
- },
64
- render: args => <div style={{
65
- padding: '20px'
66
- }}>
67
- <Heading {...args} />
68
- </div>
69
- }`,...s.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
70
- args: {
71
- children: 'Heading with Label',
72
- size: 2,
73
- label: 'NEW'
74
- },
75
- render: args => <div style={{
76
- padding: '20px'
77
- }}>
78
- <Heading {...args} />
79
- </div>
80
- }`,...d.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
81
- args: {
82
- children: 'Main Heading',
83
- size: 1,
84
- subtitle: 'This is a subtitle that provides additional context for the main heading.'
85
- },
86
- render: args => <div style={{
87
- padding: '20px'
88
- }}>
89
- <Heading {...args} />
90
- </div>
91
- }`,...r.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
92
- args: {
93
- children: 'Complete Heading',
94
- size: 2,
95
- label: 'BETA',
96
- subtitle: 'This heading demonstrates both a label and subtitle working together.'
97
- },
98
- render: args => <div style={{
99
- padding: '20px'
100
- }}>
101
- <Heading {...args} />
102
- </div>
103
- }`,...o.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
104
- args: {
105
- children: 'Heading without Anchor',
106
- size: 3,
107
- noanchor: true
108
- },
109
- render: args => <div style={{
110
- padding: '20px'
111
- }}>
112
- <Heading {...args} />
113
- </div>
114
- }`,...l.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
115
- args: {
116
- children: 'Heading as Div',
117
- size: 2,
118
- as: 'div'
119
- },
120
- render: args => <div style={{
121
- padding: '20px'
122
- }}>
123
- <Heading {...args} />
124
- </div>
125
- }`,...c.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
126
- args: {
127
- children: 'Heading as Span',
128
- size: 3,
129
- as: 'span'
130
- },
131
- render: args => <div style={{
132
- padding: '20px'
133
- }}>
134
- <Heading {...args} />
135
- </div>
136
- }`,...p.parameters?.docs?.source}}};g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:`{
137
- args: {
138
- children: 'Active Heading',
139
- size: 2,
140
- id: 'active-heading',
141
- active: true
142
- },
143
- render: args => <div style={{
144
- padding: '20px'
145
- }}>
146
- <Heading {...args} />
147
- </div>,
148
- parameters: {
149
- docs: {
150
- description: {
151
- story: 'This heading is in an active state, typically used when the heading corresponds to the current section in navigation.'
152
- }
153
- }
154
- }
155
- }`,...g.parameters?.docs?.source}}};h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`{
156
- args: {
157
- children: 'Clickable Heading',
158
- size: 2,
159
- id: 'interactive-heading'
160
- },
161
- render: args => <div style={{
162
- padding: '20px'
163
- }}>
164
- <Heading {...args} />
165
- <p style={{
166
- marginTop: '10px',
167
- fontSize: '14px',
168
- color: '#666'
169
- }}>
170
- Try clicking on the heading above to see the anchor link behavior.
171
- </p>
172
- </div>,
173
- parameters: {
174
- docs: {
175
- description: {
176
- story: 'This heading has an ID and is clickable. Clicking it will update the URL hash and scroll to the heading.'
177
- }
178
- }
179
- }
180
- }`,...h.parameters?.docs?.source}}};m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`{
181
- render: () => <div style={{
182
- padding: '20px'
183
- }}>
184
- <div style={{
185
- marginBottom: '30px'
186
- }}>
187
- <h3 style={{
188
- marginBottom: '10px',
189
- color: '#666'
190
- }}>Default Headings</h3>
191
- <Heading size={1} id="default-h1">Default H1</Heading>
192
- <Heading size={2} id="default-h2">Default H2</Heading>
193
- <Heading size={3} id="default-h3">Default H3</Heading>
194
- </div>
195
-
196
- <div style={{
197
- marginBottom: '30px'
198
- }}>
199
- <h3 style={{
200
- marginBottom: '10px',
201
- color: '#666'
202
- }}>Muted Headings</h3>
203
- <Heading size={1} kind="muted" id="muted-h1">Muted H1</Heading>
204
- <Heading size={2} kind="muted" id="muted-h2">Muted H2</Heading>
205
- <Heading size={3} kind="muted" id="muted-h3">Muted H3</Heading>
206
- </div>
207
-
208
- <div style={{
209
- marginBottom: '30px'
210
- }}>
211
- <h3 style={{
212
- marginBottom: '10px',
213
- color: '#666'
214
- }}>Headings with Labels</h3>
215
- <Heading size={2} label="NEW" id="label-h2">Heading with Label</Heading>
216
- <Heading size={3} label="BETA" id="label-h3">Another with Label</Heading>
217
- </div>
218
-
219
- <div style={{
220
- marginBottom: '30px'
221
- }}>
222
- <h3 style={{
223
- marginBottom: '10px',
224
- color: '#666'
225
- }}>Headings with Subtitles</h3>
226
- <Heading size={1} subtitle="This provides additional context" id="subtitle-h1">
227
- Main Heading
228
- </Heading>
229
- <Heading size={2} subtitle="Another subtitle example" id="subtitle-h2">
230
- Section Heading
231
- </Heading>
232
- </div>
233
-
234
- <div style={{
235
- marginBottom: '30px'
236
- }}>
237
- <h3 style={{
238
- marginBottom: '10px',
239
- color: '#666'
240
- }}>Complete Examples</h3>
241
- <Heading size={2} label="FEATURED" subtitle="The most comprehensive example" id="complete-h2">
242
- Complete Heading
243
- </Heading>
244
- <Heading size={3} label="DEPRECATED" subtitle="This will be removed soon" id="complete-h3">
245
- Another Complete Example
246
- </Heading>
247
- </div>
248
-
249
- <div style={{
250
- marginBottom: '30px'
251
- }}>
252
- <h3 style={{
253
- marginBottom: '10px',
254
- color: '#666'
255
- }}>Without Anchors</h3>
256
- <Heading size={2} noanchor id="noanchor-h2">No Anchor H2</Heading>
257
- <Heading size={3} noanchor id="noanchor-h3">No Anchor H3</Heading>
258
- </div>
259
-
260
- <div style={{
261
- marginBottom: '30px'
262
- }}>
263
- <h3 style={{
264
- marginBottom: '10px',
265
- color: '#666'
266
- }}>As Different Elements</h3>
267
- <Heading size={2} as="div" id="div-h2">Heading as Div</Heading>
268
- <Heading size={3} as="span" id="span-h3">Heading as Span</Heading>
269
- </div>
270
- </div>
271
- }`,...m.parameters?.docs?.source}}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
272
- render: () => <div style={{
273
- padding: '20px',
274
- maxWidth: '800px'
275
- }}>
276
- <Heading size={1} id="getting-started">
277
- Getting Started
278
- </Heading>
279
- <p style={{
280
- marginBottom: '20px'
281
- }}>
282
- Welcome to our comprehensive guide. This section will help you understand the basics.
283
- </p>
284
-
285
- <Heading size={2} id="installation" label="REQUIRED">
286
- Installation
287
- </Heading>
288
- <p style={{
289
- marginBottom: '20px'
290
- }}>
291
- Follow these steps to install the required dependencies.
292
- </p>
293
-
294
- <Heading size={3} id="quick-start">
295
- Quick Start
296
- </Heading>
297
- <p style={{
298
- marginBottom: '20px'
299
- }}>
300
- Get up and running in minutes with our quick start guide.
301
- </p>
302
-
303
- <Heading size={2} id="configuration" subtitle="Advanced setup options">
304
- Configuration
305
- </Heading>
306
- <p style={{
307
- marginBottom: '20px'
308
- }}>
309
- Learn about advanced configuration options and customization.
310
- </p>
311
-
312
- <Heading size={3} id="environment-variables" label="OPTIONAL">
313
- Environment Variables
314
- </Heading>
315
- <p style={{
316
- marginBottom: '20px'
317
- }}>
318
- Configure your environment for optimal performance.
319
- </p>
320
-
321
- <Heading size={2} id="next-steps" kind="muted">
322
- Next Steps
323
- </Heading>
324
- <p style={{
325
- marginBottom: '20px'
326
- }}>
327
- Now that you're set up, explore our advanced features and tutorials.
328
- </p>
329
- </div>,
330
- parameters: {
331
- docs: {
332
- description: {
333
- story: 'This example shows how headings are typically used in documentation, with various combinations of labels, subtitles, and different sizes.'
334
- }
335
- }
336
- }
337
- }`,...u.parameters?.docs?.source}}};const T=["Default","AllSizes","Muted","WithLabel","WithSubtitle","WithLabelAndSubtitle","WithoutAnchor","AsDiv","AsSpan","Active","Interactive","AllVariants","RealWorldExample"];export{g as Active,a as AllSizes,m as AllVariants,c as AsDiv,p as AsSpan,t as Default,h as Interactive,s as Muted,u as RealWorldExample,d as WithLabel,o as WithLabelAndSubtitle,r as WithSubtitle,l as WithoutAnchor,T as __namedExportsOrder,A as default};