@xyd-js/storybook 0.0.1-build.179 → 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.
- package/CHANGELOG.md +9 -2534
- package/package.json +9 -9
- package/storybook-static/assets/Atlas.stories-B3Ix52TV.js +0 -153
- package/storybook-static/assets/Badge.stories-D3nfVAAW.js +0 -84
- package/storybook-static/assets/Banner.stories-BHLs2WlR.js +0 -394
- package/storybook-static/assets/Baseline.stories-Bwx2zF_U.js +0 -103
- package/storybook-static/assets/Blockquote.stories-Cxf9fDVo.js +0 -468
- package/storybook-static/assets/Breadcrumbs.stories-CFjDJvdh.js +0 -219
- package/storybook-static/assets/Button-Cj99tk5U-Cn0Wrqkw.js +0 -3
- package/storybook-static/assets/Button.stories-DUfQIyn7.js +0 -472
- package/storybook-static/assets/Callout.stories-CIQWommc.js +0 -134
- package/storybook-static/assets/Card.stories-0mJDPE-f.js +0 -278
- package/storybook-static/assets/CodeSample.stories-1k1_b2U_.js +0 -8
- package/storybook-static/assets/CodeSample.stories-BEAQ3H6A.js +0 -22
- package/storybook-static/assets/Color-YHDXOIA2-BAq_yxd2.js +0 -1
- package/storybook-static/assets/ColorSchemeButton.stories-C1yuuA8O.js +0 -384
- package/storybook-static/assets/Details.stories-BacIPYUH.js +0 -290
- package/storybook-static/assets/DocsRenderer-CFRXHY34-BwJiFRuq.js +0 -575
- package/storybook-static/assets/DocsTemplate-B8_ZAKIZ.js +0 -16
- package/storybook-static/assets/GuideCard.stories-IJbjW-xe.js +0 -253
- package/storybook-static/assets/Heading.stories-C9rBwnlZ.js +0 -337
- package/storybook-static/assets/Hr.stories-bgwD4mmY.js +0 -351
- package/storybook-static/assets/IconSocial.stories-Bv3u90GB.js +0 -715
- package/storybook-static/assets/Icons-CjNNbMNR.js +0 -1
- package/storybook-static/assets/Image.stories-BlrJ8Th7.js +0 -349
- package/storybook-static/assets/List.stories-mzy4ZAGg.js +0 -513
- package/storybook-static/assets/Nav.stories-CZhCHFlj.js +0 -13
- package/storybook-static/assets/NavLinks.stories-DuFRhZLh.js +0 -359
- package/storybook-static/assets/PageBlogHome.stories-BnmA2r3q.js +0 -14
- package/storybook-static/assets/PageFirstSlide-D2kcGYmB-BWfslHla.js +0 -1
- package/storybook-static/assets/PageFirstSlide-SzOOIHx0.css +0 -1
- package/storybook-static/assets/PageFirstSlide.stories-CoKlxYlH.js +0 -55
- package/storybook-static/assets/PageHome.stories-DcgUrGxe.js +0 -121
- package/storybook-static/assets/Pre.stories-CKu9R4kn.js +0 -11
- package/storybook-static/assets/Sidebar.stories-BivU6MOT.js +0 -9
- package/storybook-static/assets/Steps.stories-fSa3Sw8j.js +0 -1146
- package/storybook-static/assets/SubNav.stories-CL_Th3oO.js +0 -19
- package/storybook-static/assets/Table.stories-BdNM7k9y.js +0 -581
- package/storybook-static/assets/Tabs.stories-A3NcBab_.js +0 -873
- package/storybook-static/assets/Text-BAwif7rv-BYvLGGQV.js +0 -31
- package/storybook-static/assets/TocCard.stories-BRB1SH6U.js +0 -299
- package/storybook-static/assets/Update-DflVXGGQ-qVV03FlC.js +0 -1
- package/storybook-static/assets/Update.stories-DG383caW.js +0 -387
- package/storybook-static/assets/VideoGuide.stories-BnCDLXK7.js +0 -3
- package/storybook-static/assets/__vite-browser-external-FmFgRqLi.js +0 -1
- package/storybook-static/assets/_rollupPluginBabelHelpers-DuYa1R0C-CyXpXONY.js +0 -4
- package/storybook-static/assets/chunk-EF7DTUVF-DPkwZaUR.js +0 -12
- package/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js +0 -1
- package/storybook-static/assets/content-BRdfAQPf.js +0 -27
- package/storybook-static/assets/entry-preview-D5WwyKaL.js +0 -2
- package/storybook-static/assets/entry-preview-docs-DU3GzdsG.js +0 -46
- package/storybook-static/assets/entry-preview-rsc-56ExrKd2.js +0 -1
- package/storybook-static/assets/github-BKgXy13-.js +0 -6
- package/storybook-static/assets/iframe-YbiB23cy.js +0 -211
- package/storybook-static/assets/index-Cf9b6H0j.js +0 -8
- package/storybook-static/assets/index-CrSc8wm9.js +0 -240
- package/storybook-static/assets/index-CzKwSnp0.js +0 -9
- package/storybook-static/assets/index-D6tQpKjq.js +0 -12
- package/storybook-static/assets/index-DUCcPMOf.js +0 -1
- package/storybook-static/assets/index-D_kTjGoR.js +0 -9
- package/storybook-static/assets/index-DgnBCu_c.js +0 -1
- package/storybook-static/assets/index-DrFu-skq.js +0 -6
- package/storybook-static/assets/index-H0MBf5rE.js +0 -1
- package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +0 -9
- package/storybook-static/assets/layouts-DBdGRyBm.js +0 -1
- package/storybook-static/assets/preview-B5edrxhc.js +0 -1
- package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
- package/storybook-static/assets/preview-C5EOgwJ9.js +0 -2
- package/storybook-static/assets/preview-DGZ5Qq08.js +0 -34
- package/storybook-static/assets/preview-DTyQTpzx.js +0 -1
- package/storybook-static/assets/preview-TqM3Oi8H.js +0 -1
- package/storybook-static/assets/preview-WIE65ICp.js +0 -1
- package/storybook-static/assets/preview-_Oh-njOd.css +0 -1
- package/storybook-static/assets/preview-caVMbCIR.js +0 -7
- package/storybook-static/assets/react-18-Tf4JhPOR.js +0 -25
- package/storybook-static/assets/system-CcsYyfSK.js +0 -1
- package/storybook-static/assets/test-utils-BaXAOqRT.js +0 -9
- package/storybook-static/assets/themes.stories-D1474P9U.js +0 -41
- package/storybook-static/assets/writer-DkrWmB39.js +0 -1
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -666
- package/storybook-static/index.html +0 -183
- package/storybook-static/index.json +0 -1
- package/storybook-static/logo.svg +0 -10
- 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 +0 -1
- package/storybook-static/sb-addons/docs-9/manager-bundle.js +0 -242
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -402
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-10/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storysource-8/manager-bundle.js +0 -3
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- 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 +0 -1052
- package/storybook-static/sb-manager/globals-runtime.js +0 -42127
- package/storybook-static/sb-manager/globals.js +0 -48
- package/storybook-static/sb-manager/runtime.js +0 -12048
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-D_zvdyIk.js";import"./writer-DkrWmB39.js";import{d as r}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/Breadcrumbs",component:r,parameters:{docs:{description:{component:"Breadcrumbs component displays a navigation hierarchy showing the current page location within a site structure. It helps users understand where they are and provides quick navigation to parent pages."}}},argTypes:{items:{description:"Array of breadcrumb items with title and optional href",control:"object"},className:{description:"Additional CSS classes to apply",control:"text"},as:{description:"Custom component to render links (defaults to anchor tag)",control:"text"}}},i={args:{items:[{title:"Home",href:"/"},{title:"Docs",href:"/docs"},{title:"Components"}]},render:t=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsx("div",{style:{width:700},children:e.jsx(r,{...t})})})},n={args:{items:[{title:"Home",href:"/"},{title:"Documentation",href:"/docs"},{title:"API Reference",href:"/docs/api"},{title:"GraphQL",href:"/docs/api/graphql"},{title:"Queries"}]},render:t=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsx("div",{style:{width:700},children:e.jsx(r,{...t})})})},s={args:{items:[{title:"Home",href:"/"},{title:"About"}]},render:t=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsx("div",{style:{width:700},children:e.jsx(r,{...t})})})},o={args:{items:[{title:"Home",href:"/"},{title:"Products",href:"/products"},{title:"Electronics",href:"/products/electronics"},{title:"Smartphones",href:"/products/electronics/smartphones"}]},render:t=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsx("div",{style:{width:700},children:e.jsx(r,{...t})})})},a={args:{items:[{title:"Home",href:"/"},{title:"Very Long Section Name That Might Overflow",href:"/long-section"},{title:"Another Extremely Long Page Title That Could Cause Layout Issues"}]},render:t=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsx("div",{style:{width:400},children:e.jsx(r,{...t})})})},d={render:()=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsxs("div",{style:{width:700,display:"flex",flexDirection:"column",gap:"20px"},children:[e.jsxs("div",{children:[e.jsx("h4",{children:"Documentation Navigation"}),e.jsx(r,{items:[{title:"Home",href:"/"},{title:"Docs",href:"/docs"},{title:"Getting Started"}]})]}),e.jsxs("div",{children:[e.jsx("h4",{children:"Product Navigation"}),e.jsx(r,{items:[{title:"Home",href:"/"},{title:"Products",href:"/products"},{title:"Software",href:"/products/software"},{title:"Development Tools"}]})]}),e.jsxs("div",{children:[e.jsx("h4",{children:"Support Navigation"}),e.jsx(r,{items:[{title:"Home",href:"/"},{title:"Support",href:"/support"},{title:"Troubleshooting"}]})]})]})})},p={args:{items:[{title:"Home",href:"/"},{title:"Docs",href:"/docs"},{title:"Components"}],as:({href:t,children:l,...c})=>e.jsx("a",{href:t,style:{color:"#0066cc",textDecoration:"underline",fontWeight:"500"},...c,children:l})},render:t=>e.jsx("div",{style:{padding:"100px",paddingTop:"0px",margin:"0 auto"},children:e.jsx("div",{style:{width:700},children:e.jsx(r,{...t})})}),parameters:{docs:{description:{story:"This example shows how to customize the link appearance using the `as` prop to pass a custom link component."}}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
2
|
-
args: {
|
|
3
|
-
items: [{
|
|
4
|
-
title: "Home",
|
|
5
|
-
href: "/"
|
|
6
|
-
}, {
|
|
7
|
-
title: "Docs",
|
|
8
|
-
href: "/docs"
|
|
9
|
-
}, {
|
|
10
|
-
title: "Components"
|
|
11
|
-
}]
|
|
12
|
-
},
|
|
13
|
-
render: args => <div style={{
|
|
14
|
-
padding: "100px",
|
|
15
|
-
paddingTop: "0px",
|
|
16
|
-
margin: "0 auto"
|
|
17
|
-
}}>
|
|
18
|
-
<div style={{
|
|
19
|
-
width: 700
|
|
20
|
-
}}>
|
|
21
|
-
<Breadcrumbs {...args} />
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
}`,...i.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
25
|
-
args: {
|
|
26
|
-
items: [{
|
|
27
|
-
title: "Home",
|
|
28
|
-
href: "/"
|
|
29
|
-
}, {
|
|
30
|
-
title: "Documentation",
|
|
31
|
-
href: "/docs"
|
|
32
|
-
}, {
|
|
33
|
-
title: "API Reference",
|
|
34
|
-
href: "/docs/api"
|
|
35
|
-
}, {
|
|
36
|
-
title: "GraphQL",
|
|
37
|
-
href: "/docs/api/graphql"
|
|
38
|
-
}, {
|
|
39
|
-
title: "Queries"
|
|
40
|
-
}]
|
|
41
|
-
},
|
|
42
|
-
render: args => <div style={{
|
|
43
|
-
padding: "100px",
|
|
44
|
-
paddingTop: "0px",
|
|
45
|
-
margin: "0 auto"
|
|
46
|
-
}}>
|
|
47
|
-
<div style={{
|
|
48
|
-
width: 700
|
|
49
|
-
}}>
|
|
50
|
-
<Breadcrumbs {...args} />
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
}`,...n.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
|
|
54
|
-
args: {
|
|
55
|
-
items: [{
|
|
56
|
-
title: "Home",
|
|
57
|
-
href: "/"
|
|
58
|
-
}, {
|
|
59
|
-
title: "About"
|
|
60
|
-
}]
|
|
61
|
-
},
|
|
62
|
-
render: args => <div style={{
|
|
63
|
-
padding: "100px",
|
|
64
|
-
paddingTop: "0px",
|
|
65
|
-
margin: "0 auto"
|
|
66
|
-
}}>
|
|
67
|
-
<div style={{
|
|
68
|
-
width: 700
|
|
69
|
-
}}>
|
|
70
|
-
<Breadcrumbs {...args} />
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
}`,...s.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
|
|
74
|
-
args: {
|
|
75
|
-
items: [{
|
|
76
|
-
title: "Home",
|
|
77
|
-
href: "/"
|
|
78
|
-
}, {
|
|
79
|
-
title: "Products",
|
|
80
|
-
href: "/products"
|
|
81
|
-
}, {
|
|
82
|
-
title: "Electronics",
|
|
83
|
-
href: "/products/electronics"
|
|
84
|
-
}, {
|
|
85
|
-
title: "Smartphones",
|
|
86
|
-
href: "/products/electronics/smartphones"
|
|
87
|
-
}]
|
|
88
|
-
},
|
|
89
|
-
render: args => <div style={{
|
|
90
|
-
padding: "100px",
|
|
91
|
-
paddingTop: "0px",
|
|
92
|
-
margin: "0 auto"
|
|
93
|
-
}}>
|
|
94
|
-
<div style={{
|
|
95
|
-
width: 700
|
|
96
|
-
}}>
|
|
97
|
-
<Breadcrumbs {...args} />
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
}`,...o.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
101
|
-
args: {
|
|
102
|
-
items: [{
|
|
103
|
-
title: "Home",
|
|
104
|
-
href: "/"
|
|
105
|
-
}, {
|
|
106
|
-
title: "Very Long Section Name That Might Overflow",
|
|
107
|
-
href: "/long-section"
|
|
108
|
-
}, {
|
|
109
|
-
title: "Another Extremely Long Page Title That Could Cause Layout Issues"
|
|
110
|
-
}]
|
|
111
|
-
},
|
|
112
|
-
render: args => <div style={{
|
|
113
|
-
padding: "100px",
|
|
114
|
-
paddingTop: "0px",
|
|
115
|
-
margin: "0 auto"
|
|
116
|
-
}}>
|
|
117
|
-
<div style={{
|
|
118
|
-
width: 400
|
|
119
|
-
}}>
|
|
120
|
-
<Breadcrumbs {...args} />
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
}`,...a.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
|
|
124
|
-
render: () => <div style={{
|
|
125
|
-
padding: "100px",
|
|
126
|
-
paddingTop: "0px",
|
|
127
|
-
margin: "0 auto"
|
|
128
|
-
}}>
|
|
129
|
-
<div style={{
|
|
130
|
-
width: 700,
|
|
131
|
-
display: 'flex',
|
|
132
|
-
flexDirection: 'column',
|
|
133
|
-
gap: '20px'
|
|
134
|
-
}}>
|
|
135
|
-
<div>
|
|
136
|
-
<h4>Documentation Navigation</h4>
|
|
137
|
-
<Breadcrumbs items={[{
|
|
138
|
-
title: "Home",
|
|
139
|
-
href: "/"
|
|
140
|
-
}, {
|
|
141
|
-
title: "Docs",
|
|
142
|
-
href: "/docs"
|
|
143
|
-
}, {
|
|
144
|
-
title: "Getting Started"
|
|
145
|
-
}]} />
|
|
146
|
-
</div>
|
|
147
|
-
|
|
148
|
-
<div>
|
|
149
|
-
<h4>Product Navigation</h4>
|
|
150
|
-
<Breadcrumbs items={[{
|
|
151
|
-
title: "Home",
|
|
152
|
-
href: "/"
|
|
153
|
-
}, {
|
|
154
|
-
title: "Products",
|
|
155
|
-
href: "/products"
|
|
156
|
-
}, {
|
|
157
|
-
title: "Software",
|
|
158
|
-
href: "/products/software"
|
|
159
|
-
}, {
|
|
160
|
-
title: "Development Tools"
|
|
161
|
-
}]} />
|
|
162
|
-
</div>
|
|
163
|
-
|
|
164
|
-
<div>
|
|
165
|
-
<h4>Support Navigation</h4>
|
|
166
|
-
<Breadcrumbs items={[{
|
|
167
|
-
title: "Home",
|
|
168
|
-
href: "/"
|
|
169
|
-
}, {
|
|
170
|
-
title: "Support",
|
|
171
|
-
href: "/support"
|
|
172
|
-
}, {
|
|
173
|
-
title: "Troubleshooting"
|
|
174
|
-
}]} />
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
}`,...d.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
|
|
179
|
-
args: {
|
|
180
|
-
items: [{
|
|
181
|
-
title: "Home",
|
|
182
|
-
href: "/"
|
|
183
|
-
}, {
|
|
184
|
-
title: "Docs",
|
|
185
|
-
href: "/docs"
|
|
186
|
-
}, {
|
|
187
|
-
title: "Components"
|
|
188
|
-
}],
|
|
189
|
-
as: ({
|
|
190
|
-
href,
|
|
191
|
-
children,
|
|
192
|
-
...rest
|
|
193
|
-
}) => <a href={href} style={{
|
|
194
|
-
color: '#0066cc',
|
|
195
|
-
textDecoration: 'underline',
|
|
196
|
-
fontWeight: '500'
|
|
197
|
-
}} {...rest}>
|
|
198
|
-
{children}
|
|
199
|
-
</a>
|
|
200
|
-
},
|
|
201
|
-
render: args => <div style={{
|
|
202
|
-
padding: "100px",
|
|
203
|
-
paddingTop: "0px",
|
|
204
|
-
margin: "0 auto"
|
|
205
|
-
}}>
|
|
206
|
-
<div style={{
|
|
207
|
-
width: 700
|
|
208
|
-
}}>
|
|
209
|
-
<Breadcrumbs {...args} />
|
|
210
|
-
</div>
|
|
211
|
-
</div>,
|
|
212
|
-
parameters: {
|
|
213
|
-
docs: {
|
|
214
|
-
description: {
|
|
215
|
-
story: 'This example shows how to customize the link appearance using the \`as\` prop to pass a custom link component.'
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}`,...p.parameters?.docs?.source}}};const S=["Default","DeepNavigation","ShortNavigation","AllLinked","LongTitles","MultipleInstances","WithCustomLink"];export{o as AllLinked,n as DeepNavigation,i as Default,a as LongTitles,d as MultipleInstances,s as ShortNavigation,p as WithCustomLink,S as __namedExportsOrder,w as default};
|