@fundamental-styles/mcp 0.41.7 → 0.41.8-rc.1
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/data/CHANGELOG.md +11 -3
- package/data/components/README.md +1 -1
- package/data/components/action-bar.md +1 -1
- package/data/components/ai-busy-indicator.md +1 -1
- package/data/components/ai-loading-bar.md +1 -1
- package/data/components/avatar-btp.md +1 -1
- package/data/components/avatar-group.md +1 -1
- package/data/components/avatar-product-switch.md +1 -1
- package/data/components/avatar.md +1 -1
- package/data/components/bar.md +1 -1
- package/data/components/border-radius.md +1 -1
- package/data/components/border.md +1 -1
- package/data/components/breadcrumb.md +1 -1
- package/data/components/button-action-sheet.md +1 -1
- package/data/components/button-ai.md +1 -1
- package/data/components/button-btp.md +1 -1
- package/data/components/button-counter.md +1 -1
- package/data/components/button-split.md +1 -1
- package/data/components/button.md +1 -1
- package/data/components/calendar.md +1 -1
- package/data/components/card-card-media.md +1 -1
- package/data/components/card-layouts.md +1 -1
- package/data/components/card.md +1 -1
- package/data/components/carousel.md +1 -1
- package/data/components/code.md +1 -1
- package/data/components/component-reset.md +1 -1
- package/data/components/components-icons-businesssuiteinappsymbol-icons.md +1 -1
- package/data/components/components-icons-sap-icons.md +1 -1
- package/data/components/components-icons-tnt-icons.md +1 -1
- package/data/components/container-queries.md +1 -1
- package/data/components/container.md +1 -1
- package/data/components/dialog-docs-static-busy-indicator.md +1 -1
- package/data/components/dialog-docs-static-patterns.md +1 -1
- package/data/components/dialog-docs-static-settings.md +1 -1
- package/data/components/dialog-docs-static.md +1 -1
- package/data/components/dialog.md +1 -1
- package/data/components/dynamic-page-dynamic-page.md +1 -1
- package/data/components/dynamic-page.md +1 -1
- package/data/components/dynamic-side.md +1 -1
- package/data/components/elevation.md +1 -1
- package/data/components/feed-input.md +1 -1
- package/data/components/feed-list.md +1 -1
- package/data/components/fieldset-2.md +1 -1
- package/data/components/fieldset-forms.md +1 -1
- package/data/components/fieldset.md +1 -1
- package/data/components/flexible-column-layout.md +1 -1
- package/data/components/form-group.md +1 -1
- package/data/components/form-header.md +1 -1
- package/data/components/form-item-2.md +1 -1
- package/data/components/form-item-3.md +1 -1
- package/data/components/form-item-4.md +1 -1
- package/data/components/form-item-5.md +1 -1
- package/data/components/form-item-ai.md +1 -1
- package/data/components/form-item-file-uploader.md +1 -1
- package/data/components/form-item-forms.md +1 -1
- package/data/components/form-item.md +1 -1
- package/data/components/form-label-ai.md +1 -1
- package/data/components/form-label-layouts.md +1 -1
- package/data/components/form-label-patterns.md +1 -1
- package/data/components/form-label-status-indicator.md +1 -1
- package/data/components/form-label-step-input.md +1 -1
- package/data/components/form-label.md +1 -1
- package/data/components/generic-tag.md +1 -1
- package/data/components/grid-list-grid-list.md +1 -1
- package/data/components/grid-list.md +1 -1
- package/data/components/heading.md +1 -1
- package/data/components/horizontal-navigation.md +1 -1
- package/data/components/icon-tab-bar-dev.md +1 -1
- package/data/components/icon-tab-bar.md +1 -1
- package/data/components/illustrated-message.md +1 -1
- package/data/components/info-label.md +1 -1
- package/data/components/input-group.md +1 -1
- package/data/components/layout-panel.md +1 -1
- package/data/components/layouts-layout-grid.md +1 -1
- package/data/components/layouts-paddings.md +1 -1
- package/data/components/layouts-section.md +1 -1
- package/data/components/list-2.md +1 -1
- package/data/components/list-3.md +1 -1
- package/data/components/list-list.md +1 -1
- package/data/components/list.md +1 -1
- package/data/components/media-queries.md +1 -1
- package/data/components/menu.md +1 -1
- package/data/components/message-box-docs-static-ai.md +1 -1
- package/data/components/message-box-docs-static.md +1 -1
- package/data/components/message-page-upload-collection.md +1 -1
- package/data/components/message-page.md +1 -1
- package/data/components/message-strip.md +1 -1
- package/data/components/message-toast.md +1 -1
- package/data/components/micro-process-flow.md +1 -1
- package/data/components/navigation-menu.md +1 -1
- package/data/components/navigation-navigation.md +1 -1
- package/data/components/navigation.md +1 -1
- package/data/components/numeric-content.md +1 -1
- package/data/components/object-attribute.md +1 -1
- package/data/components/object-identifier.md +1 -1
- package/data/components/object-marker.md +1 -1
- package/data/components/object-number.md +1 -1
- package/data/components/object-status.md +1 -1
- package/data/components/off-screen.md +1 -1
- package/data/components/overflow.md +1 -1
- package/data/components/padding.md +1 -1
- package/data/components/page.md +1 -1
- package/data/components/pagination.md +1 -1
- package/data/components/panel-layouts.md +1 -1
- package/data/components/panel.md +1 -1
- package/data/components/patterns-label.md +1 -1
- package/data/components/popover-ai.md +1 -1
- package/data/components/popover-btp.md +1 -1
- package/data/components/popover-deprecated.md +1 -1
- package/data/components/popover-message-popover.md +1 -1
- package/data/components/popover-notification.md +1 -1
- package/data/components/popover-patterns.md +1 -1
- package/data/components/popover-quick-view.md +1 -1
- package/data/components/popover-timepicker.md +1 -1
- package/data/components/popover-user-menu.md +1 -1
- package/data/components/popover.md +1 -1
- package/data/components/progress-indicator.md +1 -1
- package/data/components/prompt-input-ai.md +1 -1
- package/data/components/prompt-input.md +1 -1
- package/data/components/rating-indicator.md +1 -1
- package/data/components/resizable-card-layout.md +1 -1
- package/data/components/scrollbar.md +1 -1
- package/data/components/search-field.md +1 -1
- package/data/components/segmented-button.md +1 -1
- package/data/components/shellbar.md +1 -1
- package/data/components/side-nav.md +1 -1
- package/data/components/skeleton.md +1 -1
- package/data/components/slider.md +1 -1
- package/data/components/splitter.md +1 -1
- package/data/components/table.md +1 -1
- package/data/components/tabs.md +1 -1
- package/data/components/text-text.md +1 -1
- package/data/components/text.md +1 -1
- package/data/components/tile.md +1 -1
- package/data/components/time.md +1 -1
- package/data/components/title.md +1 -1
- package/data/components/titles.md +1 -1
- package/data/components/token.md +1 -1
- package/data/components/tokenizer.md +1 -1
- package/data/components/tool-header.md +1 -1
- package/data/components/tool-layout.md +1 -1
- package/data/components/toolbar-ai.md +1 -1
- package/data/components/toolbar-btp.md +1 -1
- package/data/components/toolbar.md +1 -1
- package/data/components/tree.md +1 -1
- package/data/components/typography.md +1 -1
- package/data/components/variant-management.md +1 -1
- package/data/components/vertical-nav.md +1 -1
- package/data/components/wizard.md +1 -1
- package/package.json +1 -1
- package/data/component-catalog.json +0 -14017
- package/data/schemas/action-bar.schema.json +0 -97
- package/data/schemas/action-sheet.schema.json +0 -72
- package/data/schemas/ai-busy-indicator.schema.json +0 -33
- package/data/schemas/ai-loading-bar.schema.json +0 -16
- package/data/schemas/ai-text.schema.json +0 -25
- package/data/schemas/ai-writing-assistant-versioning.schema.json +0 -16
- package/data/schemas/ai-writing-assistant.schema.json +0 -16
- package/data/schemas/alert.schema.json +0 -57
- package/data/schemas/avatar-group.schema.json +0 -79
- package/data/schemas/avatar.schema.json +0 -113
- package/data/schemas/badge.schema.json +0 -25
- package/data/schemas/bar.schema.json +0 -112
- package/data/schemas/breadcrumb.schema.json +0 -56
- package/data/schemas/busy-indicator.schema.json +0 -54
- package/data/schemas/button-split.schema.json +0 -30
- package/data/schemas/button.schema.json +0 -85
- package/data/schemas/calendar.schema.json +0 -214
- package/data/schemas/card.schema.json +0 -529
- package/data/schemas/carousel.schema.json +0 -174
- package/data/schemas/checkbox.schema.json +0 -73
- package/data/schemas/code.schema.json +0 -25
- package/data/schemas/component-frontmatter.schema.json +0 -123
- package/data/schemas/component-markdown.schema.json +0 -81
- package/data/schemas/counter.schema.json +0 -25
- package/data/schemas/dialog.schema.json +0 -131
- package/data/schemas/dynamic-page.schema.json +0 -297
- package/data/schemas/dynamic-side-content.schema.json +0 -29
- package/data/schemas/facet.schema.json +0 -55
- package/data/schemas/feed-input.schema.json +0 -16
- package/data/schemas/feed-list.schema.json +0 -135
- package/data/schemas/fieldset.schema.json +0 -33
- package/data/schemas/file-uploader.schema.json +0 -93
- package/data/schemas/fixed-card-layout.schema.json +0 -91
- package/data/schemas/flexible-column-layout.schema.json +0 -54
- package/data/schemas/form-group.schema.json +0 -56
- package/data/schemas/form-header.schema.json +0 -33
- package/data/schemas/form-item.schema.json +0 -42
- package/data/schemas/form-label.schema.json +0 -31
- package/data/schemas/form-layout-grid.schema.json +0 -26
- package/data/schemas/form-message.schema.json +0 -26
- package/data/schemas/generic-tag.schema.json +0 -75
- package/data/schemas/grid-list.schema.json +0 -77
- package/data/schemas/helpers.schema.json +0 -16
- package/data/schemas/horizontal-navigation.schema.json +0 -16
- package/data/schemas/icon-tab-bar.schema.json +0 -296
- package/data/schemas/icon.schema.json +0 -16
- package/data/schemas/illustrated-message.schema.json +0 -113
- package/data/schemas/info-label.schema.json +0 -73
- package/data/schemas/input-group.schema.json +0 -56
- package/data/schemas/input.schema.json +0 -42
- package/data/schemas/layout-grid.schema.json +0 -26
- package/data/schemas/layout-panel.schema.json +0 -106
- package/data/schemas/layout.schema.json +0 -16
- package/data/schemas/link.schema.json +0 -33
- package/data/schemas/list.schema.json +0 -285
- package/data/schemas/margins.schema.json +0 -30
- package/data/schemas/menu.schema.json +0 -208
- package/data/schemas/message-box.schema.json +0 -100
- package/data/schemas/message-page.schema.json +0 -122
- package/data/schemas/message-popover.schema.json +0 -45
- package/data/schemas/message-strip.schema.json +0 -88
- package/data/schemas/message-toast.schema.json +0 -16
- package/data/schemas/micro-process-flow.schema.json +0 -135
- package/data/schemas/navigation-list.schema.json +0 -105
- package/data/schemas/navigation-menu.schema.json +0 -105
- package/data/schemas/navigation.schema.json +0 -179
- package/data/schemas/notification.schema.json +0 -221
- package/data/schemas/numeric-content.schema.json +0 -98
- package/data/schemas/object-attribute.schema.json +0 -25
- package/data/schemas/object-identifier.schema.json +0 -72
- package/data/schemas/object-list.schema.json +0 -143
- package/data/schemas/object-marker.schema.json +0 -52
- package/data/schemas/object-number.schema.json +0 -78
- package/data/schemas/object-status.schema.json +0 -91
- package/data/schemas/off-screen.schema.json +0 -16
- package/data/schemas/paddings.schema.json +0 -30
- package/data/schemas/page-footer.schema.json +0 -53
- package/data/schemas/page.schema.json +0 -87
- package/data/schemas/pagination.schema.json +0 -82
- package/data/schemas/panel.schema.json +0 -95
- package/data/schemas/popover.schema.json +0 -147
- package/data/schemas/product-switch.schema.json +0 -123
- package/data/schemas/progress-indicator.schema.json +0 -87
- package/data/schemas/prompt-input.schema.json +0 -53
- package/data/schemas/quick-view.schema.json +0 -93
- package/data/schemas/radio.schema.json +0 -52
- package/data/schemas/rating-indicator.schema.json +0 -100
- package/data/schemas/resizable-card-layout.schema.json +0 -93
- package/data/schemas/scrollbar.schema.json +0 -47
- package/data/schemas/search-field.schema.json +0 -73
- package/data/schemas/section.schema.json +0 -74
- package/data/schemas/segmented-button.schema.json +0 -25
- package/data/schemas/select.schema.json +0 -43
- package/data/schemas/settings.schema.json +0 -126
- package/data/schemas/shellbar.schema.json +0 -206
- package/data/schemas/side-nav.schema.json +0 -63
- package/data/schemas/skeleton.schema.json +0 -53
- package/data/schemas/slider.schema.json +0 -144
- package/data/schemas/splitter.schema.json +0 -161
- package/data/schemas/status-indicator.schema.json +0 -63
- package/data/schemas/step-input.schema.json +0 -62
- package/data/schemas/switch.schema.json +0 -125
- package/data/schemas/table.schema.json +0 -331
- package/data/schemas/tabs.schema.json +0 -165
- package/data/schemas/text.schema.json +0 -65
- package/data/schemas/textarea.schema.json +0 -42
- package/data/schemas/tile.schema.json +0 -183
- package/data/schemas/time.schema.json +0 -146
- package/data/schemas/timepicker.schema.json +0 -136
- package/data/schemas/title-bar.schema.json +0 -73
- package/data/schemas/title.schema.json +0 -32
- package/data/schemas/token.schema.json +0 -55
- package/data/schemas/tokenizer.schema.json +0 -74
- package/data/schemas/tool-header.schema.json +0 -96
- package/data/schemas/tool-layout.schema.json +0 -78
- package/data/schemas/toolbar.schema.json +0 -93
- package/data/schemas/tree.schema.json +0 -137
- package/data/schemas/upload-collection.schema.json +0 -136
- package/data/schemas/user-menu.schema.json +0 -203
- package/data/schemas/variant-management.schema.json +0 -106
- package/data/schemas/vertical-nav.schema.json +0 -85
- package/data/schemas/wizard.schema.json +0 -253
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://sap.github.io/fundamental-styles/schemas/checkbox.json",
|
|
4
|
-
"title": "Checkbox Component",
|
|
5
|
-
"description": "Multiple selection control for selecting multiple options",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"baseClass": {
|
|
9
|
-
"const": "fd-checkbox",
|
|
10
|
-
"description": "Required base class"
|
|
11
|
-
},
|
|
12
|
-
"modifiers": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"enum": [
|
|
16
|
-
"fd-checkbox--required",
|
|
17
|
-
"fd-checkbox--wrap"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"description": "Optional modifier classes"
|
|
21
|
-
},
|
|
22
|
-
"elements": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"description": "Optional element classes with their available modifiers",
|
|
25
|
-
"properties": {
|
|
26
|
-
"fd-checkbox__label": {
|
|
27
|
-
"type": "object",
|
|
28
|
-
"description": "label element",
|
|
29
|
-
"properties": {
|
|
30
|
-
"class": {
|
|
31
|
-
"const": "fd-checkbox__label",
|
|
32
|
-
"description": "Element class name"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"fd-checkbox__label-container": {
|
|
37
|
-
"type": "object",
|
|
38
|
-
"description": "label-container element",
|
|
39
|
-
"properties": {
|
|
40
|
-
"class": {
|
|
41
|
-
"const": "fd-checkbox__label-container",
|
|
42
|
-
"description": "Element class name"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"fd-checkbox__text": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"description": "text element",
|
|
49
|
-
"properties": {
|
|
50
|
-
"class": {
|
|
51
|
-
"const": "fd-checkbox__text",
|
|
52
|
-
"description": "Element class name"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"fd-checkbox__checkmark": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"description": "checkmark element",
|
|
59
|
-
"properties": {
|
|
60
|
-
"class": {
|
|
61
|
-
"const": "fd-checkbox__checkmark",
|
|
62
|
-
"description": "Element class name"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"additionalProperties": false
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"required": [
|
|
71
|
-
"baseClass"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://sap.github.io/fundamental-styles/schemas/code.json",
|
|
4
|
-
"title": "Code Component",
|
|
5
|
-
"description": "The code component helps with formating and styling code snippets. It differantiates the code lines from the normal text.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"baseClass": {
|
|
9
|
-
"const": "fd-code",
|
|
10
|
-
"description": "Required base class"
|
|
11
|
-
},
|
|
12
|
-
"modifiers": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"enum": [
|
|
16
|
-
"fd-code--inline"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"description": "Optional modifier classes"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"baseClass"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://sap.github.io/fundamental-styles/schemas/component-frontmatter.schema.json",
|
|
4
|
-
"title": "Component Documentation Frontmatter",
|
|
5
|
-
"description": "JSON Schema for validating component documentation frontmatter in fundamental-styles",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"component",
|
|
9
|
-
"title",
|
|
10
|
-
"category",
|
|
11
|
-
"sourcePath",
|
|
12
|
-
"generatedAt"
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"component": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Component identifier (usually the selector)",
|
|
18
|
-
"minLength": 0,
|
|
19
|
-
"maxLength": 100,
|
|
20
|
-
"examples": ["fd-button", "fd-table", "fd-dialog", ""]
|
|
21
|
-
},
|
|
22
|
-
"title": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "Full component title with category path",
|
|
25
|
-
"minLength": 3,
|
|
26
|
-
"maxLength": 200,
|
|
27
|
-
"examples": ["Components/Buttons/Button", "Layouts/Dynamic Page"]
|
|
28
|
-
},
|
|
29
|
-
"category": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Primary category of the component",
|
|
32
|
-
"enum": [
|
|
33
|
-
"Components",
|
|
34
|
-
"Layouts",
|
|
35
|
-
"Patterns",
|
|
36
|
-
"BTP",
|
|
37
|
-
"AI",
|
|
38
|
-
"Deprecated",
|
|
39
|
-
"Dev",
|
|
40
|
-
"border",
|
|
41
|
-
"border-radius",
|
|
42
|
-
"container-queries",
|
|
43
|
-
"elevation",
|
|
44
|
-
"heading",
|
|
45
|
-
"media-queries",
|
|
46
|
-
"overflow",
|
|
47
|
-
"padding",
|
|
48
|
-
"page-title",
|
|
49
|
-
"patterns",
|
|
50
|
-
"reset",
|
|
51
|
-
"text",
|
|
52
|
-
"typography"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
"selector": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "CSS selector for the component",
|
|
58
|
-
"pattern": "^(fd-[a-z][a-z0-9-]*)?$",
|
|
59
|
-
"maxLength": 100,
|
|
60
|
-
"examples": ["fd-button", "fd-table", ""]
|
|
61
|
-
},
|
|
62
|
-
"cssFile": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"description": "Main CSS file for the component",
|
|
65
|
-
"maxLength": 100,
|
|
66
|
-
"examples": ["button.css", "table.css", ""]
|
|
67
|
-
},
|
|
68
|
-
"sourcePath": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "Path to the source story file",
|
|
71
|
-
"pattern": "^packages/[^/]+/stories/.+\\.stories\\.js$",
|
|
72
|
-
"minLength": 10,
|
|
73
|
-
"maxLength": 500,
|
|
74
|
-
"examples": ["packages/styles/stories/Components/button/button.stories.js"]
|
|
75
|
-
},
|
|
76
|
-
"tags": {
|
|
77
|
-
"type": "array",
|
|
78
|
-
"description": "Tags associated with the component",
|
|
79
|
-
"items": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"minLength": 1,
|
|
82
|
-
"maxLength": 50
|
|
83
|
-
},
|
|
84
|
-
"uniqueItems": true,
|
|
85
|
-
"examples": [[], ["deprecated"], ["experimental", "beta"]]
|
|
86
|
-
},
|
|
87
|
-
"dependencies": {
|
|
88
|
-
"type": "array",
|
|
89
|
-
"description": "CSS dependencies (other components this component requires)",
|
|
90
|
-
"items": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"minLength": 1,
|
|
93
|
-
"maxLength": 100
|
|
94
|
-
},
|
|
95
|
-
"uniqueItems": true,
|
|
96
|
-
"examples": [["button", "icon", "menu"]]
|
|
97
|
-
},
|
|
98
|
-
"relatedComponents": {
|
|
99
|
-
"type": "array",
|
|
100
|
-
"description": "Related components that work with this component",
|
|
101
|
-
"items": {
|
|
102
|
-
"type": "string",
|
|
103
|
-
"minLength": 1,
|
|
104
|
-
"maxLength": 100
|
|
105
|
-
},
|
|
106
|
-
"uniqueItems": true,
|
|
107
|
-
"examples": [["button-split", "icon", "menu"]]
|
|
108
|
-
},
|
|
109
|
-
"stability": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"description": "Component stability status",
|
|
112
|
-
"enum": ["stable", "deprecated", "experimental"],
|
|
113
|
-
"examples": ["stable", "deprecated", "experimental"]
|
|
114
|
-
},
|
|
115
|
-
"generatedAt": {
|
|
116
|
-
"type": "string",
|
|
117
|
-
"description": "ISO 8601 timestamp when documentation was generated",
|
|
118
|
-
"format": "date-time",
|
|
119
|
-
"examples": ["2026-05-28T16:36:10.302Z"]
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"additionalProperties": false
|
|
123
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://sap.github.io/fundamental-styles/schemas/component-markdown.schema.json",
|
|
4
|
-
"title": "Component Markdown Schema",
|
|
5
|
-
"description": "JSON Schema for validating component markdown frontmatter in fundamental-styles",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"component",
|
|
9
|
-
"title",
|
|
10
|
-
"category",
|
|
11
|
-
"selector",
|
|
12
|
-
"cssFile",
|
|
13
|
-
"sourcePath",
|
|
14
|
-
"generatedAt"
|
|
15
|
-
],
|
|
16
|
-
"properties": {
|
|
17
|
-
"component": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "Component identifier (typically the fd- class name)",
|
|
20
|
-
"pattern": "^fd-[a-z][a-z0-9-]*$"
|
|
21
|
-
},
|
|
22
|
-
"title": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "Human-readable component title",
|
|
25
|
-
"minLength": 1
|
|
26
|
-
},
|
|
27
|
-
"category": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"description": "Component category (Components, BTP, Patterns, AI, Layouts, etc.)",
|
|
30
|
-
"enum": [
|
|
31
|
-
"AI",
|
|
32
|
-
"BTP",
|
|
33
|
-
"Components",
|
|
34
|
-
"Deprecated",
|
|
35
|
-
"Layouts",
|
|
36
|
-
"Patterns",
|
|
37
|
-
"Visuals",
|
|
38
|
-
"common-css",
|
|
39
|
-
"cx"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"selector": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"description": "CSS selector for the component",
|
|
45
|
-
"pattern": "^fd-[a-z][a-z0-9-]*$"
|
|
46
|
-
},
|
|
47
|
-
"cssFile": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "CSS file name for the component",
|
|
50
|
-
"pattern": "^[a-z][a-z0-9-]*\\.css$"
|
|
51
|
-
},
|
|
52
|
-
"sourcePath": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Path to the source story file",
|
|
55
|
-
"pattern": "^packages/.*\\.stories\\.js$"
|
|
56
|
-
},
|
|
57
|
-
"tags": {
|
|
58
|
-
"type": "array",
|
|
59
|
-
"description": "Tags for the component (from Storybook)",
|
|
60
|
-
"items": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"uniqueItems": true
|
|
64
|
-
},
|
|
65
|
-
"dependencies": {
|
|
66
|
-
"type": "array",
|
|
67
|
-
"description": "CSS dependencies required by this component",
|
|
68
|
-
"items": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"pattern": "^[a-z][a-z0-9-]*$"
|
|
71
|
-
},
|
|
72
|
-
"uniqueItems": true
|
|
73
|
-
},
|
|
74
|
-
"generatedAt": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "Timestamp when the documentation was generated",
|
|
77
|
-
"format": "date-time"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"additionalProperties": false
|
|
81
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://sap.github.io/fundamental-styles/schemas/counter.json",
|
|
4
|
-
"title": "Counter Component",
|
|
5
|
-
"description": "Counters display numerical values with optional indicators (e.g., \"5 new messages\"). Typically used in navigation items, cards, or list headers to show counts, notifications, or status summaries.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"baseClass": {
|
|
9
|
-
"const": "fd-counter",
|
|
10
|
-
"description": "Required base class"
|
|
11
|
-
},
|
|
12
|
-
"modifiers": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"enum": [
|
|
16
|
-
"fd-counter--notification"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"description": "Optional modifier classes"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"baseClass"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://sap.github.io/fundamental-styles/schemas/dialog.json",
|
|
4
|
-
"title": "Dialog Component",
|
|
5
|
-
"description": "Modal dialog window for displaying important information or forms",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"baseClass": {
|
|
9
|
-
"const": "fd-dialog",
|
|
10
|
-
"description": "Required base class"
|
|
11
|
-
},
|
|
12
|
-
"modifiers": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"enum": [
|
|
16
|
-
"fd-dialog--active",
|
|
17
|
-
"fd-dialog--mobile",
|
|
18
|
-
"fd-dialog--no-mobile-stretch",
|
|
19
|
-
"fd-dialog--draggable",
|
|
20
|
-
"fd-dialog--no-vertical-padding",
|
|
21
|
-
"fd-dialog--no-horizontal-padding",
|
|
22
|
-
"fd-dialog--no-backdrop"
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"description": "Optional modifier classes"
|
|
26
|
-
},
|
|
27
|
-
"elements": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"description": "Optional element classes with their available modifiers",
|
|
30
|
-
"properties": {
|
|
31
|
-
"fd-dialog__content": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"description": "content element",
|
|
34
|
-
"properties": {
|
|
35
|
-
"class": {
|
|
36
|
-
"const": "fd-dialog__content",
|
|
37
|
-
"description": "Element class name"
|
|
38
|
-
},
|
|
39
|
-
"modifiers": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"enum": [
|
|
43
|
-
"fd-dialog__content--s",
|
|
44
|
-
"fd-dialog__content--mobile",
|
|
45
|
-
"fd-dialog__content--draggable-grab",
|
|
46
|
-
"fd-dialog__content--m",
|
|
47
|
-
"fd-dialog__content--l",
|
|
48
|
-
"fd-dialog__content--xl"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
"description": "Available modifiers for this element"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"fd-dialog__header": {
|
|
56
|
-
"type": "object",
|
|
57
|
-
"description": "header element",
|
|
58
|
-
"properties": {
|
|
59
|
-
"class": {
|
|
60
|
-
"const": "fd-dialog__header",
|
|
61
|
-
"description": "Element class name"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"fd-dialog__footer": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"description": "footer element",
|
|
68
|
-
"properties": {
|
|
69
|
-
"class": {
|
|
70
|
-
"const": "fd-dialog__footer",
|
|
71
|
-
"description": "Element class name"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"fd-dialog__subheader": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"description": "subheader element",
|
|
78
|
-
"properties": {
|
|
79
|
-
"class": {
|
|
80
|
-
"const": "fd-dialog__subheader",
|
|
81
|
-
"description": "Element class name"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"fd-dialog__body": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"description": "body element",
|
|
88
|
-
"properties": {
|
|
89
|
-
"class": {
|
|
90
|
-
"const": "fd-dialog__body",
|
|
91
|
-
"description": "Element class name"
|
|
92
|
-
},
|
|
93
|
-
"modifiers": {
|
|
94
|
-
"type": "array",
|
|
95
|
-
"items": {
|
|
96
|
-
"enum": [
|
|
97
|
-
"fd-dialog__body--no-vertical-padding"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
"description": "Available modifiers for this element"
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"fd-dialog__loader": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"description": "loader element",
|
|
107
|
-
"properties": {
|
|
108
|
-
"class": {
|
|
109
|
-
"const": "fd-dialog__loader",
|
|
110
|
-
"description": "Element class name"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"fd-dialog__resize-handle": {
|
|
115
|
-
"type": "object",
|
|
116
|
-
"description": "resize-handle element",
|
|
117
|
-
"properties": {
|
|
118
|
-
"class": {
|
|
119
|
-
"const": "fd-dialog__resize-handle",
|
|
120
|
-
"description": "Element class name"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"additionalProperties": false
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"required": [
|
|
129
|
-
"baseClass"
|
|
130
|
-
]
|
|
131
|
-
}
|