@adobe/spectrum-design-data 0.4.0 → 0.7.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 +108 -194
- package/components/action-bar.json +64 -97
- package/components/action-button.json +95 -230
- package/components/action-group.json +88 -86
- package/components/alert-banner.json +104 -76
- package/components/alert-dialog.json +78 -126
- package/components/avatar-group.json +61 -119
- package/components/avatar.json +98 -212
- package/components/badge.json +138 -256
- package/components/breadcrumbs.json +95 -89
- package/components/button-group.json +57 -48
- package/components/button.json +151 -368
- package/components/calendar.json +97 -34
- package/components/cards.json +109 -250
- package/components/checkbox-group.json +50 -58
- package/components/checkbox.json +121 -186
- package/components/close-button.json +61 -124
- package/components/coach-indicator.json +63 -72
- package/components/coach-mark.json +89 -93
- package/components/color-area.json +68 -94
- package/components/color-handle.json +39 -79
- package/components/color-loupe.json +35 -52
- package/components/color-slider.json +95 -116
- package/components/color-wheel.json +67 -73
- package/components/combo-box.json +243 -331
- package/components/contextual-help.json +86 -175
- package/components/date-picker.json +139 -179
- package/components/divider.json +30 -69
- package/components/drop-zone.json +51 -92
- package/components/field-label.json +75 -117
- package/components/help-text.json +81 -105
- package/components/illustrated-message.json +106 -73
- package/components/in-line-alert.json +50 -83
- package/components/link.json +63 -85
- package/components/list-view.json +107 -146
- package/components/menu.json +180 -274
- package/components/meter.json +72 -118
- package/components/number-field.json +213 -305
- package/components/picker.json +208 -320
- package/components/popover.json +94 -129
- package/components/progress-bar.json +94 -131
- package/components/progress-circle.json +45 -72
- package/components/radio-button.json +87 -156
- package/components/radio-group.json +107 -74
- package/components/rating.json +66 -99
- package/components/search-field.json +132 -202
- package/components/segmented-control.json +94 -109
- package/components/select-box.json +119 -179
- package/components/side-navigation.json +108 -118
- package/components/slider.json +143 -228
- package/components/standard-dialog.json +96 -114
- package/components/standard-panel.json +105 -53
- package/components/status-light.json +104 -240
- package/components/steplist.json +77 -161
- package/components/swatch-group.json +42 -58
- package/components/swatch.json +75 -162
- package/components/switch.json +101 -189
- package/components/table.json +97 -102
- package/components/tabs.json +77 -104
- package/components/tag-field.json +86 -150
- package/components/tag-group.json +50 -44
- package/components/tag.json +81 -198
- package/components/takeover-dialog.json +59 -57
- package/components/text-area.json +200 -323
- package/components/text-field.json +183 -304
- package/components/thumbnail.json +63 -105
- package/components/toast.json +97 -83
- package/components/tooltip.json +104 -96
- package/components/tree-view.json +169 -181
- 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 +167 -0
- package/guidelines/app-frame-side-navigation.json +138 -0
- package/guidelines/attention-hierarchy.json +42 -0
- package/guidelines/background-layers.json +38 -0
- package/guidelines/brand.json +50 -0
- package/guidelines/colors.json +62 -0
- package/guidelines/containers.json +62 -0
- package/guidelines/developer-overview.json +35 -0
- package/guidelines/faqs.json +35 -0
- package/guidelines/fonts.json +58 -0
- package/guidelines/grays.json +66 -0
- package/guidelines/icon-fundamentals.json +45 -0
- package/guidelines/illustrations.json +111 -0
- package/guidelines/introduction.json +31 -0
- package/guidelines/manifest.json +204 -0
- package/guidelines/motion.json +41 -0
- package/guidelines/object-styles.json +102 -0
- package/guidelines/principles.json +30 -0
- package/guidelines/resources.json +59 -0
- package/guidelines/spacing.json +25 -0
- package/guidelines/states.json +34 -0
- package/guidelines/typography-fundamentals.json +142 -0
- package/guidelines/using-icons.json +107 -0
- package/package.json +4 -2
|
@@ -9,154 +9,144 @@
|
|
|
9
9
|
"category": "feedback",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/standard-dialog/"
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
"title": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"description": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"hideImage": {
|
|
20
|
-
"type": "boolean",
|
|
21
|
-
"default": false,
|
|
22
|
-
"description": "Optional image to display in dialog."
|
|
23
|
-
},
|
|
24
|
-
"size": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"default": "m",
|
|
27
|
-
"values": [
|
|
28
|
-
{
|
|
29
|
-
"value": "s"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"value": "m"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"value": "l"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"hideCloseButton": {
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"default": false
|
|
42
|
-
},
|
|
43
|
-
"footerContent": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "Optional footer content to display in the dialog footer like a checkbox."
|
|
46
|
-
},
|
|
47
|
-
"primaryActionLabel": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
},
|
|
50
|
-
"secondaryActionLabel": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"description": "If undefined, this button does not appear."
|
|
53
|
-
},
|
|
54
|
-
"cancelActionLabel": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"default": "cancel",
|
|
57
|
-
"description": "If undefined, this button does not appear."
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"lifecycle": {
|
|
61
|
-
"introduced": "1.0.0-draft"
|
|
62
|
-
},
|
|
63
|
-
"tokenBindings": [
|
|
12
|
+
"documentBlocks": [
|
|
64
13
|
{
|
|
65
|
-
"
|
|
66
|
-
"
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Standard dialogs display important information that users need to acknowledge. They appear over the interface and block further interactions until an action is selected."
|
|
67
16
|
},
|
|
68
17
|
{
|
|
69
|
-
"
|
|
70
|
-
"
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Standard dialogs are containers that appear over the interface to present contextual information, tasks, or workflows. They’re centered on the screen and used for moderately complex actions that require focused attention. Interactions outside the dialog are blocked until it's dismissed or completed."
|
|
71
20
|
},
|
|
72
21
|
{
|
|
73
|
-
"
|
|
74
|
-
"
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "By default, an alert dialog that includes a button to cancel or go back will be labeled “Cancel.”"
|
|
75
24
|
},
|
|
76
25
|
{
|
|
77
|
-
"
|
|
78
|
-
"
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "Standard dialogs can include up to three buttons if a secondary outline button label is defined. If no label is defined, the button won’t appear. The secondary outline button should use a short, actionable phrase that clearly communicates the result of selecting the action—typically describing the previous step or an alternative choice."
|
|
79
28
|
},
|
|
80
29
|
{
|
|
81
|
-
"
|
|
82
|
-
"
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "The primary action label refers to the rightmost button in the dialog footer for languages that read left to right. It should use a short, actionable phrase that clearly communicates the result of selecting the action—whether that means moving forward or dismissing the dialog."
|
|
83
32
|
},
|
|
84
33
|
{
|
|
85
|
-
"
|
|
86
|
-
"
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "The presence of a close button determines whether a dialog is dismissible."
|
|
87
36
|
},
|
|
88
37
|
{
|
|
89
|
-
"
|
|
90
|
-
"
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "In both cases, pressing the Escape key should close the dialog and return the page to its previous state. This action should behave the same as clicking a close or cancel button."
|
|
91
40
|
},
|
|
92
41
|
{
|
|
93
|
-
"
|
|
94
|
-
"
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "Standard dialogs are available in three widths:"
|
|
95
44
|
},
|
|
96
45
|
{
|
|
97
|
-
"
|
|
98
|
-
"
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "Dialogs automatically scale down to 90% of the screen width on smaller viewports. Height is flexible and adjusts to fit the content."
|
|
99
48
|
},
|
|
100
49
|
{
|
|
101
|
-
"
|
|
102
|
-
"
|
|
50
|
+
"type": "guideline",
|
|
51
|
+
"content": "Standard dialogs can include a full-bleed cover image at the top. Dialogs with a cover image should not be dismissible and rely on buttons in the footer area to close the dialog."
|
|
103
52
|
},
|
|
104
53
|
{
|
|
105
|
-
"
|
|
106
|
-
"
|
|
54
|
+
"type": "guideline",
|
|
55
|
+
"content": "Standard dialogs can include an optional description. Use the description to briefly provide additional context or information that helps users make an informed decision based on the available actions."
|
|
107
56
|
},
|
|
108
57
|
{
|
|
109
|
-
"
|
|
110
|
-
"
|
|
58
|
+
"type": "guideline",
|
|
59
|
+
"content": "All standard dialogs must include a title. The title appears at the top of the dialog and should briefly describe the expected outcome if the user proceeds with the primary action. If a cover image is shown, the title will appear below it."
|
|
111
60
|
},
|
|
112
61
|
{
|
|
113
|
-
"
|
|
114
|
-
"
|
|
62
|
+
"type": "guideline",
|
|
63
|
+
"content": "Standard dialogs appear in the center of the screen."
|
|
115
64
|
},
|
|
116
65
|
{
|
|
117
|
-
"
|
|
118
|
-
"
|
|
66
|
+
"type": "guideline",
|
|
67
|
+
"content": "When the title and description text are too long for the available horizontal space, they wrap to form another line."
|
|
119
68
|
},
|
|
120
69
|
{
|
|
121
|
-
"
|
|
122
|
-
"
|
|
70
|
+
"type": "guideline",
|
|
71
|
+
"content": "Standard dialogs can include up to three buttons. When horizontal space is limited, the buttons stack vertically. Buttons should be ordered by ascending importance, with the most critical action placed at the end or bottom of the stack."
|
|
123
72
|
},
|
|
124
73
|
{
|
|
125
|
-
"
|
|
126
|
-
"
|
|
74
|
+
"type": "guideline",
|
|
75
|
+
"content": "Avoid using a dismissible dialog when the user needs to confirm an action or make a decision. Instead, use a dismissible dialog for information that is optional or nice to know—content that can be quickly dismissed without requiring user action."
|
|
127
76
|
},
|
|
128
77
|
{
|
|
129
|
-
"
|
|
130
|
-
"
|
|
78
|
+
"type": "guideline",
|
|
79
|
+
"content": "A dismissible dialog should not include buttons in the footer. Instead, the dialog is dismissed by clicking the close button or the background overlay."
|
|
131
80
|
},
|
|
132
81
|
{
|
|
133
|
-
"
|
|
134
|
-
"
|
|
82
|
+
"type": "guideline",
|
|
83
|
+
"content": "Most dialog titles should communicate the primary action of the dialog. When possible, the button label should use the same language as the action mentioned in the title. For example, if the title is “Delete conversation,” the primary action button label should be “Delete.”"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"options": {
|
|
87
|
+
"title": { "type": "string" },
|
|
88
|
+
"description": { "type": "string" },
|
|
89
|
+
"hideImage": {
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"default": false,
|
|
92
|
+
"description": "Optional image to display in dialog."
|
|
135
93
|
},
|
|
136
|
-
{
|
|
137
|
-
"
|
|
138
|
-
"
|
|
94
|
+
"size": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"default": "m",
|
|
97
|
+
"values": [{ "value": "s" }, { "value": "m" }, { "value": "l" }]
|
|
139
98
|
},
|
|
140
|
-
{
|
|
141
|
-
|
|
142
|
-
"
|
|
99
|
+
"hideCloseButton": { "type": "boolean", "default": false },
|
|
100
|
+
"footerContent": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Optional footer content to display in the dialog footer like a checkbox."
|
|
143
103
|
},
|
|
144
|
-
{
|
|
145
|
-
|
|
146
|
-
"
|
|
104
|
+
"primaryActionLabel": { "type": "string" },
|
|
105
|
+
"secondaryActionLabel": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "If undefined, this button does not appear."
|
|
147
108
|
},
|
|
109
|
+
"cancelActionLabel": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"default": "cancel",
|
|
112
|
+
"description": "If undefined, this button does not appear."
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
116
|
+
"tokenBindings": [
|
|
148
117
|
{
|
|
149
|
-
"token": "standard-dialog-
|
|
150
|
-
"context": "
|
|
118
|
+
"token": "standard-dialog-maximum-width-small",
|
|
119
|
+
"context": "Maximum width"
|
|
151
120
|
},
|
|
152
121
|
{
|
|
153
|
-
"token": "
|
|
154
|
-
"context": "
|
|
122
|
+
"token": "standard-dialog-maximum-width-medium",
|
|
123
|
+
"context": "Maximum width"
|
|
155
124
|
},
|
|
156
125
|
{
|
|
157
|
-
"token": "
|
|
158
|
-
"context": "
|
|
159
|
-
}
|
|
126
|
+
"token": "standard-dialog-maximum-width-large",
|
|
127
|
+
"context": "Maximum width"
|
|
128
|
+
},
|
|
129
|
+
{ "token": "standard-dialog-minimum-width", "context": "Minimum width" },
|
|
130
|
+
{ "token": "corner-radius-extra-large-default", "context": "Rounding" },
|
|
131
|
+
{ "token": "spacing-500", "context": "Spacing (edge to content)" },
|
|
132
|
+
{ "token": "spacing-400", "context": "Spacing (edge to content)" },
|
|
133
|
+
{ "token": "spacing-300", "context": "Spacing (title to description)" },
|
|
134
|
+
{ "token": "spacing-200", "context": "Spacing (edge to close button)" },
|
|
135
|
+
{ "token": "background-color-layer2", "context": "Background" },
|
|
136
|
+
{ "token": "overlay-color", "context": "Overlay" },
|
|
137
|
+
{ "token": "overlay-opacity", "context": "Overlay" },
|
|
138
|
+
{ "token": "title-sans-serif-font-family", "context": "Title" },
|
|
139
|
+
{ "token": "title-sans-serif-font-weight", "context": "Title" },
|
|
140
|
+
{ "token": "title-sans-serif-font-style", "context": "Title" },
|
|
141
|
+
{ "token": "standard-dialog-title-font-size", "context": "Title" },
|
|
142
|
+
{ "token": "title-line-height", "context": "Title" },
|
|
143
|
+
{ "token": "heading-color", "context": "Title" },
|
|
144
|
+
{ "token": "body-sans-serif-font-family", "context": "Description" },
|
|
145
|
+
{ "token": "body-sans-serif-font-weight", "context": "Description" },
|
|
146
|
+
{ "token": "body-sans-serif-font-style", "context": "Description" },
|
|
147
|
+
{ "token": "standard-dialog-body-font-size", "context": "Description" },
|
|
148
|
+
{ "token": "line-height-200", "context": "Description" },
|
|
149
|
+
{ "token": "body-color", "context": "Description" }
|
|
160
150
|
],
|
|
161
151
|
"accessibility": {
|
|
162
152
|
"role": "dialog",
|
|
@@ -164,16 +154,8 @@
|
|
|
164
154
|
"focusable": false,
|
|
165
155
|
"keyboardIntents": ["dismiss"],
|
|
166
156
|
"wcag": [
|
|
167
|
-
{
|
|
168
|
-
|
|
169
|
-
"level": "A",
|
|
170
|
-
"title": "Focus Order"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"criterion": "4.1.2",
|
|
174
|
-
"level": "A",
|
|
175
|
-
"title": "Name, Role, Value"
|
|
176
|
-
}
|
|
157
|
+
{ "criterion": "2.4.3", "level": "A", "title": "Focus Order" },
|
|
158
|
+
{ "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
|
|
177
159
|
]
|
|
178
160
|
}
|
|
179
161
|
}
|
|
@@ -9,75 +9,127 @@
|
|
|
9
9
|
"category": "containers",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/standard-panel/"
|
|
11
11
|
},
|
|
12
|
+
"documentBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"type": "purpose",
|
|
15
|
+
"content": "Standard Panels provide a flexible container for grouping related content and actions."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "guideline",
|
|
19
|
+
"content": "Standard panels are containers used to group related content or tools in a consistent layout. They support a range of sizes, densities, and configurations to fit different use cases across products. Panels can be placed alongside primary content to provide supporting controls or information."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "guideline",
|
|
23
|
+
"content": "Determines whether the close button is visible in the top right corner of the panel. Set to true to hide the button when panel dismissal is not required."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "guideline",
|
|
27
|
+
"content": "Determines whether the gripper is visible at the top center of the panel. Set to true to hide the gripper when panel dragging is not required."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "guideline",
|
|
31
|
+
"content": "Specifies the visual style of the panel. Use primary for panels that require high emphasis with the primary background color, and secondary for panels that require lower emphasis."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "guideline",
|
|
35
|
+
"content": "There are three density options for standard panel: compact, regular, and spacious. Regular is the default and recommended for layouts in creative tools, marketing, or analytics products. Use spacious for lighter-weight web experiences, such as Adobe Express. Use compact for complex professional tools where maximizing screen space is essential."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "guideline",
|
|
39
|
+
"content": "Defines the panel’s layout behavior. Use anchored when the panel is docked alongside other panels on the same surface. Use floating when the panel is undocked and positioned above the application surface. Use dragged for the panel’s appearance while it is being moved."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "guideline",
|
|
43
|
+
"content": "Controls whether the panel content is organized into sections. When set to true, the panel displays content without structural segmentation, allowing full customization based on product or experience needs. When set to false, the panel uses an embedded accordion component to divide content into smaller, structured segments, each customizable while maintaining a standardized layout for clarity and consistency."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "guideline",
|
|
47
|
+
"content": "Determines whether the panel title is visible at the top of the panel."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "guideline",
|
|
51
|
+
"content": "Determines whether the back button is visible at the top of the panel, positioned to the left of the panel title."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "guideline",
|
|
55
|
+
"content": "Determines the size of the panel title. Options are small and medium. Use medium to establish visual hierarchy. Use small for compact layouts or secondary panels."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "guideline",
|
|
59
|
+
"content": "A standard panel can sometimes be dragged and rearranged, or undocked to become a floating panel. In this case, display the gripper at the top of the panel, then click and drag to detach it."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "guideline",
|
|
63
|
+
"content": "Standard panel uses an Accordion subcomponent to manage collapsible content sections. It can be configured to allow multiple sections to expand independently or restrict expansion to a single section at a time."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "guideline",
|
|
67
|
+
"content": "A panel can scroll internally, and a group of panels can also scroll as a unit. Panels always scroll independently from the canvas or page content. The header and footer areas of a panel can remain fixed during scrolling."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "guideline",
|
|
71
|
+
"content": "When users scroll in the outer areas of a panel — such as the header, footer, or sides — the entire panel group scrolls. When scrolling within the inner content area, only the panel’s content scrolls, while the header and footer (if present) stay in place."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "guideline",
|
|
75
|
+
"content": "Standard panel supports three widths: small, medium, and large. The small size is best for a single column of items, such as swatches or navigation elements. Medium is the default for most scenarios and works well for tools that interact with a canvas area, including filters, sliders, text boxes, or swatches. The large size is ideal for panels where users browse or search for content, such as images, assets, cards, or templates."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "guideline",
|
|
79
|
+
"content": "The panel title can act as a label for the fields in the panel, if the design is reviewed and approved by an accessibility expert."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "guideline",
|
|
83
|
+
"content": "Use a single panel density across a product to maintain visual consistency. Mixing densities within the same experience is not recommended."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "guideline",
|
|
87
|
+
"content": "The choice of density often depends on context, user preference, and device type. Compact saves space in complex professional tools, regular balances usability across a range of products, and spacious improves comfort in lighter-weight experiences."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "guideline",
|
|
91
|
+
"content": "Anchored panels are docked in fixed areas of the workspace and grouped with other panels on the same surface. They cannot move freely outside their designated location unless undocked. This layout helps maintain a consistent and organized workspace, making it easier for users to access essential tools without obstructing the canvas or working area. A common example is the layers panel docked to the right side of Photoshop."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "guideline",
|
|
95
|
+
"content": "Floating panels are undocked and can be moved freely anywhere on the screen, independent of the main workspace. This style offers flexibility, especially when working across multiple monitors or when isolating a panel improves focus. A common example is a Properties panel floating near artwork in Illustrator for quick access."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "guideline",
|
|
99
|
+
"content": "Dragging refers to manually moving a panel by clicking and dragging the gripper. This interaction allows users to reposition a panel within the workspace. A dragged panel can be docked into a new location (anchored) or left to float independently. This behavior supports workspace customization, helping users tailor panel placement to fit their workflow. For example, dragging the Tools panel from the left side of Photoshop to float next to the canvas."
|
|
100
|
+
}
|
|
101
|
+
],
|
|
12
102
|
"options": {
|
|
13
103
|
"container": {
|
|
14
104
|
"type": "string",
|
|
15
105
|
"default": "anchored",
|
|
16
106
|
"values": [
|
|
17
|
-
{
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
{
|
|
21
|
-
"value": "floating"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"value": "dragged"
|
|
25
|
-
}
|
|
107
|
+
{ "value": "anchored" },
|
|
108
|
+
{ "value": "floating" },
|
|
109
|
+
{ "value": "dragged" }
|
|
26
110
|
]
|
|
27
111
|
},
|
|
28
|
-
"label": {
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
"description": {
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"value": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
112
|
+
"label": { "type": "string" },
|
|
113
|
+
"description": { "type": "string" },
|
|
114
|
+
"value": { "type": "string" },
|
|
37
115
|
"density": {
|
|
38
116
|
"type": "string",
|
|
39
117
|
"default": "regular",
|
|
40
118
|
"values": [
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
{
|
|
45
|
-
"value": "regular"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"value": "spacious"
|
|
49
|
-
}
|
|
119
|
+
{ "value": "compact" },
|
|
120
|
+
{ "value": "regular" },
|
|
121
|
+
{ "value": "spacious" }
|
|
50
122
|
]
|
|
51
123
|
},
|
|
52
124
|
"style": {
|
|
53
125
|
"type": "string",
|
|
54
126
|
"default": "primary",
|
|
55
|
-
"values": [
|
|
56
|
-
{
|
|
57
|
-
"value": "primary"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"value": "secondary"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"hideGripper": {
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"default": false
|
|
127
|
+
"values": [{ "value": "primary" }, { "value": "secondary" }]
|
|
67
128
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
},
|
|
72
|
-
"hideDivider": {
|
|
73
|
-
"type": "boolean",
|
|
74
|
-
"default": false
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"lifecycle": {
|
|
78
|
-
"introduced": "1.0.0-draft"
|
|
129
|
+
"hideGripper": { "type": "boolean", "default": false },
|
|
130
|
+
"hideCloseButton": { "type": "boolean", "default": false },
|
|
131
|
+
"hideDivider": { "type": "boolean", "default": false }
|
|
79
132
|
},
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
}
|
|
133
|
+
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
134
|
+
"accessibility": { "focusable": false }
|
|
83
135
|
}
|