@adobe/design-data-spec 0.3.0 → 0.4.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.
Files changed (81) hide show
  1. package/components/accordion.json +87 -0
  2. package/components/action-bar.json +21 -0
  3. package/components/action-button.json +75 -0
  4. package/components/action-group.json +68 -0
  5. package/components/alert-banner.json +33 -0
  6. package/components/alert-dialog.json +46 -0
  7. package/components/avatar-group.json +26 -0
  8. package/components/avatar.json +54 -0
  9. package/components/badge.json +73 -0
  10. package/components/body.json +29 -0
  11. package/components/bottom-navigation-android.json +41 -0
  12. package/components/breadcrumbs.json +89 -0
  13. package/components/button-group.json +37 -0
  14. package/components/calendar.json +104 -0
  15. package/components/cards.json +30 -0
  16. package/components/checkbox-group.json +53 -0
  17. package/components/checkbox.json +61 -0
  18. package/components/close-button.json +48 -0
  19. package/components/coach-indicator.json +38 -0
  20. package/components/coach-mark.json +55 -0
  21. package/components/code.json +25 -0
  22. package/components/color-area.json +77 -0
  23. package/components/color-handle.json +35 -0
  24. package/components/color-loupe.json +20 -0
  25. package/components/color-slider.json +79 -0
  26. package/components/color-wheel.json +60 -0
  27. package/components/combo-box.json +94 -0
  28. package/components/contextual-help.json +80 -0
  29. package/components/date-picker.json +161 -0
  30. package/components/detail.json +30 -0
  31. package/components/divider.json +27 -0
  32. package/components/drop-zone.json +45 -0
  33. package/components/field-label.json +43 -0
  34. package/components/heading.json +33 -0
  35. package/components/help-text.json +40 -0
  36. package/components/illustrated-message.json +49 -0
  37. package/components/in-field-progress-button.json +44 -0
  38. package/components/in-field-progress-circle.json +26 -0
  39. package/components/in-line-alert.json +47 -0
  40. package/components/link.json +45 -0
  41. package/components/list-view.json +93 -0
  42. package/components/menu.json +76 -0
  43. package/components/meter.json +48 -0
  44. package/components/number-field.json +70 -0
  45. package/components/opacity-checkerboard.json +25 -0
  46. package/components/picker.json +92 -0
  47. package/components/popover.json +69 -0
  48. package/components/progress-bar.json +68 -0
  49. package/components/progress-circle.json +45 -0
  50. package/components/radio-button.json +43 -0
  51. package/components/radio-group.json +62 -0
  52. package/components/rating.json +47 -0
  53. package/components/scroll-zoom-bar.json +53 -0
  54. package/components/search-field.json +72 -0
  55. package/components/segmented-control.json +76 -0
  56. package/components/select-box.json +62 -0
  57. package/components/side-navigation.json +71 -0
  58. package/components/slider.json +92 -0
  59. package/components/standard-dialog.json +53 -0
  60. package/components/standard-panel.json +53 -0
  61. package/components/status-light.json +54 -0
  62. package/components/steplist.json +56 -0
  63. package/components/swatch-group.json +48 -0
  64. package/components/swatch.json +59 -0
  65. package/components/switch.json +55 -0
  66. package/components/tab-bar-ios.json +41 -0
  67. package/components/table.json +122 -0
  68. package/components/tabs.json +79 -0
  69. package/components/tag-field.json +53 -0
  70. package/components/tag-group.json +35 -0
  71. package/components/tag.json +54 -0
  72. package/components/takeover-dialog.json +58 -0
  73. package/components/text-area.json +103 -0
  74. package/components/text-field.json +91 -0
  75. package/components/thumbnail.json +27 -0
  76. package/components/toast.json +33 -0
  77. package/components/tooltip.json +54 -0
  78. package/components/tray.json +21 -0
  79. package/components/tree-view.json +63 -0
  80. package/package.json +2 -1
  81. package/schemas/component.schema.json +2 -2
