fluentui-webcomponents 0.0.1 → 0.0.3
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/AGENTS.md +27 -8
- package/README.md +105 -99
- package/core/fluent-element.js +6 -6
- package/package.json +1 -1
- package/theme/theme-picker.js +24 -5
- package/tokens.css +487 -696
- package/gallery.html +0 -492
package/gallery.html
DELETED
|
@@ -1,492 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Fluent UI Web Components — Gallery</title>
|
|
7
|
-
<link rel="stylesheet" href="tokens.css">
|
|
8
|
-
<style>
|
|
9
|
-
*, *::before, *::after { box-sizing: border-box; }
|
|
10
|
-
body, .sidebar, .main, section, h2, h3, nav, ul, ol, li, p, span, div, a { margin: 0; padding: 0; }
|
|
11
|
-
body {
|
|
12
|
-
display: flex;
|
|
13
|
-
min-height: 100vh;
|
|
14
|
-
font-family: var(--fontFamilyBase);
|
|
15
|
-
background: var(--colorNeutralBackground1);
|
|
16
|
-
color: var(--colorNeutralForeground1);
|
|
17
|
-
}
|
|
18
|
-
.sidebar {
|
|
19
|
-
width: 280px;
|
|
20
|
-
background: var(--colorNeutralBackground3);
|
|
21
|
-
padding: var(--spacingHorizontalL);
|
|
22
|
-
border-right: 1px solid var(--colorNeutralStroke2);
|
|
23
|
-
overflow-y: auto;
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
}
|
|
26
|
-
.sidebar h2 {
|
|
27
|
-
font-size: var(--fontSizeBase500);
|
|
28
|
-
font-weight: var(--fontWeightSemibold);
|
|
29
|
-
margin-bottom: var(--spacingVerticalS);
|
|
30
|
-
}
|
|
31
|
-
.sidebar h2 span {
|
|
32
|
-
font-weight: var(--fontWeightRegular);
|
|
33
|
-
color: var(--colorNeutralForeground3);
|
|
34
|
-
font-size: var(--fontSizeBase200);
|
|
35
|
-
}
|
|
36
|
-
.sidebar nav {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
gap: 2px;
|
|
40
|
-
margin-top: var(--spacingVerticalM);
|
|
41
|
-
}
|
|
42
|
-
.sidebar nav a {
|
|
43
|
-
display: block;
|
|
44
|
-
padding: var(--spacingVerticalXS) var(--spacingHorizontalS);
|
|
45
|
-
border-radius: var(--borderRadiusMedium);
|
|
46
|
-
color: var(--colorNeutralForeground2);
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
font-size: var(--fontSizeBase300);
|
|
49
|
-
transition: background var(--durationFaster) var(--curveDecelerateMid);
|
|
50
|
-
}
|
|
51
|
-
.sidebar nav a:hover {
|
|
52
|
-
background: var(--colorNeutralBackground4);
|
|
53
|
-
color: var(--colorNeutralForeground1);
|
|
54
|
-
}
|
|
55
|
-
.main {
|
|
56
|
-
flex: 1;
|
|
57
|
-
padding: var(--spacingHorizontalXXL) var(--spacingHorizontalXXXL);
|
|
58
|
-
overflow-y: auto;
|
|
59
|
-
}
|
|
60
|
-
.main section {
|
|
61
|
-
margin-bottom: var(--spacingVerticalXXL);
|
|
62
|
-
}
|
|
63
|
-
.main h3 {
|
|
64
|
-
font-size: var(--fontSizeBase400);
|
|
65
|
-
font-weight: var(--fontWeightSemibold);
|
|
66
|
-
margin-bottom: var(--spacingVerticalM);
|
|
67
|
-
padding-bottom: var(--spacingVerticalXS);
|
|
68
|
-
border-bottom: 1px solid var(--colorNeutralStroke2);
|
|
69
|
-
}
|
|
70
|
-
.demo-area {
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-wrap: wrap;
|
|
73
|
-
align-items: center;
|
|
74
|
-
gap: var(--spacingHorizontalM);
|
|
75
|
-
padding: var(--spacingHorizontalXXL);
|
|
76
|
-
border: 1px dashed var(--colorNeutralStroke2);
|
|
77
|
-
border-radius: var(--borderRadiusLarge);
|
|
78
|
-
background: var(--colorNeutralBackground2);
|
|
79
|
-
min-height: 80px;
|
|
80
|
-
}
|
|
81
|
-
.demo-area.column {
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
align-items: flex-start;
|
|
84
|
-
}
|
|
85
|
-
.demo-label {
|
|
86
|
-
font-size: var(--fontSizeBase200);
|
|
87
|
-
color: var(--colorNeutralForeground3);
|
|
88
|
-
width: 100%;
|
|
89
|
-
}
|
|
90
|
-
</style>
|
|
91
|
-
</head>
|
|
92
|
-
<body class="light">
|
|
93
|
-
<aside class="sidebar">
|
|
94
|
-
<h2>fluent-ui<span>web-components</span></h2>
|
|
95
|
-
<fluent-theme-picker></fluent-theme-picker>
|
|
96
|
-
<nav>
|
|
97
|
-
<a href="#button">Button</a>
|
|
98
|
-
<a href="#badge">Badge</a>
|
|
99
|
-
<a href="#checkbox">Checkbox</a>
|
|
100
|
-
<a href="#switch">Switch</a>
|
|
101
|
-
<a href="#radio">Radio</a>
|
|
102
|
-
<a href="#slider">Slider</a>
|
|
103
|
-
<a href="#text-input">Text Input</a>
|
|
104
|
-
<a href="#textarea">Textarea</a>
|
|
105
|
-
<a href="#select">Select</a>
|
|
106
|
-
<a href="#spinner">Spinner</a>
|
|
107
|
-
<a href="#link">Link</a>
|
|
108
|
-
<a href="#divider">Divider</a>
|
|
109
|
-
<a href="#avatar">Avatar</a>
|
|
110
|
-
<a href="#label">Label</a>
|
|
111
|
-
<a href="#card">Card</a>
|
|
112
|
-
<a href="#dialog">Dialog</a>
|
|
113
|
-
<a href="#tooltip">Tooltip</a>
|
|
114
|
-
<a href="#menu">Menu</a>
|
|
115
|
-
<a href="#tree">Tree</a>
|
|
116
|
-
<a href="#breadcrumb">Breadcrumb</a>
|
|
117
|
-
</nav>
|
|
118
|
-
</aside>
|
|
119
|
-
|
|
120
|
-
<main class="main">
|
|
121
|
-
<!-- Button -->
|
|
122
|
-
<section id="button">
|
|
123
|
-
<h3>Button</h3>
|
|
124
|
-
<div class="demo-label">Default appearances (medium)</div>
|
|
125
|
-
<div class="demo-area">
|
|
126
|
-
<fluent-button>Default</fluent-button>
|
|
127
|
-
<fluent-button appearance="primary">Primary</fluent-button>
|
|
128
|
-
<fluent-button appearance="outline">Outline</fluent-button>
|
|
129
|
-
<fluent-button appearance="subtle">Subtle</fluent-button>
|
|
130
|
-
<fluent-button appearance="transparent">Transparent</fluent-button>
|
|
131
|
-
</div>
|
|
132
|
-
<div class="demo-label">Sizes</div>
|
|
133
|
-
<div class="demo-area">
|
|
134
|
-
<fluent-button size="small">Small</fluent-button>
|
|
135
|
-
<fluent-button size="medium">Medium</fluent-button>
|
|
136
|
-
<fluent-button size="large">Large</fluent-button>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="demo-label">Shapes</div>
|
|
139
|
-
<div class="demo-area">
|
|
140
|
-
<fluent-button shape="rounded">Rounded</fluent-button>
|
|
141
|
-
<fluent-button shape="circular">Circular</fluent-button>
|
|
142
|
-
<fluent-button shape="square">Square</fluent-button>
|
|
143
|
-
</div>
|
|
144
|
-
<div class="demo-label">Disabled</div>
|
|
145
|
-
<div class="demo-area">
|
|
146
|
-
<fluent-button disabled>Disabled</fluent-button>
|
|
147
|
-
<fluent-button appearance="primary" disabled>Primary Disabled</fluent-button>
|
|
148
|
-
</div>
|
|
149
|
-
</section>
|
|
150
|
-
|
|
151
|
-
<!-- Badge -->
|
|
152
|
-
<section id="badge">
|
|
153
|
-
<h3>Badge</h3>
|
|
154
|
-
<div class="demo-label">Appearances (brand, medium)</div>
|
|
155
|
-
<div class="demo-area">
|
|
156
|
-
<fluent-badge appearance="filled" color="brand">Filled</fluent-badge>
|
|
157
|
-
<fluent-badge appearance="ghost" color="brand">Ghost</fluent-badge>
|
|
158
|
-
<fluent-badge appearance="outline" color="brand">Outline</fluent-badge>
|
|
159
|
-
<fluent-badge appearance="tint" color="brand">Tint</fluent-badge>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="demo-label">Filled by color</div>
|
|
162
|
-
<div class="demo-area">
|
|
163
|
-
<fluent-badge>Brand</fluent-badge>
|
|
164
|
-
<fluent-badge color="danger">Danger</fluent-badge>
|
|
165
|
-
<fluent-badge color="important">Important</fluent-badge>
|
|
166
|
-
<fluent-badge color="informative">Informative</fluent-badge>
|
|
167
|
-
<fluent-badge color="severe">Severe</fluent-badge>
|
|
168
|
-
<fluent-badge color="subtle">Subtle</fluent-badge>
|
|
169
|
-
<fluent-badge color="success">Success</fluent-badge>
|
|
170
|
-
<fluent-badge color="warning">Warning</fluent-badge>
|
|
171
|
-
</div>
|
|
172
|
-
<div class="demo-label">Sizes (brand)</div>
|
|
173
|
-
<div class="demo-area">
|
|
174
|
-
<fluent-badge size="tiny">6</fluent-badge>
|
|
175
|
-
<fluent-badge size="extra-small">99</fluent-badge>
|
|
176
|
-
<fluent-badge size="small">12</fluent-badge>
|
|
177
|
-
<fluent-badge size="medium">Medium</fluent-badge>
|
|
178
|
-
<fluent-badge size="large">Large</fluent-badge>
|
|
179
|
-
<fluent-badge size="extra-large">XL</fluent-badge>
|
|
180
|
-
</div>
|
|
181
|
-
<div class="demo-label">Shapes (brand)</div>
|
|
182
|
-
<div class="demo-area">
|
|
183
|
-
<fluent-badge shape="rounded">Rounded</fluent-badge>
|
|
184
|
-
<fluent-badge shape="circular">Circular</fluent-badge>
|
|
185
|
-
<fluent-badge shape="square">Square</fluent-badge>
|
|
186
|
-
</div>
|
|
187
|
-
</section>
|
|
188
|
-
|
|
189
|
-
<!-- Checkbox -->
|
|
190
|
-
<section id="checkbox">
|
|
191
|
-
<h3>Checkbox</h3>
|
|
192
|
-
<div class="demo-area column">
|
|
193
|
-
<fluent-checkbox>Unchecked</fluent-checkbox>
|
|
194
|
-
<fluent-checkbox checked>Checked</fluent-checkbox>
|
|
195
|
-
<fluent-checkbox indeterminate>Indeterminate</fluent-checkbox>
|
|
196
|
-
<fluent-checkbox disabled>Disabled</fluent-checkbox>
|
|
197
|
-
<fluent-checkbox disabled checked>Disabled checked</fluent-checkbox>
|
|
198
|
-
</div>
|
|
199
|
-
</section>
|
|
200
|
-
|
|
201
|
-
<!-- Switch -->
|
|
202
|
-
<section id="switch">
|
|
203
|
-
<h3>Switch</h3>
|
|
204
|
-
<div class="demo-area column">
|
|
205
|
-
<fluent-switch>Off</fluent-switch>
|
|
206
|
-
<fluent-switch checked>On</fluent-switch>
|
|
207
|
-
<fluent-switch disabled>Disabled</fluent-switch>
|
|
208
|
-
<fluent-switch label-position="above">Above label</fluent-switch>
|
|
209
|
-
</div>
|
|
210
|
-
</section>
|
|
211
|
-
|
|
212
|
-
<!-- Radio -->
|
|
213
|
-
<section id="radio">
|
|
214
|
-
<h3>Radio</h3>
|
|
215
|
-
<div class="demo-area column">
|
|
216
|
-
<fluent-radio name="group1" checked>Option A</fluent-radio>
|
|
217
|
-
<fluent-radio name="group1">Option B</fluent-radio>
|
|
218
|
-
<fluent-radio name="group1">Option C</fluent-radio>
|
|
219
|
-
<fluent-radio name="group1" disabled>Disabled</fluent-radio>
|
|
220
|
-
</div>
|
|
221
|
-
</section>
|
|
222
|
-
|
|
223
|
-
<!-- Slider -->
|
|
224
|
-
<section id="slider">
|
|
225
|
-
<h3>Slider</h3>
|
|
226
|
-
<div class="demo-area column" style="min-width:400px">
|
|
227
|
-
<fluent-slider min="0" max="100" value="50"></fluent-slider>
|
|
228
|
-
<fluent-slider min="0" max="100" value="25" disabled></fluent-slider>
|
|
229
|
-
<fluent-slider min="0" max="50" value="10" size="small"></fluent-slider>
|
|
230
|
-
</div>
|
|
231
|
-
</section>
|
|
232
|
-
|
|
233
|
-
<!-- Text Input -->
|
|
234
|
-
<section id="text-input">
|
|
235
|
-
<h3>Text Input</h3>
|
|
236
|
-
<div class="demo-area column" style="min-width:300px">
|
|
237
|
-
<fluent-text-input placeholder="Enter text..."></fluent-text-input>
|
|
238
|
-
<fluent-text-input value="Read only" readonly></fluent-text-input>
|
|
239
|
-
<fluent-text-input placeholder="Disabled" disabled></fluent-text-input>
|
|
240
|
-
</div>
|
|
241
|
-
</section>
|
|
242
|
-
|
|
243
|
-
<!-- Textarea -->
|
|
244
|
-
<section id="textarea">
|
|
245
|
-
<h3>Textarea</h3>
|
|
246
|
-
<div class="demo-area column" style="min-width:300px">
|
|
247
|
-
<fluent-textarea placeholder="Enter multi-line text..." rows="3"></fluent-textarea>
|
|
248
|
-
<fluent-textarea value="Read-only content" readonly rows="3"></fluent-textarea>
|
|
249
|
-
<fluent-textarea placeholder="Disabled" disabled rows="3"></fluent-textarea>
|
|
250
|
-
</div>
|
|
251
|
-
</section>
|
|
252
|
-
|
|
253
|
-
<!-- Select -->
|
|
254
|
-
<section id="select">
|
|
255
|
-
<h3>Select</h3>
|
|
256
|
-
<div class="demo-area column" style="min-width:250px">
|
|
257
|
-
<fluent-select>
|
|
258
|
-
<option value="1">Option 1</option>
|
|
259
|
-
<option value="2" selected>Option 2</option>
|
|
260
|
-
<option value="3">Option 3</option>
|
|
261
|
-
<optgroup label="Group">
|
|
262
|
-
<option value="4">Option 4</option>
|
|
263
|
-
<option value="5">Option 5</option>
|
|
264
|
-
</optgroup>
|
|
265
|
-
</fluent-select>
|
|
266
|
-
<fluent-select disabled>
|
|
267
|
-
<option>Disabled select</option>
|
|
268
|
-
</fluent-select>
|
|
269
|
-
</div>
|
|
270
|
-
</section>
|
|
271
|
-
|
|
272
|
-
<!-- Image -->
|
|
273
|
-
<section id="image">
|
|
274
|
-
<h3>Image</h3>
|
|
275
|
-
<div class="demo-area">
|
|
276
|
-
<fluent-image src="https://picsum.photos/120/120?random=1" alt="Sample image" shape="rounded" bordered shadow></fluent-image>
|
|
277
|
-
<fluent-image src="https://picsum.photos/120/120?random=2" alt="Circular image" shape="circular" bordered></fluent-image>
|
|
278
|
-
<fluent-image src="https://picsum.photos/120/120?random=3" alt="Square image" fit="cover"></fluent-image>
|
|
279
|
-
</div>
|
|
280
|
-
</section>
|
|
281
|
-
|
|
282
|
-
<!-- Card -->
|
|
283
|
-
<section id="card">
|
|
284
|
-
<h3>Card</h3>
|
|
285
|
-
<div class="demo-area" style="gap:24px">
|
|
286
|
-
<fluent-card style="width:240px;padding:16px">
|
|
287
|
-
<fluent-text block weight="semibold">Card Title</fluent-text>
|
|
288
|
-
<fluent-text block size="200" style="color:var(--colorNeutralForeground2)">Card description content goes here.</fluent-text>
|
|
289
|
-
</fluent-card>
|
|
290
|
-
<fluent-card appearance="outline" style="width:240px;padding:16px">
|
|
291
|
-
<fluent-text block weight="semibold">Outline Card</fluent-text>
|
|
292
|
-
<fluent-text block size="200" style="color:var(--colorNeutralForeground2)">With outline appearance.</fluent-text>
|
|
293
|
-
</fluent-card>
|
|
294
|
-
</div>
|
|
295
|
-
</section>
|
|
296
|
-
|
|
297
|
-
<!-- Label -->
|
|
298
|
-
<section id="label">
|
|
299
|
-
<h3>Label</h3>
|
|
300
|
-
<div class="demo-area column">
|
|
301
|
-
<fluent-label>Default label</fluent-label>
|
|
302
|
-
<fluent-label required>Required label</fluent-label>
|
|
303
|
-
<fluent-label disabled>Disabled label</fluent-label>
|
|
304
|
-
<fluent-label size="large" weight="semibold">Large semibold label</fluent-label>
|
|
305
|
-
</div>
|
|
306
|
-
</section>
|
|
307
|
-
|
|
308
|
-
<!-- Text -->
|
|
309
|
-
<section id="text">
|
|
310
|
-
<h3>Text</h3>
|
|
311
|
-
<div class="demo-area column">
|
|
312
|
-
<fluent-text size="500" weight="semibold">Heading text (500)</fluent-text>
|
|
313
|
-
<fluent-text size="300">Body text (300)</fluent-text>
|
|
314
|
-
<fluent-text size="200">Caption text (200)</fluent-text>
|
|
315
|
-
<fluent-text italic>Italic text</fluent-text>
|
|
316
|
-
<fluent-text underline>Underlined text</fluent-text>
|
|
317
|
-
<fluent-text strikethrough>Strikethrough text</fluent-text>
|
|
318
|
-
<fluent-text font="monospace">Monospace text</fluent-text>
|
|
319
|
-
<fluent-text block align="center">Centered text</fluent-text>
|
|
320
|
-
</div>
|
|
321
|
-
</section>
|
|
322
|
-
|
|
323
|
-
<!-- Dialog -->
|
|
324
|
-
<section id="dialog">
|
|
325
|
-
<h3>Dialog</h3>
|
|
326
|
-
<div class="demo-area">
|
|
327
|
-
<fluent-button id="dialog-trigger">Open Dialog</fluent-button>
|
|
328
|
-
<fluent-dialog id="demo-dialog" aria-label="Example dialog"
|
|
329
|
-
trigger="#dialog-trigger"
|
|
330
|
-
close-on="#dialog-confirm,#dialog-cancel">
|
|
331
|
-
<fluent-text block size="400" weight="semibold">Dialog Title</fluent-text>
|
|
332
|
-
<fluent-text block style="margin:12px 0">This is a dialog body. Press Escape or click outside to close.</fluent-text>
|
|
333
|
-
<fluent-button id="dialog-confirm" appearance="primary">Confirm</fluent-button>
|
|
334
|
-
<fluent-button id="dialog-cancel" appearance="secondary">Cancel</fluent-button>
|
|
335
|
-
</fluent-dialog>
|
|
336
|
-
</div>
|
|
337
|
-
</section>
|
|
338
|
-
|
|
339
|
-
<!-- Tooltip -->
|
|
340
|
-
<section id="tooltip">
|
|
341
|
-
<h3>Tooltip</h3>
|
|
342
|
-
<div class="demo-area">
|
|
343
|
-
<fluent-button id="tooltip-anchor">Hover me</fluent-button>
|
|
344
|
-
<fluent-tooltip anchor="tooltip-anchor">This is a helpful tooltip!</fluent-tooltip>
|
|
345
|
-
</div>
|
|
346
|
-
</section>
|
|
347
|
-
|
|
348
|
-
<!-- Menu -->
|
|
349
|
-
<section id="menu">
|
|
350
|
-
<h3>Menu</h3>
|
|
351
|
-
<div class="demo-area">
|
|
352
|
-
<fluent-menu>
|
|
353
|
-
<fluent-menu-item>Option A</fluent-menu-item>
|
|
354
|
-
<fluent-menu-item>Option B</fluent-menu-item>
|
|
355
|
-
<fluent-menu-item disabled>Disabled Option</fluent-menu-item>
|
|
356
|
-
<fluent-menu-item checked>Checked Option</fluent-menu-item>
|
|
357
|
-
</fluent-menu>
|
|
358
|
-
</div>
|
|
359
|
-
</section>
|
|
360
|
-
|
|
361
|
-
<!-- Tree -->
|
|
362
|
-
<section id="tree">
|
|
363
|
-
<h3>Tree</h3>
|
|
364
|
-
<div class="demo-area column" style="min-width:320px">
|
|
365
|
-
<fluent-tree>
|
|
366
|
-
<fluent-tree-item>Item 1
|
|
367
|
-
<fluent-tree-item>Item 1.1</fluent-tree-item>
|
|
368
|
-
<fluent-tree-item>Item 1.2</fluent-tree-item>
|
|
369
|
-
</fluent-tree-item>
|
|
370
|
-
<fluent-tree-item selected>Item 2
|
|
371
|
-
<fluent-tree-item>Item 2.1
|
|
372
|
-
<fluent-tree-item>Item 2.1.1</fluent-tree-item>
|
|
373
|
-
</fluent-tree-item>
|
|
374
|
-
<fluent-tree-item>Item 2.2</fluent-tree-item>
|
|
375
|
-
</fluent-tree-item>
|
|
376
|
-
<fluent-tree-item>Item 3</fluent-tree-item>
|
|
377
|
-
<fluent-tree-item disabled>Item 4 (disabled)</fluent-tree-item>
|
|
378
|
-
</fluent-tree>
|
|
379
|
-
</div>
|
|
380
|
-
</section>
|
|
381
|
-
|
|
382
|
-
<!-- Breadcrumb -->
|
|
383
|
-
<section id="breadcrumb">
|
|
384
|
-
<h3>Breadcrumb</h3>
|
|
385
|
-
<div class="demo-area">
|
|
386
|
-
<fluent-breadcrumb>
|
|
387
|
-
<fluent-breadcrumb-item href="#">Home</fluent-breadcrumb-item>
|
|
388
|
-
<fluent-breadcrumb-item href="#">Products</fluent-breadcrumb-item>
|
|
389
|
-
<fluent-breadcrumb-item href="#">Category</fluent-breadcrumb-item>
|
|
390
|
-
<fluent-breadcrumb-item current>Product Name</fluent-breadcrumb-item>
|
|
391
|
-
</fluent-breadcrumb>
|
|
392
|
-
</div>
|
|
393
|
-
<div class="demo-label" style="margin-top:12px">Small size</div>
|
|
394
|
-
<div class="demo-area">
|
|
395
|
-
<fluent-breadcrumb size="small">
|
|
396
|
-
<fluent-breadcrumb-item href="#">Home</fluent-breadcrumb-item>
|
|
397
|
-
<fluent-breadcrumb-item href="#">Library</fluent-breadcrumb-item>
|
|
398
|
-
<fluent-breadcrumb-item current>Data</fluent-breadcrumb-item>
|
|
399
|
-
</fluent-breadcrumb>
|
|
400
|
-
</div>
|
|
401
|
-
<div class="demo-label" style="margin-top:12px">Large size</div>
|
|
402
|
-
<div class="demo-area">
|
|
403
|
-
<fluent-breadcrumb size="large">
|
|
404
|
-
<fluent-breadcrumb-item href="#">Home</fluent-breadcrumb-item>
|
|
405
|
-
<fluent-breadcrumb-item href="#">Settings</fluent-breadcrumb-item>
|
|
406
|
-
<fluent-breadcrumb-item current>Profile</fluent-breadcrumb-item>
|
|
407
|
-
</fluent-breadcrumb>
|
|
408
|
-
</div>
|
|
409
|
-
</section>
|
|
410
|
-
|
|
411
|
-
<!-- Link -->
|
|
412
|
-
<section id="link">
|
|
413
|
-
<h3>Link</h3>
|
|
414
|
-
<div class="demo-area column">
|
|
415
|
-
<fluent-link href="#">Default link</fluent-link>
|
|
416
|
-
<fluent-link href="#" appearance="subtle">Subtle link</fluent-link>
|
|
417
|
-
<span style="color: var(--colorNeutralForeground1)">Text with <fluent-link inline href="#">inline link</fluent-link> inside paragraph context.</span>
|
|
418
|
-
</div>
|
|
419
|
-
</section>
|
|
420
|
-
|
|
421
|
-
<!-- Divider -->
|
|
422
|
-
<section id="divider">
|
|
423
|
-
<h3>Divider</h3>
|
|
424
|
-
<div class="demo-area column">
|
|
425
|
-
<fluent-divider></fluent-divider>
|
|
426
|
-
<fluent-divider alignment="start">Start</fluent-divider>
|
|
427
|
-
<fluent-divider alignment="center">Center</fluent-divider>
|
|
428
|
-
<fluent-divider alignment="end">End</fluent-divider>
|
|
429
|
-
<fluent-divider appearance="brand">Brand</fluent-divider>
|
|
430
|
-
<fluent-divider appearance="strong">Strong</fluent-divider>
|
|
431
|
-
<fluent-divider appearance="subtle">Subtle</fluent-divider>
|
|
432
|
-
</div>
|
|
433
|
-
</section>
|
|
434
|
-
|
|
435
|
-
<!-- Spinner -->
|
|
436
|
-
<section id="spinner">
|
|
437
|
-
<h3>Spinner</h3>
|
|
438
|
-
<div class="demo-area">
|
|
439
|
-
<fluent-spinner size="extra-tiny"></fluent-spinner>
|
|
440
|
-
<fluent-spinner size="tiny"></fluent-spinner>
|
|
441
|
-
<fluent-spinner size="extra-small"></fluent-spinner>
|
|
442
|
-
<fluent-spinner size="small"></fluent-spinner>
|
|
443
|
-
<fluent-spinner size="medium"></fluent-spinner>
|
|
444
|
-
<fluent-spinner size="large"></fluent-spinner>
|
|
445
|
-
<fluent-spinner size="extra-large"></fluent-spinner>
|
|
446
|
-
<fluent-spinner size="huge"></fluent-spinner>
|
|
447
|
-
</div>
|
|
448
|
-
</section>
|
|
449
|
-
|
|
450
|
-
<!-- Avatar -->
|
|
451
|
-
<section id="avatar">
|
|
452
|
-
<h3>Avatar</h3>
|
|
453
|
-
<div class="demo-area">
|
|
454
|
-
<fluent-avatar name="John Doe" initials="JD"></fluent-avatar>
|
|
455
|
-
<fluent-avatar color="colorful" color-id="darkRed" name="Alice"></fluent-avatar>
|
|
456
|
-
<fluent-avatar shape="square" name="Bob" initials="BO"></fluent-avatar>
|
|
457
|
-
<fluent-avatar size="96" name="Large Avatar" initials="LA"></fluent-avatar>
|
|
458
|
-
<fluent-avatar name="No Initials"></fluent-avatar>
|
|
459
|
-
</div>
|
|
460
|
-
</section>
|
|
461
|
-
</main>
|
|
462
|
-
|
|
463
|
-
<!-- Components -->
|
|
464
|
-
<script type="module" src="components/button/fluent-button.js"></script>
|
|
465
|
-
<script type="module" src="components/badge/fluent-badge.js"></script>
|
|
466
|
-
<script type="module" src="components/link/fluent-link.js"></script>
|
|
467
|
-
<script type="module" src="components/divider/fluent-divider.js"></script>
|
|
468
|
-
<script type="module" src="components/spinner/fluent-spinner.js"></script>
|
|
469
|
-
<script type="module" src="components/avatar/fluent-avatar.js"></script>
|
|
470
|
-
<script type="module" src="components/checkbox/fluent-checkbox.js"></script>
|
|
471
|
-
<script type="module" src="components/radio/fluent-radio.js"></script>
|
|
472
|
-
<script type="module" src="components/switch/fluent-switch.js"></script>
|
|
473
|
-
<script type="module" src="components/slider/fluent-slider.js"></script>
|
|
474
|
-
<script type="module" src="components/text-input/fluent-text-input.js"></script>
|
|
475
|
-
<script type="module" src="components/textarea/fluent-textarea.js"></script>
|
|
476
|
-
<script type="module" src="components/select/fluent-select.js"></script>
|
|
477
|
-
<script type="module" src="components/card/fluent-card.js"></script>
|
|
478
|
-
<script type="module" src="components/label/fluent-label.js"></script>
|
|
479
|
-
<script type="module" src="components/text/fluent-text.js"></script>
|
|
480
|
-
<script type="module" src="components/image/fluent-image.js"></script>
|
|
481
|
-
<script type="module" src="components/dialog/fluent-dialog.js"></script>
|
|
482
|
-
<script type="module" src="components/tooltip/fluent-tooltip.js"></script>
|
|
483
|
-
<script type="module" src="components/popover/fluent-popover.js"></script>
|
|
484
|
-
<script type="module" src="components/menu/fluent-menu.js"></script>
|
|
485
|
-
<script type="module" src="components/menu-item/fluent-menu-item.js"></script>
|
|
486
|
-
<script type="module" src="components/tree/fluent-tree.js"></script>
|
|
487
|
-
<script type="module" src="components/tree-item/fluent-tree-item.js"></script>
|
|
488
|
-
<script type="module" src="components/breadcrumb/fluent-breadcrumb.js"></script>
|
|
489
|
-
<script type="module" src="components/breadcrumb-item/fluent-breadcrumb-item.js"></script>
|
|
490
|
-
<script type="module" src="theme/theme-picker.js"></script>
|
|
491
|
-
</body>
|
|
492
|
-
</html>
|