|
97 | 97 | "title": "Badge",
|
98 | 98 | "description": "Badge is a global component used for pimples, numeric notifications and icon badges. Badge indicates new threads in the child view and creates a “trail” user can follow. \nUse a Pimple Badge to indicate a notification or new activity of an item (e.g. new activity inside a group) or a status (online, unread).\n\nBadges usually appear on or near other components like Icons, Avatars, Chips and Lists.",
|
99 | 99 | "type": "hero",
|
100 |
| - "layout": "horizontal" |
| 100 | + "layout": "horizontal", |
| 101 | + "content": [ |
| 102 | + { |
| 103 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_cover.png" |
| 104 | + } |
| 105 | + ] |
101 | 106 | },
|
102 | 107 | "tabs": [
|
103 | 108 | {
|
|
111 | 116 | ],
|
112 | 117 | "items": [
|
113 | 118 | {
|
114 |
| - "title": "Counter" |
| 119 | + "title": "Counter", |
| 120 | + "content": [ |
| 121 | + { |
| 122 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_types_counter.png" |
| 123 | + } |
| 124 | + ] |
115 | 125 | },
|
116 | 126 | {
|
117 |
| - "title": "Text" |
| 127 | + "title": "Text", |
| 128 | + "content": [ |
| 129 | + { |
| 130 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_types_text.png" |
| 131 | + } |
| 132 | + ] |
118 | 133 | },
|
119 | 134 | {
|
120 |
| - "title": "Pimple" |
| 135 | + "title": "Pimple", |
| 136 | + "content": [ |
| 137 | + { |
| 138 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_types_pimple.png" |
| 139 | + } |
| 140 | + ] |
121 | 141 | },
|
122 | 142 | {
|
123 |
| - "title": "Icon" |
| 143 | + "title": "Icon", |
| 144 | + "content": [ |
| 145 | + { |
| 146 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_types_icon.png" |
| 147 | + } |
| 148 | + ] |
124 | 149 | }
|
125 | 150 | ],
|
126 | 151 | "title": "Types"
|
|
134 | 159 | ],
|
135 | 160 | "items": [
|
136 | 161 | {
|
137 |
| - "title": "Large" |
| 162 | + "title": "Large", |
| 163 | + "content": [ |
| 164 | + { |
| 165 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_size_counter_large.png" |
| 166 | + }, |
| 167 | + { |
| 168 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_size_pimple_large.png" |
| 169 | + } |
| 170 | + ] |
138 | 171 | },
|
139 | 172 | {
|
140 |
| - "title": "Small" |
| 173 | + "title": "Small", |
| 174 | + "content": [ |
| 175 | + { |
| 176 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_size_counter_small.png" |
| 177 | + }, |
| 178 | + { |
| 179 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_size_pimple_small.png" |
| 180 | + } |
| 181 | + ] |
141 | 182 | }
|
142 | 183 | ],
|
143 | 184 | "title": "Size"
|
|
152 | 193 | "items": [
|
153 | 194 | {
|
154 | 195 | "title": "Red",
|
155 |
| - "description": "Counter Badge" |
| 196 | + "description": "Used for notifications or new items. ", |
| 197 | + "content": [ |
| 198 | + { |
| 199 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_counter_red.png" |
| 200 | + }, |
| 201 | + { |
| 202 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_pimple_red.png" |
| 203 | + } |
| 204 | + ] |
156 | 205 | },
|
157 | 206 | {
|
158 | 207 | "title": "Green",
|
159 |
| - "description": "Used for live visitors or an “online” indication. " |
| 208 | + "description": "Used for live visitors or an “online” indication. ", |
| 209 | + "content": [ |
| 210 | + { |
| 211 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_counter_green.png" |
| 212 | + }, |
| 213 | + { |
| 214 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_pimple_green.png" |
| 215 | + } |
| 216 | + ] |
160 | 217 | },
|
161 | 218 | {
|
162 | 219 | "title": "Blue",
|
163 |
| - "description": "Used for chat messages." |
| 220 | + "description": "Used for chat messages.", |
| 221 | + "content": [ |
| 222 | + { |
| 223 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_counter_blue.png" |
| 224 | + }, |
| 225 | + { |
| 226 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_pimple_blue.png" |
| 227 | + } |
| 228 | + ] |
164 | 229 | },
|
165 | 230 | {
|
166 | 231 | "title": "Grey",
|
167 |
| - "description": "Used for passive counters." |
| 232 | + "description": "Used for passive counters.", |
| 233 | + "content": [ |
| 234 | + { |
| 235 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_counter_grey.png" |
| 236 | + }, |
| 237 | + { |
| 238 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_style_pimple_grey.png" |
| 239 | + } |
| 240 | + ] |
168 | 241 | }
|
169 | 242 | ],
|
170 | 243 | "title": "Style"
|
|
178 | 251 | "items": [
|
179 | 252 | {
|
180 | 253 | "title": "Icon",
|
181 |
| - "description": "" |
| 254 | + "description": "Icon can be added as an accessory to counter badge, or cover the entire badge", |
| 255 | + "content": [ |
| 256 | + { |
| 257 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Badge/badge_accessory_icon.png" |
| 258 | + } |
| 259 | + ] |
182 | 260 | }
|
183 | 261 | ],
|
184 | 262 | "title": "Accessories"
|
|
188 | 266 | "items": [
|
189 | 267 | {
|
190 | 268 | "title": "Badge size recommendations",
|
191 |
| - "description": "On Icon: Large Pimple or Small Badge\nOn Thumbnail: Large Badge\nOn Avatar:
Avatar 3XSmall, XXSmall - Pimple Small
Avatar XSmall, Small, Medium - Pimple Large
Avatar Large, XLarge - Pimple 14x14" |
| 269 | + "description": "On Icon: Large Pimple or Small Badge\nOn Thumbnail: Large Badge\nOn Avatar:
Avatar 3XSmall, XXSmall - Pimple Small
Avatar XSmall, Small, Medium - Pimple Large
Avatar Large, XLarge - Pimple 14x14", |
| 270 | + "content": [ |
| 271 | + { |
| 272 | + "value": "https://embed.figma.com/design/xFjvYNkGTmYTGYMLrmz9Ir/Docs-Assets?node-id=487-40121&embed-host=share" |
| 273 | + } |
| 274 | + ] |
192 | 275 | },
|
193 | 276 | {
|
194 |
| - "title": "Size" |
| 277 | + "title": "Size", |
| 278 | + "description": "Badge basic and minimum shape is a circle. Badge expands horizontally according to value width maintaining fixed padding. ", |
| 279 | + "content": [ |
| 280 | + { |
| 281 | + "value": "https://embed.figma.com/design/xFjvYNkGTmYTGYMLrmz9Ir/Docs-Assets?node-id=487-40267&embed-host=share" |
| 282 | + } |
| 283 | + ] |
195 | 284 | }
|
196 | 285 | ],
|
197 | 286 | "title": "Spec",
|
|
0 commit comments