@@ -0,0 +1,87 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/accordion.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "accordion",
6
+ "displayName": "Accordion",
7
+ "description": "An accordion is a vertically stacked set of interactive headings that each contain a title and a content area.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/accordion/"
11
+ },
12
+ "options": {
13
+ "size": {
14
+ "type": "string",
15
+ "enum": ["s", "m", "l", "xl"],
16
+ "default": "m"
17
+ },
18
+ "isQuiet": {
19
+ "type": "boolean",
20
+ "default": false
21
+ },
22
+ "isDisabled": {
23
+ "type": "boolean",
24
+ "default": false
25
+ },
26
+ "density": {
27
+ "type": "string",
28
+ "enum": ["compact", "regular", "spacious"],
29
+ "default": "regular"
30
+ },
31
+ "items": {
32
+ "type": "array",
33
+ "description": "An array of accordion items.",
34
+ "items": {
35
+ "type": "object",
36
+ "properties": {
37
+ "label": {
38
+ "type": "string",
39
+ "description": "The text label displayed for the accordion item."
40
+ },
41
+ "content": {
42
+ "type": "string",
43
+ "description": "The content shown when the accordion item is expanded."
44
+ },
45
+ "isExpanded": {
46
+ "type": "boolean",
47
+ "default": false,
48
+ "description": "Whether the accordion item is expanded by default."
49
+ },
50
+ "hasSwitch": {
51
+ "type": "boolean",
52
+ "default": false,
53
+ "description": "If true, the accordion item includes a switch."
54
+ },
55
+ "hasActionButton": {
56
+ "type": "boolean",
57
+ "default": false,
58
+ "description": "If true, the accordion item includes an action button."
59
+ }
60
+ },
61
+ "required": ["label"]
62
+ }
63
+ },
64
+ "isMultiple": {
65
+ "type": "boolean",
66
+ "default": false,
67
+ "description": "If true, multiple accordion items can be expanded at the same time."
68
+ }
69
+ },
70
+ "states": [
71
+ {
72
+ "name": "hover",
73
+ "trigger": "interaction"
74
+ },
75
+ {
76
+ "name": "down",
77
+ "trigger": "interaction"
78
+ },
79
+ {
80
+ "name": "keyboard-focus",
81
+ "trigger": "interaction"
82
+ }
83
+ ],
84
+ "lifecycle": {
85
+ "introduced": "1.0.0-draft"
86
+ }
87
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/action-bar.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "action-bar",
6
+ "displayName": "Action bar",
7
+ "description": "Action bars are used for single and bulk selection patterns, when a user needs to perform actions on either a single or multiple items at the same time.",
8
+ "meta": {
9
+ "category": "actions",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/action-bar/"
11
+ },
12
+ "options": {
13
+ "isEmphasized": {
14
+ "type": "boolean",
15
+ "default": false
16
+ }
17
+ },
18
+ "lifecycle": {
19
+ "introduced": "1.0.0-draft"
20
+ }
21
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/action-button.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "action-button",
6
+ "displayName": "Action button",
7
+ "description": "Action buttons allow users to perform an action or mark a selection. They're used for similar, task-based options within a workflow, and are ideal for interfaces where buttons aren't meant to draw a lot of attention.",
8
+ "meta": {
9
+ "category": "actions",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/action-button/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "hideLabel": {
17
+ "type": "boolean",
18
+ "default": false
19
+ },
20
+ "icon": {
21
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json",
22
+ "description": "Icon must be present if the label is not defined."
23
+ },
24
+ "size": {
25
+ "type": "string",
26
+ "enum": ["xs", "s", "m", "l", "xl"],
27
+ "default": "m"
28
+ },
29
+ "isQuiet": {
30
+ "type": "boolean",
31
+ "default": false
32
+ },
33
+ "isSelected": {
34
+ "type": "boolean",
35
+ "default": false
36
+ },
37
+ "isEmphasized": {
38
+ "type": "boolean",
39
+ "default": false
40
+ },
41
+ "staticColor": {
42
+ "type": "string",
43
+ "enum": ["white", "black"],
44
+ "description": "Static color must not be set for the default version of this component."
45
+ },
46
+ "selectedTextColor": {
47
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/hex-color.json"
48
+ },
49
+ "hasHoldIcon": {
50
+ "type": "boolean",
51
+ "default": false
52
+ },
53
+ "isDisabled": {
54
+ "type": "boolean",
55
+ "default": false
56
+ }
57
+ },
58
+ "states": [
59
+ {
60
+ "name": "hover",
61
+ "trigger": "interaction"
62
+ },
63
+ {
64
+ "name": "down",
65
+ "trigger": "interaction"
66
+ },
67
+ {
68
+ "name": "keyboard-focus",
69
+ "trigger": "interaction"
70
+ }
71
+ ],
72
+ "lifecycle": {
73
+ "introduced": "1.0.0-draft"
74
+ }
75
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/action-group.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "action-group",
6
+ "displayName": "Action group",
7
+ "description": "An action group is a grouping of action buttons that are related to each other.",
8
+ "meta": {
9
+ "category": "actions",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/action-group/"
11
+ },
12
+ "options": {
13
+ "orientation": {
14
+ "type": "string",
15
+ "enum": ["horizontal", "vertical"],
16
+ "default": "horizontal"
17
+ },
18
+ "size": {
19
+ "type": "string",
20
+ "enum": ["s", "m", "l", "xl"],
21
+ "default": "m"
22
+ },
23
+ "density": {
24
+ "type": "string",
25
+ "enum": ["regular", "compact"],
26
+ "default": "regular"
27
+ },
28
+ "isJustified": {
29
+ "type": "boolean",
30
+ "default": false
31
+ },
32
+ "isQuiet": {
33
+ "type": "boolean",
34
+ "default": false
35
+ },
36
+ "isEmphasized": {
37
+ "type": "boolean",
38
+ "default": false
39
+ },
40
+ "enableSelection": {
41
+ "type": "boolean",
42
+ "default": false
43
+ },
44
+ "selectionMode": {
45
+ "type": "string",
46
+ "enum": ["single", "multiple"],
47
+ "default": "single",
48
+ "description": "Only applicable if selection is enabled"
49
+ },
50
+ "allowsEmptySelection": {
51
+ "type": "boolean",
52
+ "default": false,
53
+ "description": "Only applicable if selection is enabled"
54
+ },
55
+ "overflowMode": {
56
+ "type": "string",
57
+ "enum": ["wrap", "collapse"],
58
+ "default": "wrap"
59
+ },
60
+ "isDisabled": {
61
+ "type": "boolean",
62
+ "default": false
63
+ }
64
+ },
65
+ "lifecycle": {
66
+ "introduced": "1.0.0-draft"
67
+ }
68
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/alert-banner.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "alert-banner",
6
+ "displayName": "Alert banner",
7
+ "description": "Alert banners show pressing and high-signal messages, such as system alerts. They're meant to be noticed and prompt users to take action.",
8
+ "meta": {
9
+ "category": "feedback",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/alert-banner/"
11
+ },
12
+ "options": {
13
+ "text": {
14
+ "type": "string"
15
+ },
16
+ "variant": {
17
+ "type": "string",
18
+ "enum": ["neutral", "informative", "negative", "accent"],
19
+ "default": "neutral"
20
+ },
21
+ "actionLabel": {
22
+ "type": "string",
23
+ "description": "If undefined, this button does not appear."
24
+ },
25
+ "isDismissible": {
26
+ "type": "boolean",
27
+ "default": false
28
+ }
29
+ },
30
+ "lifecycle": {
31
+ "introduced": "1.0.0-draft"
32
+ }
33
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/alert-dialog.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "alert-dialog",
6
+ "displayName": "Alert dialog",
7
+ "description": "Alert dialogs display important information that users need to acknowledge. They appear over the interface and block further interactions until an action is selected.",
8
+ "meta": {
9
+ "category": "feedback",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/alert-dialog/"
11
+ },
12
+ "options": {
13
+ "title": {
14
+ "type": "string"
15
+ },
16
+ "description": {
17
+ "type": "string"
18
+ },
19
+ "variant": {
20
+ "type": "string",
21
+ "enum": [
22
+ "confirmation",
23
+ "information",
24
+ "warning",
25
+ "destructive",
26
+ "error"
27
+ ],
28
+ "default": "confirmation"
29
+ },
30
+ "primaryActionLabel": {
31
+ "type": "string"
32
+ },
33
+ "secondaryActionLabel": {
34
+ "type": "string",
35
+ "description": "If undefined, this button does not appear."
36
+ },
37
+ "cancelActionLabel": {
38
+ "type": "string",
39
+ "default": "cancel",
40
+ "description": "If undefined, this button does not appear."
41
+ }
42
+ },
43
+ "lifecycle": {
44
+ "introduced": "1.0.0-draft"
45
+ }
46
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/avatar-group.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "avatar-group",
6
+ "displayName": "Avatar group",
7
+ "description": "Avatar groups display a collection of avatars representing people or entities.",
8
+ "meta": {
9
+ "category": "actions",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/avatar-group/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string",
15
+ "description": "Optional text label displayed with the avatar group (e.g., group name)."
16
+ },
17
+ "size": {
18
+ "type": "number",
19
+ "enum": [50, 75, 100, 200, 300, 400, 500],
20
+ "default": 100
21
+ }
22
+ },
23
+ "lifecycle": {
24
+ "introduced": "1.0.0-draft"
25
+ }
26
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/avatar.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "avatar",
6
+ "displayName": "Avatar",
7
+ "description": "An avatar is a thumbnail representation of an entity, such as a user or an organization.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/avatar/"
11
+ },
12
+ "options": {
13
+ "size": {
14
+ "type": "number",
15
+ "enum": [
16
+ 50, 75, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200,
17
+ 1300, 1400, 1500
18
+ ],
19
+ "default": 500
20
+ },
21
+ "image": {
22
+ "type": "string",
23
+ "enum": [
24
+ "user image",
25
+ "gradient image",
26
+ "gradient",
27
+ "guest image",
28
+ "initials"
29
+ ],
30
+ "default": "user image"
31
+ },
32
+ "isDisabled": {
33
+ "type": "boolean",
34
+ "default": false
35
+ },
36
+ "showStroke": {
37
+ "type": "boolean",
38
+ "default": false
39
+ }
40
+ },
41
+ "states": [
42
+ {
43
+ "name": "down",
44
+ "trigger": "interaction"
45
+ },
46
+ {
47
+ "name": "keyboard-focus",
48
+ "trigger": "interaction"
49
+ }
50
+ ],
51
+ "lifecycle": {
52
+ "introduced": "1.0.0-draft"
53
+ }
54
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/badge.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "badge",
6
+ "displayName": "Badge",
7
+ "description": "Similar to status lights, badges are for showing a small amount of color-categorized metadata. They're ideal for getting a user''s attention.",
8
+ "meta": {
9
+ "category": "status",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/badge/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string",
15
+ "description": "When the label is not defined, the badge appears as icon-only."
16
+ },
17
+ "icon": {
18
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
19
+ },
20
+ "variant": {
21
+ "type": "string",
22
+ "enum": [
23
+ "neutral",
24
+ "info",
25
+ "positive",
26
+ "negative",
27
+ "indigo",
28
+ "yellow",
29
+ "magenta",
30
+ "fuchsia",
31
+ "purple",
32
+ "seafoam",
33
+ "accent",
34
+ "notice",
35
+ "gray",
36
+ "red",
37
+ "orange",
38
+ "chartreuse",
39
+ "celery",
40
+ "green",
41
+ "cyan",
42
+ "blue",
43
+ "pink",
44
+ "turquoise",
45
+ "brown",
46
+ "cinnamon",
47
+ "silver"
48
+ ]
49
+ },
50
+ "style": {
51
+ "type": "string",
52
+ "enum": ["bold", "subtle", "outline"]
53
+ },
54
+ "fixed": {
55
+ "type": "string",
56
+ "enum": ["none", "top", "right", "bottom", "left"],
57
+ "default": "none"
58
+ },
59
+ "isDisabled": {
60
+ "type": "boolean",
61
+ "default": false
62
+ },
63
+ "size": {
64
+ "type": "string",
65
+ "pattern": "^(x?s|m|x{0,3}l)$",
66
+ "enum": ["s", "m", "l", "xl"],
67
+ "default": "s"
68
+ }
69
+ },
70
+ "lifecycle": {
71
+ "introduced": "1.0.0-draft"
72
+ }
73
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/body.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "body",
6
+ "displayName": "Body",
7
+ "description": "Body is a typography component primarily used within Spectrum components and for blocks of text.",
8
+ "meta": {
9
+ "category": "typography",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/body/"
11
+ },
12
+ "options": {
13
+ "script": {
14
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
15
+ },
16
+ "classification": {
17
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-classification.json"
18
+ },
19
+ "size": {
20
+ "type": "string",
21
+ "pattern": "^(x?s|m|x{0,3}l)$",
22
+ "enum": ["xs", "s", "m", "l", "xl", "xxl", "xxxl"],
23
+ "default": "m"
24
+ }
25
+ },
26
+ "lifecycle": {
27
+ "introduced": "1.0.0-draft"
28
+ }
29
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/bottom-navigation-android.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "bottom-navigation-android",
6
+ "displayName": "Bottom navigation (Android)",
7
+ "description": "Bottom navigation is a top-level navigation control for Android apps.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/bottom-navigation-android/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "labelPosition": {
17
+ "type": "string",
18
+ "enum": ["bottom", "side"],
19
+ "default": "bottom"
20
+ },
21
+ "icon": {
22
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
23
+ },
24
+ "background": {
25
+ "type": "string",
26
+ "enum": ["primary", "secondary"],
27
+ "default": "primary"
28
+ },
29
+ "hasBadge": {
30
+ "type": "boolean",
31
+ "default": false
32
+ },
33
+ "isDisabled": {
34
+ "type": "boolean",
35
+ "default": false
36
+ }
37
+ },
38
+ "lifecycle": {
39
+ "introduced": "1.0.0-draft"
40
+ }
41
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/breadcrumbs.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "breadcrumbs",
6
+ "displayName": "Breadcrumbs",
7
+ "description": "Breadcrumbs show hierarchy and navigational context for a user’s location within an app.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/breadcrumbs/"
11
+ },
12
+ "options": {
13
+ "isMultiline": {
14
+ "type": "boolean",
15
+ "default": false,
16
+ "description": "If true, the breadcrumb items will wrap to multiple lines."
17
+ },
18
+ "size": {
19
+ "type": "string",
20
+ "enum": ["m", "l"],
21
+ "default": "m",
22
+ "description": "Controls the overall size of the breadcrumb component."
23
+ },
24
+ "items": {
25
+ "type": "array",
26
+ "description": "An array of breadcrumb items.",
27
+ "items": {
28
+ "type": "object",
29
+ "properties": {
30
+ "label": {
31
+ "type": "string",
32
+ "description": "The text displayed for the breadcrumb item."
33
+ },
34
+ "href": {
35
+ "type": "string",
36
+ "description": "Optional URL the breadcrumb item links to."
37
+ },
38
+ "isCurrent": {
39
+ "type": "boolean",
40
+ "description": "Indicates if the breadcrumb item represents the current page.",
41
+ "default": false
42
+ },
43
+ "isDisabled": {
44
+ "type": "boolean",
45
+ "default": false
46
+ }
47
+ },
48
+ "required": ["label"]
49
+ }
50
+ },
51
+ "separator": {
52
+ "type": "string",
53
+ "enum": ["chevron", "none"],
54
+ "default": "chevron",
55
+ "description": "The separator icon used between breadcrumb items."
56
+ },
57
+ "isTruncated": {
58
+ "type": "boolean",
59
+ "default": false,
60
+ "description": "If true, the breadcrumb item is truncated and displayed as icon only."
61
+ },
62
+ "sizeOverride": {
63
+ "type": "string",
64
+ "enum": ["s", "m", "l", "xl"],
65
+ "description": "Overrides the size of the breadcrumb items when isMultiline is true."
66
+ }
67
+ },
68
+ "states": [
69
+ {
70
+ "name": "hover",
71
+ "trigger": "interaction"
72
+ },
73
+ {
74
+ "name": "down",
75
+ "trigger": "interaction"
76
+ },
77
+ {
78
+ "name": "keyboard-focus",
79
+ "trigger": "interaction"
80
+ },
81
+ {
82
+ "name": "drag-and-drop",
83
+ "trigger": "prop"
84
+ }
85
+ ],
86
+ "lifecycle": {
87
+ "introduced": "1.0.0-draft"
88
+ }
89
+ }