@adobe/spectrum-design-data 3.3.0-beta.1 → 3.3.0
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/components/accordion.json +67 -15
- package/components/action-bar.json +30 -9
- package/components/action-button.json +92 -39
- package/components/action-group.json +137 -18
- package/components/alert-banner.json +27 -8
- package/components/alert-dialog.json +55 -34
- package/components/avatar-group.json +35 -9
- package/components/avatar.json +105 -29
- package/components/badge.json +163 -56
- package/components/breadcrumbs.json +107 -26
- package/components/button-group.json +63 -19
- package/components/button.json +105 -61
- package/components/calendar.json +74 -8
- package/components/card.json +13 -0
- package/components/cards.json +46 -31
- package/components/checkbox-group.json +85 -16
- package/components/checkbox.json +97 -27
- package/components/close-button.json +75 -20
- package/components/coach-indicator.json +44 -14
- package/components/coach-mark.json +26 -8
- package/components/color-area.json +100 -20
- package/components/color-handle.json +46 -25
- package/components/color-loupe.json +14 -2
- package/components/color-slider.json +129 -26
- package/components/color-wheel.json +91 -17
- package/components/combo-box.json +189 -50
- package/components/contextual-help.json +126 -80
- package/components/date-field.json +7 -0
- package/components/date-picker.json +127 -24
- package/components/divider.json +38 -12
- package/components/drop-zone.json +37 -18
- package/components/field-label.json +62 -21
- package/components/heading.json +7 -0
- package/components/help-text.json +53 -16
- package/components/illustrated-message.json +85 -21
- package/components/in-line-alert.json +53 -13
- package/components/link.json +63 -24
- package/components/list-view.json +80 -15
- package/components/menu.json +181 -45
- package/components/meter.json +78 -24
- package/components/number-field.json +175 -34
- package/components/picker.json +188 -42
- package/components/popover.json +126 -37
- package/components/progress-bar.json +108 -23
- package/components/progress-circle.json +55 -12
- package/components/radio-button.json +67 -14
- package/components/radio-group.json +132 -28
- package/components/rating.json +38 -9
- package/components/search-field.json +126 -34
- package/components/segmented-control.json +70 -21
- package/components/select-box.json +103 -29
- package/components/side-navigation.json +69 -28
- package/components/slider.json +155 -39
- package/components/standard-dialog.json +88 -16
- package/components/status-light.json +136 -41
- package/components/steplist.json +24 -5
- package/components/swatch-group.json +55 -19
- package/components/swatch.json +79 -24
- package/components/switch.json +79 -31
- package/components/table.json +73 -26
- package/components/tabs.json +52 -22
- package/components/tag-field.json +60 -14
- package/components/tag-group.json +56 -16
- package/components/tag.json +78 -21
- package/components/takeover-dialog.json +61 -10
- package/components/text-area.json +205 -49
- package/components/text-field.json +170 -42
- package/components/thumbnail.json +63 -22
- package/components/time-field.json +7 -0
- package/components/toast.json +50 -29
- package/components/tooltip.json +87 -27
- package/components/tree-view.json +147 -45
- package/components/user-card.json +7 -0
- package/guidelines/app-frame-content-area.json +81 -0
- package/guidelines/app-frame-creating-bluelines.json +58 -0
- package/guidelines/app-frame-header.json +72 -0
- package/guidelines/app-frame-overview.json +50 -44
- package/guidelines/app-frame-side-navigation.json +138 -0
- package/guidelines/attention-hierarchy.json +21 -12
- package/guidelines/background-layers.json +10 -44
- package/guidelines/brand.json +10 -30
- package/guidelines/colors.json +17 -35
- package/guidelines/containers.json +62 -0
- package/guidelines/developer-overview.json +9 -25
- package/guidelines/faqs.json +9 -96
- package/guidelines/fonts.json +14 -29
- package/guidelines/grays.json +44 -17
- package/guidelines/icon-fundamentals.json +18 -7
- package/guidelines/illustrations.json +111 -0
- package/guidelines/introduction.json +2 -2
- package/guidelines/manifest.json +60 -252
- package/guidelines/motion.json +16 -17
- package/guidelines/object-styles.json +102 -0
- package/guidelines/principles.json +2 -2
- package/guidelines/resources.json +15 -21
- package/guidelines/spacing.json +25 -0
- package/guidelines/states.json +10 -15
- package/guidelines/typography-fundamentals.json +142 -0
- package/guidelines/using-icons.json +44 -33
- package/package.json +2 -2
- package/registry/platform-implementations.json +30 -0
- package/guidelines/ai-resource-guide.json +0 -50
- package/guidelines/applying-the-type-system.json +0 -63
- package/guidelines/bi-directionality.json +0 -57
- package/guidelines/border-width.json +0 -42
- package/guidelines/cognitive.json +0 -197
- package/guidelines/component-spacing.json +0 -49
- package/guidelines/contact-us.json +0 -67
- package/guidelines/content-area-browsing-context.json +0 -65
- package/guidelines/creating-bluelines-browsing-context.json +0 -91
- package/guidelines/design-tokens.json +0 -122
- package/guidelines/drop-shadow.json +0 -56
- package/guidelines/grammar-and-mechanics.json +0 -252
- package/guidelines/header-browsing-context.json +0 -37
- package/guidelines/illustration.json +0 -109
- package/guidelines/in-product-word-list.json +0 -29
- package/guidelines/inclusive-design.json +0 -93
- package/guidelines/inclusive-ux-writing.json +0 -30
- package/guidelines/internationalization.json +0 -87
- package/guidelines/layout-and-structure-containers.json +0 -47
- package/guidelines/layout-spacing.json +0 -39
- package/guidelines/object-styles-overview.json +0 -17
- package/guidelines/rounding.json +0 -61
- package/guidelines/side-navigation-browsing-context.json +0 -71
- package/guidelines/spacing-overview.json +0 -45
- package/guidelines/typography-overview.json +0 -39
- package/guidelines/typography-system.json +0 -168
- package/guidelines/visual-language-containers.json +0 -36
- package/guidelines/voice-and-tone.json +0 -47
- package/guidelines/writing-about-people.json +0 -103
- package/guidelines/writing-for-errors.json +0 -120
- package/guidelines/writing-for-onboarding.json +0 -119
- package/guidelines/writing-for-readability.json +0 -54
- package/guidelines/writing-with-visuals.json +0 -70
- package/registry/platform-extensions/web-components-states.json +0 -58
|
@@ -16,11 +16,27 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"type": "guideline",
|
|
19
|
-
"content": "
|
|
19
|
+
"content": "In-line alerts display non-modal messages connected to elements in a view. They’re often used in forms to show validation feedback across multiple fields."
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"type": "guideline",
|
|
23
|
-
"content": "
|
|
23
|
+
"content": "An in-line alert can have up to one button. This label should be kept concise, and it should only be used when there’s a direct action available that is related to the in-line alert text."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "Heading is optional for in-line alerts."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "The outline style is the default for in-line alerts."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "There are five semantic variants:"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "When the title of an in-line alert is too long for the available horizontal space, it wraps to form another line. The optional icon in the top-right corner stays aligned to the top."
|
|
24
40
|
}
|
|
25
41
|
],
|
|
26
42
|
"options": {
|
|
@@ -28,12 +44,24 @@
|
|
|
28
44
|
"type": "string",
|
|
29
45
|
"default": "neutral",
|
|
30
46
|
"values": [
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
{
|
|
35
|
-
|
|
36
|
-
|
|
47
|
+
{
|
|
48
|
+
"value": "neutral"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "informative"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"value": "positive"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"value": "notice"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"value": "negative"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"value": "accent"
|
|
64
|
+
}
|
|
37
65
|
]
|
|
38
66
|
},
|
|
39
67
|
"style": {
|
|
@@ -41,9 +69,15 @@
|
|
|
41
69
|
"default": "outline",
|
|
42
70
|
"description": "The visual style of the alert.",
|
|
43
71
|
"values": [
|
|
44
|
-
{
|
|
45
|
-
|
|
46
|
-
|
|
72
|
+
{
|
|
73
|
+
"value": "bold"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"value": "subtle"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "outline"
|
|
80
|
+
}
|
|
47
81
|
]
|
|
48
82
|
},
|
|
49
83
|
"href": {
|
|
@@ -59,11 +93,17 @@
|
|
|
59
93
|
"description": "If undefined, this button does not appear."
|
|
60
94
|
}
|
|
61
95
|
},
|
|
62
|
-
"lifecycle": {
|
|
96
|
+
"lifecycle": {
|
|
97
|
+
"introduced": "1.0.0-draft"
|
|
98
|
+
},
|
|
63
99
|
"accessibility": {
|
|
64
100
|
"focusable": false,
|
|
65
101
|
"wcag": [
|
|
66
|
-
{
|
|
102
|
+
{
|
|
103
|
+
"criterion": "4.1.3",
|
|
104
|
+
"level": "AA",
|
|
105
|
+
"title": "Status Messages"
|
|
106
|
+
}
|
|
67
107
|
]
|
|
68
108
|
}
|
|
69
109
|
}
|
package/components/link.json
CHANGED
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"category": "actions",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/link/"
|
|
11
11
|
},
|
|
12
|
+
"implementations": [
|
|
13
|
+
{
|
|
14
|
+
"platform": "web",
|
|
15
|
+
"componentName": "Link",
|
|
16
|
+
"package": "@react-spectrum/s2"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
12
19
|
"documentBlocks": [
|
|
13
20
|
{
|
|
14
21
|
"type": "purpose",
|
|
@@ -16,80 +23,112 @@
|
|
|
16
23
|
},
|
|
17
24
|
{
|
|
18
25
|
"type": "guideline",
|
|
19
|
-
"content": "
|
|
26
|
+
"content": "Links provide navigation to a different location. They can appear within a paragraph or as standalone text."
|
|
20
27
|
},
|
|
21
28
|
{
|
|
22
29
|
"type": "guideline",
|
|
23
|
-
"content": "
|
|
30
|
+
"content": "Use the static color option when a link needs to be placed on top of a color background or visual. Static color links are available in black or white, regardless of color theme. They can also be placed on top of a custom background that isn’t part of a Spectrum color theme."
|
|
24
31
|
},
|
|
25
32
|
{
|
|
26
33
|
"type": "guideline",
|
|
27
|
-
"content": "
|
|
34
|
+
"content": "Use static black on light color or image backgrounds, and static white on dark color or image backgrounds, regardless of color theme. Make sure that the background and the link color meet the minimum color contrast ratio."
|
|
28
35
|
},
|
|
29
36
|
{
|
|
30
37
|
"type": "guideline",
|
|
31
|
-
"content": "
|
|
38
|
+
"content": "All links can have a quiet style, without an underline. This style should only be used when the placement and context of the link is explicit enough that a visible underline isn’t necessary."
|
|
32
39
|
},
|
|
33
40
|
{
|
|
34
41
|
"type": "guideline",
|
|
35
|
-
"content": "
|
|
42
|
+
"content": "The variant property defines the visual style of a link and includes two options: primary and secondary."
|
|
36
43
|
},
|
|
37
44
|
{
|
|
38
45
|
"type": "guideline",
|
|
39
|
-
"content": "
|
|
46
|
+
"content": "The primary variant is the default style and displays the link in Spectrum blue. It is intended to draw attention to the link and is suitable when the blue color complements the surrounding content without being overwhelming."
|
|
40
47
|
},
|
|
41
48
|
{
|
|
42
49
|
"type": "guideline",
|
|
43
|
-
"content": "
|
|
50
|
+
"content": "The secondary variant uses the same gray color as the surrounding paragraph text. Its subdued appearance is ideal for scenarios where multiple links are present in a block of text and the primary variant would be too visually dominant."
|
|
44
51
|
},
|
|
45
52
|
{
|
|
46
53
|
"type": "guideline",
|
|
47
|
-
"content": "
|
|
54
|
+
"content": "Links are for usage in body copy and are not appropriate in titles. Consider using a different component if you're looking for a larger or more prominent call to action, such as a button."
|
|
48
55
|
},
|
|
49
56
|
{
|
|
50
57
|
"type": "guideline",
|
|
51
|
-
"content": "
|
|
58
|
+
"content": "Be mindful of link placement and language, and create experiences that are inclusive of users navigating with screen readers. Screen readers pull a list of links — only the link text, and not including other surrounding language — to determine the content of the page."
|
|
52
59
|
},
|
|
53
60
|
{
|
|
54
61
|
"type": "guideline",
|
|
55
|
-
"content": "
|
|
62
|
+
"content": "People using screen readers may tab between links without getting the text in between, so very generic link wording like “learn more” or “click here” doesn’t communicate any context from elsewhere in the experience. Identify the target of each link directly in the link text to communicate context and set clear expectations about where the link will go."
|
|
56
63
|
},
|
|
57
64
|
{
|
|
58
65
|
"type": "guideline",
|
|
59
|
-
"content": "
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "guideline",
|
|
63
|
-
"content": "WCAG 2.2 compliance.\n\nAny criterion not mention in the below table are not applicable to this component or are resolved with underlying requirements, engineering, and styles of the entire system. 1. Perceivable Requirement Criterion Level Compliance Info and relationships, Identify purpose 1.3.1, 1.3.6 A, AAALinks should be understandable by assistive technologies like screen readers. This means using the proper semantic HTML or ARIA role should be utilized.Use of color 1.4.1 AColor is never used as the sole way to convey that text is a link. Links are paired with an additional visual indicator, such as an underline, so the link purpose is communicated without relying on color alone.Text contrast 1.4.3 AALarge text has a contrast ratio of at least 3:1, and small text has a contrast ratio of at least 4.5:1. Incidental text such as disabled, hidden, or decorative text has no contrast requirement.Visual presentation 1.4.8 AAAThe width of text blocks is no more than 80 characters (40 for CJK languages), and text is never justified.Non-text contrast 1.4.11 AAThe visual presentation of link states has a contrast ratio of at least 3:1.Text spacing 1.4.12 AALine height of text is at least 1.5x the font size. 2. Operable RequirementCriterionLevel Compliance Keyboard 2.1.1, 2.1.3 A, AAAAll functionality of the component is operable through a keyboard without specific timing for keystrokes.Keyboard traps 2.1.2 AFocus can be moved away from the component using only a keyboard.Seizures and physical reactions 2.3.1, 2.3.2, 2.3.3 A, AAA, AAAThere is no flashing content or unnecessary motion or animation in this component.Focus order 2.4.3 ANavigation sequences receive focus in an order that preserves meaning and operability.Focus visible 2.4.7 AAKeyboard states use an indicator that is visible with at least 3:1 contrast."
|
|
66
|
+
"content": "Quiet links are less accessible, so don't use them for links that are critical to an experience. Quiet links are commonly used in website footers, where there are several lists of links that are shortcuts to other pages."
|
|
64
67
|
}
|
|
65
68
|
],
|
|
66
69
|
"options": {
|
|
67
70
|
"variant": {
|
|
68
71
|
"type": "string",
|
|
69
72
|
"default": "primary",
|
|
70
|
-
"values": [
|
|
73
|
+
"values": [
|
|
74
|
+
{
|
|
75
|
+
"value": "primary"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"value": "secondary"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"isQuiet": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"default": false
|
|
71
85
|
},
|
|
72
|
-
"isQuiet": { "type": "boolean", "default": false },
|
|
73
86
|
"staticColor": {
|
|
74
87
|
"type": "string",
|
|
75
88
|
"description": "Static color must not be set for the default version of this component.",
|
|
76
|
-
"values": [
|
|
89
|
+
"values": [
|
|
90
|
+
{
|
|
91
|
+
"value": "white"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"value": "black"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
77
97
|
}
|
|
78
98
|
},
|
|
79
99
|
"states": [
|
|
80
|
-
{
|
|
81
|
-
|
|
82
|
-
|
|
100
|
+
{
|
|
101
|
+
"name": "hover",
|
|
102
|
+
"trigger": "interaction"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "down",
|
|
106
|
+
"trigger": "interaction"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "keyboard-focus",
|
|
110
|
+
"trigger": "interaction"
|
|
111
|
+
}
|
|
83
112
|
],
|
|
84
|
-
"lifecycle": {
|
|
113
|
+
"lifecycle": {
|
|
114
|
+
"introduced": "1.0.0-draft"
|
|
115
|
+
},
|
|
85
116
|
"accessibility": {
|
|
86
117
|
"role": "link",
|
|
87
118
|
"intents": ["navigate"],
|
|
88
119
|
"focusable": true,
|
|
89
120
|
"keyboardIntents": ["activate"],
|
|
90
121
|
"wcag": [
|
|
91
|
-
{
|
|
92
|
-
|
|
122
|
+
{
|
|
123
|
+
"criterion": "2.1.1",
|
|
124
|
+
"level": "A",
|
|
125
|
+
"title": "Keyboard"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"criterion": "4.1.2",
|
|
129
|
+
"level": "A",
|
|
130
|
+
"title": "Name, Role, Value"
|
|
131
|
+
}
|
|
93
132
|
]
|
|
94
133
|
}
|
|
95
134
|
}
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"category": "navigation",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/list-view/"
|
|
11
11
|
},
|
|
12
|
+
"implementations": [
|
|
13
|
+
{
|
|
14
|
+
"platform": "web",
|
|
15
|
+
"componentName": "ListView",
|
|
16
|
+
"package": "@react-spectrum/s2"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
12
19
|
"documentBlocks": [
|
|
13
20
|
{
|
|
14
21
|
"type": "purpose",
|
|
@@ -16,31 +23,67 @@
|
|
|
16
23
|
},
|
|
17
24
|
{
|
|
18
25
|
"type": "guideline",
|
|
19
|
-
"content": "
|
|
26
|
+
"content": "List views display content in a structured, scrollable list. They support sorting, organizing, and selecting multiple items at once."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "guideline",
|
|
30
|
+
"content": "A list view is a versatile component and can contain many items depending on the use case. These items can be icons, thumbnails, avatars, checkboxes, drag handles, action buttons, and more."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "guideline",
|
|
34
|
+
"content": "By default a list view is not quiet. If true, the list view uses a quiet visual style meaning there is no background or borders to the component."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "guideline",
|
|
38
|
+
"content": "The selection mode defines how many items can be selected at once. A list view can use single selection, multiple selection, or none."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "guideline",
|
|
42
|
+
"content": "In the highlight selection style for touch interactions, tapping anywhere on the item will navigate to its contents. For mouse-based interactions, double-clicking anywhere on the item or single-clicking the navigation icon will do the same."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "guideline",
|
|
46
|
+
"content": "In the checkbox selection style, clicking or tapping the label area or navigation icon of a list view item will navigate to its contents."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "guideline",
|
|
50
|
+
"content": "Single-clicking or tapping anywhere on a list view item will select the item, except the label in checkbox selection style. For checkbox selection style, clicking the label will navigate to the item."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "guideline",
|
|
54
|
+
"content": "In touch experiences, the list view default is navigation only with the highlight selection style. Users enter a selection mode by a touch and hold gesture on any list view item."
|
|
20
55
|
},
|
|
21
56
|
{
|
|
22
57
|
"type": "guideline",
|
|
23
|
-
"content": "Selection
|
|
58
|
+
"content": "Selection mode in touch uses the checkbox selection style and suppresses navigation. Users can exit selection mode by pressing the Escape key or deselecting all items."
|
|
24
59
|
},
|
|
25
60
|
{
|
|
26
61
|
"type": "guideline",
|
|
27
|
-
"content": "
|
|
62
|
+
"content": "List view items can be dragged and dropped to reorder or restructure the list."
|
|
28
63
|
},
|
|
29
64
|
{
|
|
30
65
|
"type": "guideline",
|
|
31
|
-
"content": "
|
|
66
|
+
"content": "Multiple items can be dragged at a time and shifted from one level of hierarchy to another."
|
|
32
67
|
},
|
|
33
68
|
{
|
|
34
69
|
"type": "guideline",
|
|
35
|
-
"content": "
|
|
70
|
+
"content": "List views can also accept dropped items from outside the component, to modify the list."
|
|
36
71
|
},
|
|
37
72
|
{
|
|
38
73
|
"type": "guideline",
|
|
39
|
-
"content": "
|
|
74
|
+
"content": "A list view item's label or description will truncate if the text is longer than the available horizontal space. Display the full label or description text in a tooltip on hover and focus states."
|
|
40
75
|
},
|
|
41
76
|
{
|
|
42
77
|
"type": "guideline",
|
|
43
|
-
"content": "When
|
|
78
|
+
"content": "When more than two actions are available for a list view item, the actions are nested within an action menu."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "guideline",
|
|
82
|
+
"content": "List views work best for flat collections of items that share the same hierarchy level."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "guideline",
|
|
86
|
+
"content": "Tree views are ideal for displaying nested or hierarchical relationships."
|
|
44
87
|
}
|
|
45
88
|
],
|
|
46
89
|
"options": {
|
|
@@ -49,9 +92,15 @@
|
|
|
49
92
|
"default": "single",
|
|
50
93
|
"description": "Defines how many items can be selected at once.",
|
|
51
94
|
"values": [
|
|
52
|
-
{
|
|
53
|
-
|
|
54
|
-
|
|
95
|
+
{
|
|
96
|
+
"value": "none"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"value": "single"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"value": "multiple"
|
|
103
|
+
}
|
|
55
104
|
]
|
|
56
105
|
},
|
|
57
106
|
"isQuiet": {
|
|
@@ -110,7 +159,10 @@
|
|
|
110
159
|
"default": "none",
|
|
111
160
|
"description": "Defines the border radius of the list view item."
|
|
112
161
|
},
|
|
113
|
-
"isEmphasized": {
|
|
162
|
+
"isEmphasized": {
|
|
163
|
+
"type": "boolean",
|
|
164
|
+
"default": false
|
|
165
|
+
},
|
|
114
166
|
"state": {
|
|
115
167
|
"type": "string",
|
|
116
168
|
"enum": ["default", "hover", "dragged"],
|
|
@@ -140,7 +192,10 @@
|
|
|
140
192
|
"name": "checkbox",
|
|
141
193
|
"description": "Checkbox control for a list view item in checkbox selection style."
|
|
142
194
|
},
|
|
143
|
-
{
|
|
195
|
+
{
|
|
196
|
+
"name": "icon",
|
|
197
|
+
"description": "Leading icon of a list view item."
|
|
198
|
+
},
|
|
144
199
|
{
|
|
145
200
|
"name": "thumbnail",
|
|
146
201
|
"description": "Thumbnail image of a list view item."
|
|
@@ -162,14 +217,24 @@
|
|
|
162
217
|
"description": "Icon indicating a list view item navigates to a new context."
|
|
163
218
|
}
|
|
164
219
|
],
|
|
165
|
-
"lifecycle": {
|
|
220
|
+
"lifecycle": {
|
|
221
|
+
"introduced": "1.0.0-draft"
|
|
222
|
+
},
|
|
166
223
|
"accessibility": {
|
|
167
224
|
"intents": ["select", "navigate"],
|
|
168
225
|
"focusable": true,
|
|
169
226
|
"keyboardIntents": ["navigate-items", "activate", "select-all"],
|
|
170
227
|
"wcag": [
|
|
171
|
-
{
|
|
172
|
-
|
|
228
|
+
{
|
|
229
|
+
"criterion": "2.1.1",
|
|
230
|
+
"level": "A",
|
|
231
|
+
"title": "Keyboard"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"criterion": "4.1.2",
|
|
235
|
+
"level": "A",
|
|
236
|
+
"title": "Name, Role, Value"
|
|
237
|
+
}
|
|
173
238
|
]
|
|
174
239
|
}
|
|
175
240
|
}
|