@adia-ai/web-components 0.6.6 → 0.6.7

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 (101) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/USAGE.md +100 -5
  3. package/bin/doc.mjs +379 -0
  4. package/components/accordion/accordion.examples.md +49 -0
  5. package/components/action-list/action-list.examples.md +33 -0
  6. package/components/agent-artifact/agent-artifact.examples.md +28 -0
  7. package/components/agent-feedback-bar/agent-feedback-bar.examples.md +24 -0
  8. package/components/agent-questions/agent-questions.examples.md +13 -0
  9. package/components/agent-reasoning/agent-reasoning.examples.md +28 -0
  10. package/components/agent-suggestions/agent-suggestions.examples.md +19 -0
  11. package/components/agent-trace/agent-trace.examples.md +19 -0
  12. package/components/alert/alert.examples.md +19 -0
  13. package/components/aside/aside.examples.md +38 -0
  14. package/components/avatar/avatar.examples.md +19 -0
  15. package/components/badge/badge.examples.md +19 -0
  16. package/components/block/block.examples.md +29 -0
  17. package/components/breadcrumb/breadcrumb.examples.md +32 -0
  18. package/components/button/button.examples.md +19 -0
  19. package/components/calendar-picker/calendar-picker.examples.md +23 -0
  20. package/components/canvas/canvas.examples.md +49 -0
  21. package/components/card/card.examples.md +25 -0
  22. package/components/chart/chart.examples.md +19 -0
  23. package/components/chart-legend/chart-legend.examples.md +22 -0
  24. package/components/chat-thread/chat-thread.examples.md +35 -0
  25. package/components/check/check.examples.md +19 -0
  26. package/components/code/code.examples.md +31 -0
  27. package/components/col/col.examples.md +11 -0
  28. package/components/color-input/color-input.examples.md +19 -0
  29. package/components/color-picker/color-picker.examples.md +19 -0
  30. package/components/command/command.examples.md +58 -0
  31. package/components/demo-toggle/demo-toggle.examples.md +19 -0
  32. package/components/description-list/description-list.examples.md +37 -0
  33. package/components/divider/divider.examples.md +31 -0
  34. package/components/drawer/drawer.examples.md +63 -0
  35. package/components/embed/embed.examples.md +19 -0
  36. package/components/empty-state/empty-state.examples.md +21 -0
  37. package/components/feed/feed.examples.md +19 -0
  38. package/components/field/field.examples.md +29 -0
  39. package/components/fields/fields.examples.md +58 -0
  40. package/components/footer/footer.examples.md +18 -0
  41. package/components/grid/grid.examples.md +21 -0
  42. package/components/header/header.examples.md +32 -0
  43. package/components/heatmap/heatmap.examples.md +19 -0
  44. package/components/icon/icon.examples.md +19 -0
  45. package/components/image/image.examples.md +19 -0
  46. package/components/input/input.examples.md +21 -0
  47. package/components/inspector/inspector.examples.md +27 -0
  48. package/components/kbd/kbd.examples.md +29 -0
  49. package/components/link/link.examples.md +25 -0
  50. package/components/list/list.examples.md +33 -0
  51. package/components/menu/menu.examples.md +37 -0
  52. package/components/modal/modal.examples.md +43 -0
  53. package/components/nav/nav.examples.md +39 -0
  54. package/components/nav-group/nav-group.examples.md +35 -0
  55. package/components/nav-item/nav-item.examples.md +25 -0
  56. package/components/noodles/noodles.examples.md +30 -0
  57. package/components/option-card/option-card.examples.md +47 -0
  58. package/components/otp-input/otp-input.examples.md +19 -0
  59. package/components/page/page.examples.md +46 -0
  60. package/components/pagination/pagination.examples.md +19 -0
  61. package/components/pane/pane.examples.md +40 -0
  62. package/components/pipeline-status/pipeline-status.examples.md +19 -0
  63. package/components/popover/popover.examples.md +34 -0
  64. package/components/progress/progress.examples.md +19 -0
  65. package/components/progress-row/progress-row.examples.md +19 -0
  66. package/components/radio/radio.examples.md +19 -0
  67. package/components/range/range.examples.md +19 -0
  68. package/components/rating/rating.examples.md +19 -0
  69. package/components/richtext/richtext.examples.md +19 -0
  70. package/components/row/row.examples.md +11 -0
  71. package/components/search/search.examples.md +19 -0
  72. package/components/section/section.examples.md +37 -0
  73. package/components/segment/segment.examples.md +32 -0
  74. package/components/segmented/segmented.examples.md +31 -0
  75. package/components/select/select.examples.md +49 -0
  76. package/components/skeleton/skeleton.examples.md +19 -0
  77. package/components/slider/slider.examples.md +21 -0
  78. package/components/stack/stack.examples.md +10 -0
  79. package/components/stat/stat.examples.md +19 -0
  80. package/components/step-progress/step-progress.examples.md +19 -0
  81. package/components/stepper/stepper.examples.md +37 -0
  82. package/components/stream/stream.examples.md +19 -0
  83. package/components/swatch/swatch.examples.md +23 -0
  84. package/components/swiper/swiper.examples.md +139 -0
  85. package/components/switch/switch.examples.md +19 -0
  86. package/components/table/table.examples.md +19 -0
  87. package/components/table-toolbar/table-toolbar.examples.md +12 -0
  88. package/components/tabs/tabs.examples.md +49 -0
  89. package/components/tag/tag.examples.md +19 -0
  90. package/components/text/text.examples.md +19 -0
  91. package/components/textarea/textarea.examples.md +23 -0
  92. package/components/timeline/timeline.examples.md +35 -0
  93. package/components/toast/toast.examples.md +19 -0
  94. package/components/toggle-group/toggle-group.examples.md +33 -0
  95. package/components/toggle-scheme/toggle-scheme.examples.md +19 -0
  96. package/components/toolbar/toolbar.examples.md +46 -0
  97. package/components/tooltip/tooltip.examples.md +25 -0
  98. package/components/tree/tree.examples.md +57 -0
  99. package/components/upload/upload.examples.md +19 -0
  100. package/custom-elements.json +9012 -0
  101. package/package.json +7 -1
@@ -0,0 +1,10 @@
1
+ # stack — Examples
2
+
3
+ ## Basic usage
4
+
5
+ ```html
6
+ <stack-ui>
7
+ <image-ui src="/avatar.jpg"></image-ui>
8
+ <badge-ui text="3" variant="solid" color="danger"></badge-ui>
9
+ </stack-ui>
10
+ ```
@@ -0,0 +1,19 @@
1
+ # stat — Examples
2
+
3
+ ## Basic
4
+
5
+ ```html
6
+ <stat-ui value="1,234" label="Total Users"></stat-ui>
7
+ ```
8
+
9
+ ## value
10
+
11
+ ```html
12
+ <stat-ui value="1,234" label="Users"></stat-ui>
13
+ ```
14
+
15
+ ## label
16
+
17
+ ```html
18
+ <stat-ui value="847" label="Active Users"></stat-ui>
19
+ ```
@@ -0,0 +1,19 @@
1
+ # step-progress — Examples
2
+
3
+ ## value
4
+
5
+ ```html
6
+ <step-progress-ui value="0" total="10" caption="Not started"></step-progress-ui>
7
+ ```
8
+
9
+ ## total
10
+
11
+ ```html
12
+ <step-progress-ui value="3" total="3" caption="Short flow"></step-progress-ui>
13
+ ```
14
+
15
+ ## caption
16
+
17
+ ```html
18
+ <step-progress-ui value="2" total="5"></step-progress-ui>
19
+ ```
@@ -0,0 +1,37 @@
1
+ # stepper — Examples
2
+
3
+ ## Horizontal (default)
4
+
5
+ ```html
6
+ <stepper-ui step="2">
7
+ <stepper-item-ui text="Account"></stepper-item-ui>
8
+ <stepper-item-ui text="Details"></stepper-item-ui>
9
+ <stepper-item-ui text="Review"></stepper-item-ui>
10
+ <stepper-item-ui text="Confirm"></stepper-item-ui>
11
+ </stepper-ui>
12
+ ```
13
+
14
+ ## Vertical
15
+
16
+ ```html
17
+ <stepper-ui orientation="vertical" step="1">
18
+ <stepper-item-ui text="Select plan" description="Choose your subscription"></stepper-item-ui>
19
+ <stepper-item-ui text="Payment" description="Enter payment details"></stepper-item-ui>
20
+ <stepper-item-ui text="Confirmation" description="Review and submit"></stepper-item-ui>
21
+ </stepper-ui>
22
+ ```
23
+
24
+ ## Interactive
25
+
26
+ ```html
27
+ <stepper-ui id="stepper-interactive" step="1">
28
+ <stepper-item-ui text="Step 1"></stepper-item-ui>
29
+ <stepper-item-ui text="Step 2"></stepper-item-ui>
30
+ <stepper-item-ui text="Step 3"></stepper-item-ui>
31
+ <stepper-item-ui text="Step 4"></stepper-item-ui>
32
+ </stepper-ui>
33
+ <div style="display:flex; gap:var(--a-space-2); margin-top:var(--a-space-3);">
34
+ <button-ui id="stepper-prev" text="Previous" variant="outline"></button-ui>
35
+ <button-ui id="stepper-next" text="Next" variant="primary"></button-ui>
36
+ </div>
37
+ ```
@@ -0,0 +1,19 @@
1
+ # stream — Examples
2
+
3
+ ## basic
4
+
5
+ ```html
6
+ <stream-ui>This is static content inside a stream element. Assign an AsyncIterable to the .tokens property to begin streaming.</stream-ui>
7
+ ```
8
+
9
+ ## hide-cursor
10
+
11
+ ```html
12
+ <stream-ui streaming>Streaming with cursor...</stream-ui>
13
+ ```
14
+
15
+ ## pace
16
+
17
+ ```html
18
+ <stream-ui>Pace is set programmatically when assigning .tokens. A value of 0 renders tokens immediately; higher values create a typewriter effect.</stream-ui>
19
+ ```
@@ -0,0 +1,23 @@
1
+ # swatch — Examples
2
+
3
+ ## shapes
4
+
5
+ ```html
6
+ <swatch-ui shape="dot" color="var(--a-data-0)" label="Revenue"></swatch-ui>
7
+ ```
8
+
9
+ ## sizes
10
+
11
+ ```html
12
+ <row-ui gap="3" align="center">
13
+ <swatch-ui shape="dot" size="sm" color="var(--a-data-0)" label="sm"></swatch-ui>
14
+ <swatch-ui shape="dot" size="md" color="var(--a-data-0)" label="md"></swatch-ui>
15
+ <swatch-ui shape="dot" size="lg" color="var(--a-data-0)" label="lg"></swatch-ui>
16
+ </row-ui>
17
+ ```
18
+
19
+ ## composition — chart-legend-ui
20
+
21
+ ```html
22
+ <chart-legend-ui shape="dot" position="bottom" id="demo-legend-dot"></chart-legend-ui>
23
+ ```
@@ -0,0 +1,139 @@
1
+ # swiper — Examples
2
+
3
+ ## basic
4
+
5
+ ```html
6
+ <swiper-ui aria-label="Product gallery">
7
+ <card-ui variant="outlined">
8
+ <img src="https://picsum.photos/seed/swiper1/800/360" alt="Mountain landscape" style="width:100%; height:200px; object-fit:cover;">
9
+ <section>
10
+ <col-ui gap="1">
11
+ <text-ui strong>Mountain Retreat</text-ui>
12
+ <text-ui color="subtle">Escape to the peaks with panoramic alpine views and fresh mountain air.</text-ui>
13
+ </col-ui>
14
+ </section>
15
+ </card-ui>
16
+ <card-ui variant="outlined">
17
+ <img src="https://picsum.photos/seed/swiper2/800/360" alt="Ocean sunset" style="width:100%; height:200px; object-fit:cover;">
18
+ <section>
19
+ <col-ui gap="1">
20
+ <text-ui strong>Coastal Paradise</text-ui>
21
+ <text-ui color="subtle">White sand beaches, turquoise waters, and stunning sunsets every evening.</text-ui>
22
+ </col-ui>
23
+ </section>
24
+ </card-ui>
25
+ <card-ui variant="outlined">
26
+ <img src="https://picsum.photos/seed/swiper3/800/360" alt="Forest path" style="width:100%; height:200px; object-fit:cover;">
27
+ <section>
28
+ <col-ui gap="1">
29
+ <text-ui strong>Forest Lodge</text-ui>
30
+ <text-ui color="subtle">Secluded cabins surrounded by ancient redwoods and winding trails.</text-ui>
31
+ </col-ui>
32
+ </section>
33
+ </card-ui>
34
+ <card-ui variant="outlined">
35
+ <img src="https://picsum.photos/seed/swiper4/800/360" alt="City skyline" style="width:100%; height:200px; object-fit:cover;">
36
+ <section>
37
+ <col-ui gap="1">
38
+ <text-ui strong>Urban Explorer</text-ui>
39
+ <text-ui color="subtle">Boutique hotels in the heart of the city with rooftop skyline views.</text-ui>
40
+ </col-ui>
41
+ </section>
42
+ </card-ui>
43
+ </swiper-ui>
44
+ ```
45
+
46
+ ## slides-per-view
47
+
48
+ ```html
49
+ <swiper-ui slides-per-view="3" gap="4" aria-label="Feature cards">
50
+ <card-ui variant="outlined">
51
+ <section>
52
+ <col-ui gap="2">
53
+ <icon-ui name="lightning" color="primary"></icon-ui>
54
+ <text-ui strong>Fast</text-ui>
55
+ <text-ui color="subtle">Sub-ms renders</text-ui>
56
+ </col-ui>
57
+ </section>
58
+ </card-ui>
59
+ <card-ui variant="outlined">
60
+ <section>
61
+ <col-ui gap="2">
62
+ <icon-ui name="paint-brush" color="accent"></icon-ui>
63
+ <text-ui strong>Themeable</text-ui>
64
+ <text-ui color="subtle">Design tokens</text-ui>
65
+ </col-ui>
66
+ </section>
67
+ </card-ui>
68
+ <card-ui variant="outlined">
69
+ <section>
70
+ <col-ui gap="2">
71
+ <icon-ui name="wheelchair" color="success"></icon-ui>
72
+ <text-ui strong>Accessible</text-ui>
73
+ <text-ui color="subtle">ARIA built-in</text-ui>
74
+ </col-ui>
75
+ </section>
76
+ </card-ui>
77
+ <card-ui variant="outlined">
78
+ <section>
79
+ <col-ui gap="2">
80
+ <icon-ui name="code" color="warning"></icon-ui>
81
+ <text-ui strong>Simple</text-ui>
82
+ <text-ui color="subtle">Light DOM</text-ui>
83
+ </col-ui>
84
+ </section>
85
+ </card-ui>
86
+ <card-ui variant="outlined">
87
+ <section>
88
+ <col-ui gap="2">
89
+ <icon-ui name="devices" color="danger"></icon-ui>
90
+ <text-ui strong>Responsive</text-ui>
91
+ <text-ui color="subtle">Container queries</text-ui>
92
+ </col-ui>
93
+ </section>
94
+ </card-ui>
95
+ </swiper-ui>
96
+ ```
97
+
98
+ ## peek
99
+
100
+ ```html
101
+ <swiper-ui slides-per-view="2" peek gap="4" aria-label="Peek demo">
102
+ <card-ui>
103
+ <section>
104
+ <col-ui gap="2" align="center">
105
+ <avatar-ui text="Jordan Lee" size="lg"></avatar-ui>
106
+ <text-ui strong>Jordan Lee</text-ui>
107
+ <text-ui color="subtle">Engineer</text-ui>
108
+ </col-ui>
109
+ </section>
110
+ </card-ui>
111
+ <card-ui>
112
+ <section>
113
+ <col-ui gap="2" align="center">
114
+ <avatar-ui text="Emma Davis" size="lg"></avatar-ui>
115
+ <text-ui strong>Emma Davis</text-ui>
116
+ <text-ui color="subtle">Designer</text-ui>
117
+ </col-ui>
118
+ </section>
119
+ </card-ui>
120
+ <card-ui>
121
+ <section>
122
+ <col-ui gap="2" align="center">
123
+ <avatar-ui text="Tom Wright" size="lg"></avatar-ui>
124
+ <text-ui strong>Tom Wright</text-ui>
125
+ <text-ui color="subtle">DevOps</text-ui>
126
+ </col-ui>
127
+ </section>
128
+ </card-ui>
129
+ <card-ui>
130
+ <section>
131
+ <col-ui gap="2" align="center">
132
+ <avatar-ui text="Lisa Chang" size="lg"></avatar-ui>
133
+ <text-ui strong>Lisa Chang</text-ui>
134
+ <text-ui color="subtle">Staff Eng</text-ui>
135
+ </col-ui>
136
+ </section>
137
+ </card-ui>
138
+ </swiper-ui>
139
+ ```
@@ -0,0 +1,19 @@
1
+ # switch — Examples
2
+
3
+ ## checked
4
+
5
+ ```html
6
+ <switch-ui label="Off"></switch-ui>
7
+ ```
8
+
9
+ ## size
10
+
11
+ ```html
12
+ <switch-ui label="Small" size="sm" checked></switch-ui>
13
+ ```
14
+
15
+ ## disabled
16
+
17
+ ```html
18
+ <switch-ui label="Disabled Off" disabled></switch-ui>
19
+ ```
@@ -0,0 +1,19 @@
1
+ # table — Examples
2
+
3
+ ## sortable
4
+
5
+ ```html
6
+ <table-ui id="api-sortable" sortable></table-ui>
7
+ ```
8
+
9
+ ## selectable
10
+
11
+ ```html
12
+ <table-ui id="api-selectable" selectable></table-ui>
13
+ ```
14
+
15
+ ## expandable
16
+
17
+ ```html
18
+ <table-ui id="api-expandable" expandable></table-ui>
19
+ ```
@@ -0,0 +1,12 @@
1
+ # table-toolbar — Examples
2
+
3
+ ## Wiring
4
+
5
+ ```html
6
+ <table-toolbar-ui for="members" text="All employees" count="32"></table-toolbar-ui>
7
+ <card-ui>
8
+ <section-ui bleed>
9
+ <table-ui id="members" sortable raw>…</table-ui>
10
+ </section-ui>
11
+ </card-ui>
12
+ ```
@@ -0,0 +1,49 @@
1
+ # tabs — Examples
2
+
3
+ ## basic
4
+
5
+ ```html
6
+ <tabs-ui value="overview">
7
+ <tab-ui value="overview" text="Overview">
8
+ <p>This is the overview panel. It provides a high-level summary of the feature.</p>
9
+ </tab-ui>
10
+ <tab-ui value="details" text="Details">
11
+ <p>This panel contains detailed specifications and technical information.</p>
12
+ </tab-ui>
13
+ <tab-ui value="changelog" text="Changelog">
14
+ <p>Version history and recent changes are listed here.</p>
15
+ </tab-ui>
16
+ </tabs-ui>
17
+ ```
18
+
19
+ ## with icons
20
+
21
+ ```html
22
+ <tabs-ui value="profile">
23
+ <tab-ui value="profile" text="Profile" icon="user">
24
+ <p>Edit your profile information, display name, and avatar.</p>
25
+ </tab-ui>
26
+ <tab-ui value="settings" text="Settings" icon="gear">
27
+ <p>Configure your account preferences, notifications, and privacy.</p>
28
+ </tab-ui>
29
+ <tab-ui value="billing" text="Billing" icon="credit-card">
30
+ <p>Manage your subscription, payment methods, and invoices.</p>
31
+ </tab-ui>
32
+ </tabs-ui>
33
+ ```
34
+
35
+ ## disabled tab
36
+
37
+ ```html
38
+ <tabs-ui value="active">
39
+ <tab-ui value="active" text="Active">
40
+ <p>This tab is active and selectable.</p>
41
+ </tab-ui>
42
+ <tab-ui value="also-active" text="Also Active">
43
+ <p>This tab is also selectable.</p>
44
+ </tab-ui>
45
+ <tab-ui value="locked" text="Locked" disabled>
46
+ <p>This content is locked.</p>
47
+ </tab-ui>
48
+ </tabs-ui>
49
+ ```
@@ -0,0 +1,19 @@
1
+ # tag — Examples
2
+
3
+ ## variant
4
+
5
+ ```html
6
+ <tag-ui text="Default"></tag-ui>
7
+ ```
8
+
9
+ ## size
10
+
11
+ ```html
12
+ <tag-ui text="Small" size="sm"></tag-ui>
13
+ ```
14
+
15
+ ## removable
16
+
17
+ ```html
18
+ <tag-ui text="Removable" removable></tag-ui>
19
+ ```
@@ -0,0 +1,19 @@
1
+ # text — Examples
2
+
3
+ ## Type Scale
4
+
5
+ ```html
6
+ <text-ui variant="kicker">Kicker — Eyebrow / Overline</text-ui>
7
+ ```
8
+
9
+ ## Supplementary Type Scale
10
+
11
+ ```html
12
+ <text-ui variant="subsection">Subsection — a sub-grouping inside a heading section</text-ui>
13
+ ```
14
+
15
+ ## Page Context
16
+
17
+ ```html
18
+ <text-ui variant="kicker">Getting Started</text-ui>
19
+ ```
@@ -0,0 +1,23 @@
1
+ # textarea — Examples
2
+
3
+ ## label
4
+
5
+ ```html
6
+ <field-ui label="Description">
7
+ <textarea-ui placeholder="Enter a description..."></textarea-ui>
8
+ </field-ui>
9
+ ```
10
+
11
+ ## placeholder
12
+
13
+ ```html
14
+ <textarea-ui placeholder="Write your message here..."></textarea-ui>
15
+ ```
16
+
17
+ ## rows
18
+
19
+ ```html
20
+ <field-ui label="Compact (2 rows)">
21
+ <textarea-ui placeholder="Short input..." rows="2"></textarea-ui>
22
+ </field-ui>
23
+ ```
@@ -0,0 +1,35 @@
1
+ # timeline — Examples
2
+
3
+ ## Vertical Timeline
4
+
5
+ ```html
6
+ <timeline-ui>
7
+ <timeline-item-ui text="Order placed" time="2h ago" status="completed"></timeline-item-ui>
8
+ <timeline-item-ui text="Payment confirmed" time="1h ago" status="completed"></timeline-item-ui>
9
+ <timeline-item-ui text="Processing" status="active"></timeline-item-ui>
10
+ <timeline-item-ui text="Shipped"></timeline-item-ui>
11
+ <timeline-item-ui text="Delivered"></timeline-item-ui>
12
+ </timeline-ui>
13
+ ```
14
+
15
+ ## With Icons
16
+
17
+ ```html
18
+ <timeline-ui>
19
+ <timeline-item-ui text="Created" description="Issue opened" icon="plus" status="completed"></timeline-item-ui>
20
+ <timeline-item-ui text="In Review" description="PR submitted" icon="eye" status="active"></timeline-item-ui>
21
+ <timeline-item-ui text="Merged" icon="git-merge"></timeline-item-ui>
22
+ <timeline-item-ui text="Deployed" icon="rocket"></timeline-item-ui>
23
+ </timeline-ui>
24
+ ```
25
+
26
+ ## Horizontal
27
+
28
+ ```html
29
+ <timeline-ui orientation="horizontal">
30
+ <timeline-item-ui text="Draft" status="completed"></timeline-item-ui>
31
+ <timeline-item-ui text="Review" status="active"></timeline-item-ui>
32
+ <timeline-item-ui text="Approved"></timeline-item-ui>
33
+ <timeline-item-ui text="Published"></timeline-item-ui>
34
+ </timeline-ui>
35
+ ```
@@ -0,0 +1,19 @@
1
+ # toast — Examples
2
+
3
+ ## text
4
+
5
+ ```html
6
+ <toast-ui text="Changes saved successfully." variant="success" duration="0" position="top-right"></toast-ui>
7
+ ```
8
+
9
+ ## variant
10
+
11
+ ```html
12
+ <button-ui text="Default" variant="outline" size="sm" onclick="customElements.whenDefined('toast-ui').then(()=>customElements.get('toast-ui').show({text:'Default notification',variant:'default'}))"></button-ui>
13
+ ```
14
+
15
+ ## position
16
+
17
+ ```html
18
+ <button-ui text="Top Left" variant="outline" size="sm" onclick="customElements.whenDefined('toast-ui').then(()=>customElements.get('toast-ui').show({text:'Top left',variant:'info',position:'top-left'}))"></button-ui>
19
+ ```
@@ -0,0 +1,33 @@
1
+ # toggle-group — Examples
2
+
3
+ ## icon group
4
+
5
+ ```html
6
+ <toggle-group-ui value="bold">
7
+ <toggle-option-ui value="bold" icon="text-b"></toggle-option-ui>
8
+ <toggle-option-ui value="italic" icon="text-italic"></toggle-option-ui>
9
+ <toggle-option-ui value="underline" icon="text-underline"></toggle-option-ui>
10
+ </toggle-group-ui>
11
+ ```
12
+
13
+ ## text group
14
+
15
+ ```html
16
+ <toggle-group-ui value="week">
17
+ <toggle-option-ui value="day" text="Day"></toggle-option-ui>
18
+ <toggle-option-ui value="week" text="Week"></toggle-option-ui>
19
+ <toggle-option-ui value="month" text="Month"></toggle-option-ui>
20
+ <toggle-option-ui value="year" text="Year"></toggle-option-ui>
21
+ </toggle-group-ui>
22
+ ```
23
+
24
+ ## single select
25
+
26
+ ```html
27
+ <toggle-group-ui value="left" single>
28
+ <toggle-option-ui value="left" icon="text-align-left"></toggle-option-ui>
29
+ <toggle-option-ui value="center" icon="text-align-center"></toggle-option-ui>
30
+ <toggle-option-ui value="right" icon="text-align-right"></toggle-option-ui>
31
+ <toggle-option-ui value="justify" icon="text-align-justify"></toggle-option-ui>
32
+ </toggle-group-ui>
33
+ ```
@@ -0,0 +1,19 @@
1
+ # toggle-scheme — Examples
2
+
3
+ ## default
4
+
5
+ ```html
6
+ <toggle-scheme-ui></toggle-scheme-ui>
7
+ ```
8
+
9
+ ## variant
10
+
11
+ ```html
12
+ <toggle-scheme-ui variant="ghost"></toggle-scheme-ui>
13
+ ```
14
+
15
+ ## size
16
+
17
+ ```html
18
+ <toggle-scheme-ui size="sm"></toggle-scheme-ui>
19
+ ```
@@ -0,0 +1,46 @@
1
+ # toolbar — Examples
2
+
3
+ ## basic
4
+
5
+ ```html
6
+ <toolbar-ui bordered>
7
+ <button-ui icon="text-b" variant="ghost" size="sm"></button-ui>
8
+ <button-ui icon="text-italic" variant="ghost" size="sm"></button-ui>
9
+ <button-ui icon="text-underline" variant="ghost" size="sm"></button-ui>
10
+ <button-ui icon="text-strikethrough" variant="ghost" size="sm"></button-ui>
11
+ </toolbar-ui>
12
+ ```
13
+
14
+ ## bordered
15
+
16
+ ```html
17
+ <toolbar-ui>
18
+ <button-ui icon="arrow-left" variant="ghost" size="sm"></button-ui>
19
+ <button-ui icon="arrow-right" variant="ghost" size="sm"></button-ui>
20
+ <divider-ui vertical></divider-ui>
21
+ <button-ui icon="arrow-clockwise" variant="ghost" size="sm"></button-ui>
22
+ </toolbar-ui>
23
+ ```
24
+
25
+ ## with dividers
26
+
27
+ ```html
28
+ <toolbar-ui>
29
+ <toolbar-group-ui>
30
+ <button-ui icon="text-b" variant="ghost" size="sm"></button-ui>
31
+ <button-ui icon="text-italic" variant="ghost" size="sm"></button-ui>
32
+ <button-ui icon="text-underline" variant="ghost" size="sm"></button-ui>
33
+ </toolbar-group-ui>
34
+ <divider-ui vertical></divider-ui>
35
+ <toolbar-group-ui>
36
+ <button-ui icon="text-align-left" variant="ghost" size="sm"></button-ui>
37
+ <button-ui icon="text-align-center" variant="ghost" size="sm"></button-ui>
38
+ <button-ui icon="text-align-right" variant="ghost" size="sm"></button-ui>
39
+ </toolbar-group-ui>
40
+ <divider-ui vertical></divider-ui>
41
+ <toolbar-group-ui>
42
+ <button-ui icon="list-bullets" variant="ghost" size="sm"></button-ui>
43
+ <button-ui icon="list-numbers" variant="ghost" size="sm"></button-ui>
44
+ </toolbar-group-ui>
45
+ </toolbar-ui>
46
+ ```
@@ -0,0 +1,25 @@
1
+ # tooltip — Examples
2
+
3
+ ## text
4
+
5
+ ```html
6
+ <tooltip-ui text="Save your changes">
7
+ <button-ui text="Save" variant="primary"></button-ui>
8
+ </tooltip-ui>
9
+ ```
10
+
11
+ ## placement
12
+
13
+ ```html
14
+ <tooltip-ui text="Appears on top" placement="top">
15
+ <button-ui text="Top" variant="outline"></button-ui>
16
+ </tooltip-ui>
17
+ ```
18
+
19
+ ## delay
20
+
21
+ ```html
22
+ <tooltip-ui text="Instant tooltip" delay="0">
23
+ <button-ui text="No Delay" variant="outline"></button-ui>
24
+ </tooltip-ui>
25
+ ```