@smwb/ui-mcp-react 2.0.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/LICENSE +21 -0
- package/README.md +56 -0
- package/component-meta/base/icon/icon.json +61 -0
- package/component-meta/base/ripple/ripple.json +46 -0
- package/component-meta/clickAwayListener/clickAwayListener.json +45 -0
- package/component-meta/connects/rt/table/draggableHeader.draggableColumnHeader.json +37 -0
- package/component-meta/connects/rt/table/draggableHeader.draggableColumnHeaderWrapper.json +40 -0
- package/component-meta/connects/rt/table/headerCellRenderer.json +29 -0
- package/component-meta/connects/rt/table/table.json +23 -0
- package/component-meta/dataDisplay/accordion/accordion.json +79 -0
- package/component-meta/dataDisplay/avatar/avatar.avatarGroup.json +41 -0
- package/component-meta/dataDisplay/avatar/avatar.json +56 -0
- package/component-meta/dataDisplay/badge/badge.json +66 -0
- package/component-meta/dataDisplay/card/card.json +51 -0
- package/component-meta/dataDisplay/carousel/carousel.json +88 -0
- package/component-meta/dataDisplay/chat/chat.json +240 -0
- package/component-meta/dataDisplay/chat/chatAttachmentImage.json +27 -0
- package/component-meta/dataDisplay/chat/chatAttachments.json +32 -0
- package/component-meta/dataDisplay/chat/chatComposer.json +76 -0
- package/component-meta/dataDisplay/chat/chatHeader.json +60 -0
- package/component-meta/dataDisplay/chat/chatIconButton.json +38 -0
- package/component-meta/dataDisplay/chat/chatLayout.chatLayoutChat.json +20 -0
- package/component-meta/dataDisplay/chat/chatLayout.json +90 -0
- package/component-meta/dataDisplay/chat/chatMessageAvatar.json +34 -0
- package/component-meta/dataDisplay/chat/chatMessageBubble.json +91 -0
- package/component-meta/dataDisplay/chat/chatMessageIncoming.json +60 -0
- package/component-meta/dataDisplay/chat/chatMessageItem.json +65 -0
- package/component-meta/dataDisplay/chat/chatMessageOutgoing.json +60 -0
- package/component-meta/dataDisplay/chat/chatMessageSkeleton.json +39 -0
- package/component-meta/dataDisplay/chat/chatMessageStatus.json +44 -0
- package/component-meta/dataDisplay/chat/chatMessageSystem.json +29 -0
- package/component-meta/dataDisplay/chat/chatMessages.json +91 -0
- package/component-meta/dataDisplay/chat/chatOverlayLayout.chatOverlayLayoutChat.json +20 -0
- package/component-meta/dataDisplay/chat/chatOverlayLayout.json +75 -0
- package/component-meta/dataDisplay/chat/chatShell.json +71 -0
- package/component-meta/dataDisplay/chip/chip.json +104 -0
- package/component-meta/dataDisplay/expansionPanel/expansionPanel.json +81 -0
- package/component-meta/dataDisplay/imagesList/imagesList.json +52 -0
- package/component-meta/dataDisplay/imagesList/imagesListItem/imagesListItem.json +64 -0
- package/component-meta/dataDisplay/imagesList/imagesListItem/imagesListItemModal.json +32 -0
- package/component-meta/dataDisplay/list/list.json +36 -0
- package/component-meta/dataDisplay/list/listItem.json +57 -0
- package/component-meta/dataDisplay/table/table.json +56 -0
- package/component-meta/dataDisplay/table/tableBody.json +26 -0
- package/component-meta/dataDisplay/table/tableCell.json +31 -0
- package/component-meta/dataDisplay/table/tableHead.json +26 -0
- package/component-meta/dataDisplay/table/tableHeadCell.json +58 -0
- package/component-meta/dataDisplay/table/tablePagination/tablePagination.baseTablePagination.json +47 -0
- package/component-meta/dataDisplay/table/tablePagination/tablePagination.json +21 -0
- package/component-meta/dataDisplay/table/tableRow.json +36 -0
- package/component-meta/dataDisplay/treeView/treeView.json +88 -0
- package/component-meta/dataDisplay/typography/typography.json +56 -0
- package/component-meta/feedBack/message/message.json +53 -0
- package/component-meta/feedBack/modal/modal.content.json +22 -0
- package/component-meta/feedBack/modal/modal.footer.json +22 -0
- package/component-meta/feedBack/modal/modal.header.json +22 -0
- package/component-meta/feedBack/modal/modal.json +87 -0
- package/component-meta/feedBack/progressIndicator/progressIndicator.circularProgress.json +22 -0
- package/component-meta/feedBack/progressIndicator/progressIndicator.json +57 -0
- package/component-meta/feedBack/skeleton/skeleton.json +61 -0
- package/component-meta/feedBack/snackbar/snackbar.json +61 -0
- package/component-meta/feedBack/snackbar/snackbar.snackbarsProvider.json +51 -0
- package/component-meta/feedBack/tooltip/tooltip.json +57 -0
- package/component-meta/inputs/button/button.json +89 -0
- package/component-meta/inputs/buttonGroups/buttonGroup.json +56 -0
- package/component-meta/inputs/checkbox/checkbox.json +89 -0
- package/component-meta/inputs/datePicker/dataPickerDays.json +43 -0
- package/component-meta/inputs/datePicker/dataPickerHeader.json +50 -0
- package/component-meta/inputs/datePicker/dataPickerInput.json +29 -0
- package/component-meta/inputs/datePicker/datePicker.json +129 -0
- package/component-meta/inputs/datePicker/datePickerIconButton.json +18 -0
- package/component-meta/inputs/datePicker/datePickerList.json +30 -0
- package/component-meta/inputs/dateTimePicker/dateTimePicker.json +120 -0
- package/component-meta/inputs/dateTimePicker/dateTimePickerInput.json +30 -0
- package/component-meta/inputs/fileDrop/countPreview.json +40 -0
- package/component-meta/inputs/fileDrop/fileDrop.json +66 -0
- package/component-meta/inputs/fileDrop/preview.json +46 -0
- package/component-meta/inputs/fileDrop/previewWrapper.json +51 -0
- package/component-meta/inputs/fileInput/fileInput.json +56 -0
- package/component-meta/inputs/floatingButton/floatingButton.json +43 -0
- package/component-meta/inputs/radioButton/radioButton.json +85 -0
- package/component-meta/inputs/rating/rating.json +99 -0
- package/component-meta/inputs/selectField/dropdownMenu.json +107 -0
- package/component-meta/inputs/selectField/selectField.json +199 -0
- package/component-meta/inputs/slider/slider.json +128 -0
- package/component-meta/inputs/textField/textField.json +131 -0
- package/component-meta/inputs/textField/textFieldAdornment.json +40 -0
- package/component-meta/inputs/textField/textFieldWrapper.json +101 -0
- package/component-meta/inputs/timePicker/timePicker.json +75 -0
- package/component-meta/inputs/timePicker/timePickerColumns.json +37 -0
- package/component-meta/inputs/timePicker/timePickerInput.json +30 -0
- package/component-meta/inputs/timePicker/timePickerList.json +32 -0
- package/component-meta/inputs/toggle/toggle.json +90 -0
- package/component-meta/layout/appLayout/appLayout.json +88 -0
- package/component-meta/layout/divider/divider.json +56 -0
- package/component-meta/layout/grid/grid.column.json +20 -0
- package/component-meta/layout/grid/grid.container.json +31 -0
- package/component-meta/layout/grid/grid.row.json +46 -0
- package/component-meta/layout/page/page.json +41 -0
- package/component-meta/layout/pageHeader/pageHeader.json +53 -0
- package/component-meta/layout/screenDivider/screenDivider.json +52 -0
- package/component-meta/layout/sheet/sheet.json +115 -0
- package/component-meta/layout/stack/stack.json +56 -0
- package/component-meta/navigation/appBar/appBar.json +76 -0
- package/component-meta/navigation/bottomBar/bottomBar.bottomBarMenuItem.json +19 -0
- package/component-meta/navigation/bottomBar/bottomBar.json +61 -0
- package/component-meta/navigation/breadcrumbs/breadcrumbs.json +61 -0
- package/component-meta/navigation/menu/menu.json +20 -0
- package/component-meta/navigation/menu/menuDivider.json +20 -0
- package/component-meta/navigation/menu/menuFloating.json +46 -0
- package/component-meta/navigation/menu/menuItem.json +63 -0
- package/component-meta/navigation/menu/menuItemIcon.json +26 -0
- package/component-meta/navigation/menu/menuItemText.json +36 -0
- package/component-meta/navigation/menu/menuList.json +20 -0
- package/component-meta/navigation/menu/menuSubmenu.json +22 -0
- package/component-meta/navigation/pagination/pagination.json +98 -0
- package/component-meta/navigation/sidebar/sidebar.json +79 -0
- package/component-meta/navigation/sidebar/sidebar.menuItem.json +56 -0
- package/component-meta/navigation/stepper/stepper.json +53 -0
- package/component-meta/navigation/tabs/tab/tab.json +58 -0
- package/component-meta/navigation/tabs/tabs.json +55 -0
- package/componentMeta.mjs +493 -0
- package/customizationMeta.mjs +451 -0
- package/package.json +37 -0
- package/server.mjs +169 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Skeleton",
|
|
3
|
+
"description": "Loading placeholder with pulse or wave animation.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"HTMLAttributes<HTMLElement>"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [
|
|
14
|
+
"@smwb/ui-styles/less/components/skeleton/skeleton.entry.less"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": [],
|
|
17
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/skeleton/skeleton.entry.less\";"
|
|
18
|
+
},
|
|
19
|
+
"props": {
|
|
20
|
+
"className": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"required": false,
|
|
23
|
+
"description": "Additional CSS class name(s) for the root element."
|
|
24
|
+
},
|
|
25
|
+
"variant": {
|
|
26
|
+
"type": "\"text\" | \"circular\" | \"rounded\" | \"rectangular\"",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Shape of the placeholder."
|
|
29
|
+
},
|
|
30
|
+
"width": {
|
|
31
|
+
"type": "number | string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Width — number (px) or any CSS length."
|
|
34
|
+
},
|
|
35
|
+
"height": {
|
|
36
|
+
"type": "number | string",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Height — number (px) or any CSS length."
|
|
39
|
+
},
|
|
40
|
+
"animation": {
|
|
41
|
+
"type": "\"pulse\" | \"wave\" | false",
|
|
42
|
+
"required": false,
|
|
43
|
+
"description": "Shimmer animation; pass false to disable."
|
|
44
|
+
},
|
|
45
|
+
"count": {
|
|
46
|
+
"type": "number",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Render N stacked placeholders."
|
|
49
|
+
},
|
|
50
|
+
"animationDelay": {
|
|
51
|
+
"type": "number",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Stagger consecutive items by N ms (with `count`)."
|
|
54
|
+
},
|
|
55
|
+
"component": {
|
|
56
|
+
"type": "\"span\" | \"div\"",
|
|
57
|
+
"required": false,
|
|
58
|
+
"description": "Root element."
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Snackbar",
|
|
3
|
+
"description": "Transient notification surface controlled by the snackbar provider.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"React.HTMLAttributes<HTMLElement>"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [
|
|
14
|
+
"@smwb/ui-styles/less/components/snackbar/snackbar.entry.less"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": [],
|
|
17
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/snackbar/snackbar.entry.less\";"
|
|
18
|
+
},
|
|
19
|
+
"props": {
|
|
20
|
+
"message": {
|
|
21
|
+
"type": "React.ReactNode",
|
|
22
|
+
"required": false,
|
|
23
|
+
"description": "Chat message data object."
|
|
24
|
+
},
|
|
25
|
+
"variant": {
|
|
26
|
+
"type": "Variants",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Visual style variant."
|
|
29
|
+
},
|
|
30
|
+
"position": {
|
|
31
|
+
"type": "Position",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Position. Optional. Type: Position."
|
|
34
|
+
},
|
|
35
|
+
"component": {
|
|
36
|
+
"type": "React.ElementType",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Root HTML element tag used by the skeleton."
|
|
39
|
+
},
|
|
40
|
+
"isAutoClose": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"required": false,
|
|
43
|
+
"description": "Is Auto Close. Optional. Type: boolean."
|
|
44
|
+
},
|
|
45
|
+
"autoCloseTime": {
|
|
46
|
+
"type": "number",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Auto Close Time. Optional. Type: number."
|
|
49
|
+
},
|
|
50
|
+
"onClose": {
|
|
51
|
+
"type": "() => void",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Callback fired when the user dismisses the component."
|
|
54
|
+
},
|
|
55
|
+
"action": {
|
|
56
|
+
"type": "React.ReactNode",
|
|
57
|
+
"required": false,
|
|
58
|
+
"description": "Optional action node rendered after the message (e.g. an Undo button)."
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SnackbarsProvider",
|
|
3
|
+
"description": "Snackbars Provider component from the feedBack module.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"React.HTMLAttributes<HTMLElement>"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [
|
|
14
|
+
"@smwb/ui-styles/less/components/snackbar/snackbar.entry.less"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": [],
|
|
17
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/snackbar/snackbar.entry.less\";"
|
|
18
|
+
},
|
|
19
|
+
"props": {
|
|
20
|
+
"variant": {
|
|
21
|
+
"type": "Variants",
|
|
22
|
+
"required": false,
|
|
23
|
+
"description": "Visual style variant."
|
|
24
|
+
},
|
|
25
|
+
"position": {
|
|
26
|
+
"type": "Position",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Position. Optional. Type: Position."
|
|
29
|
+
},
|
|
30
|
+
"autoCloseTime": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Auto Close Time. Optional. Type: number."
|
|
34
|
+
},
|
|
35
|
+
"closeOnClick": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Close On Click. Optional. Type: boolean."
|
|
39
|
+
},
|
|
40
|
+
"autoClose": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"required": false,
|
|
43
|
+
"description": "Auto Close. Optional. Type: boolean."
|
|
44
|
+
},
|
|
45
|
+
"component": {
|
|
46
|
+
"type": "React.ElementType",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Root HTML element tag used by the skeleton."
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Tooltip",
|
|
3
|
+
"description": "Floating hint shown on hover, focus, or click.",
|
|
4
|
+
"styles": {
|
|
5
|
+
"base": [
|
|
6
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
7
|
+
"@smwb/ui-styles/less/theme.less"
|
|
8
|
+
],
|
|
9
|
+
"entries": [
|
|
10
|
+
"@smwb/ui-styles/less/components/tooltip/tooltip.entry.less"
|
|
11
|
+
],
|
|
12
|
+
"dependencies": [],
|
|
13
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/tooltip/tooltip.entry.less\";"
|
|
14
|
+
},
|
|
15
|
+
"props": {
|
|
16
|
+
"className": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"required": false,
|
|
19
|
+
"description": "Additional CSS class name(s) for the root element."
|
|
20
|
+
},
|
|
21
|
+
"offset": {
|
|
22
|
+
"type": "{ offsetX?: number; offsetY?: number; }",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "Offset. Optional. Type: { offsetX?: number; offsetY?: number; }."
|
|
25
|
+
},
|
|
26
|
+
"message": {
|
|
27
|
+
"type": "React.ReactNode",
|
|
28
|
+
"required": true,
|
|
29
|
+
"description": "Chat message data object."
|
|
30
|
+
},
|
|
31
|
+
"placement": {
|
|
32
|
+
"type": "Placement",
|
|
33
|
+
"required": false,
|
|
34
|
+
"description": "Preferred floating placement relative to the anchor."
|
|
35
|
+
},
|
|
36
|
+
"open": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Controls tooltip visibility when trigger is manual."
|
|
40
|
+
},
|
|
41
|
+
"trigger": {
|
|
42
|
+
"type": "TooltipTrigger",
|
|
43
|
+
"required": false,
|
|
44
|
+
"description": "hover (default): show on pointer enter; click: toggle; manual: use open only."
|
|
45
|
+
},
|
|
46
|
+
"openDelay": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"required": false,
|
|
49
|
+
"description": "Open Delay. Optional. Type: number."
|
|
50
|
+
},
|
|
51
|
+
"closeDelay": {
|
|
52
|
+
"type": "number",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "Close Delay. Optional. Type: number."
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Button",
|
|
3
|
+
"description": "Action button with variants, optional icon, ripple feedback, and link support.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement>"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [
|
|
14
|
+
"@smwb/ui-styles/less/components/button/button.entry.less"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": [
|
|
17
|
+
"@smwb/ui-styles/less/components/icon/icon.entry.less",
|
|
18
|
+
"@smwb/ui-styles/less/components/ripple/ripple.entry.less"
|
|
19
|
+
],
|
|
20
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/button/button.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/icon/icon.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/ripple/ripple.entry.less\";"
|
|
21
|
+
},
|
|
22
|
+
"props": {
|
|
23
|
+
"label": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Visible label text."
|
|
27
|
+
},
|
|
28
|
+
"variant": {
|
|
29
|
+
"type": "\"contained\" | \"text\" | \"outlined\"",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Visual style variant."
|
|
32
|
+
},
|
|
33
|
+
"size": {
|
|
34
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Visual size preset."
|
|
37
|
+
},
|
|
38
|
+
"icon": {
|
|
39
|
+
"type": "React.ReactNode | string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Icon node or image source."
|
|
42
|
+
},
|
|
43
|
+
"iconProps": {
|
|
44
|
+
"type": "Omit<IconProps, \"name\">",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "Props forwarded to the Icon component."
|
|
47
|
+
},
|
|
48
|
+
"colorTheme": {
|
|
49
|
+
"type": "\"primary\"",
|
|
50
|
+
"required": false,
|
|
51
|
+
"description": "Deprecated alias for the primary color theme."
|
|
52
|
+
},
|
|
53
|
+
"color": {
|
|
54
|
+
"type": "\"primary\" | \"secondary\" | \"error\" | \"success\" | \"warning\" | \"info\"",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Semantic color token."
|
|
57
|
+
},
|
|
58
|
+
"href": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "Link URL when rendered as an anchor."
|
|
62
|
+
},
|
|
63
|
+
"disabled": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Whether the control is disabled and non-interactive."
|
|
67
|
+
},
|
|
68
|
+
"type": {
|
|
69
|
+
"type": "\"button\" | \"submit\" | \"reset\"",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "HTML or component-specific type."
|
|
72
|
+
},
|
|
73
|
+
"fullWidth": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "Whether the component spans the full width of its container."
|
|
77
|
+
},
|
|
78
|
+
"rippleCenter": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Whether the ripple effect originates from the center."
|
|
82
|
+
},
|
|
83
|
+
"disableRipple": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"required": false,
|
|
86
|
+
"description": "Whether the ripple touch feedback is disabled."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ButtonGroup",
|
|
3
|
+
"description": "Grouped buttons rendered as a single segmented control.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"React.HTMLAttributes<HTMLDivElement>"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [],
|
|
14
|
+
"dependencies": [
|
|
15
|
+
"@smwb/ui-styles/less/components/button/button.entry.less"
|
|
16
|
+
],
|
|
17
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/button/button.entry.less\";"
|
|
18
|
+
},
|
|
19
|
+
"props": {
|
|
20
|
+
"orientation": {
|
|
21
|
+
"type": "\"horizontal\" | \"vertical\"",
|
|
22
|
+
"required": false,
|
|
23
|
+
"description": "Layout orientation."
|
|
24
|
+
},
|
|
25
|
+
"variant": {
|
|
26
|
+
"type": "\"contained\" | \"text\" | \"outlined\"",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Visual style variant."
|
|
29
|
+
},
|
|
30
|
+
"size": {
|
|
31
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Visual size preset."
|
|
34
|
+
},
|
|
35
|
+
"fullWidth": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Whether the component spans the full width of its container."
|
|
39
|
+
},
|
|
40
|
+
"disabled": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"required": false,
|
|
43
|
+
"description": "Whether the control is disabled and non-interactive."
|
|
44
|
+
},
|
|
45
|
+
"colorTheme": {
|
|
46
|
+
"type": "\"primary\"",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Deprecated alias for the primary color theme."
|
|
49
|
+
},
|
|
50
|
+
"color": {
|
|
51
|
+
"type": "\"primary\" | \"secondary\" | \"error\" | \"success\" | \"warning\" | \"info\"",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Semantic color propagated to child buttons."
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Checkbox",
|
|
3
|
+
"description": "Binary selection control with label support.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Omit<InputHTMLAttributes<HTMLInputElement>, \"onChange\" | \"size\">"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [
|
|
14
|
+
"@smwb/ui-styles/less/components/checkbox/checkbox.entry.less"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": [
|
|
17
|
+
"@smwb/ui-styles/less/components/icon/icon.entry.less",
|
|
18
|
+
"@smwb/ui-styles/less/components/textField/textField.entry.less"
|
|
19
|
+
],
|
|
20
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/checkbox/checkbox.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/icon/icon.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/textField/textField.entry.less\";"
|
|
21
|
+
},
|
|
22
|
+
"props": {
|
|
23
|
+
"label": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Visible label text."
|
|
27
|
+
},
|
|
28
|
+
"disabled": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Whether the control is disabled and non-interactive."
|
|
32
|
+
},
|
|
33
|
+
"readOnly": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Whether the value is read-only."
|
|
37
|
+
},
|
|
38
|
+
"required": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Whether the field value is required."
|
|
42
|
+
},
|
|
43
|
+
"name": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "Form field name submitted with the value."
|
|
47
|
+
},
|
|
48
|
+
"id": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"required": false,
|
|
51
|
+
"description": "Unique identifier for the root element."
|
|
52
|
+
},
|
|
53
|
+
"indeterminate": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Indeterminate. Optional. Type: boolean."
|
|
57
|
+
},
|
|
58
|
+
"className": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "Additional CSS class name(s) for the root element."
|
|
62
|
+
},
|
|
63
|
+
"size": {
|
|
64
|
+
"type": "SelectionControlSize",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Visual size preset."
|
|
67
|
+
},
|
|
68
|
+
"color": {
|
|
69
|
+
"type": "SelectionControlColor",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "Semantic color token."
|
|
72
|
+
},
|
|
73
|
+
"onChange": {
|
|
74
|
+
"type": "(event: React.ChangeEvent<HTMLInputElement>, checked: boolean, data: CheckboxProps) => void",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "Unified handler: `(event, checked, data)`."
|
|
77
|
+
},
|
|
78
|
+
"helperText": {
|
|
79
|
+
"type": "React.ReactNode",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Supplementary hint text displayed below the control."
|
|
82
|
+
},
|
|
83
|
+
"error": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"required": false,
|
|
86
|
+
"description": "Whether the control is in an error state."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataPickerDays",
|
|
3
|
+
"description": "Calendar day grid for the date picker.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Partial<\n Pick<\n DatePickerProps,\n | \"value\"\n | \"showDaysOutsideMonth\"\n | \"onChange\"\n | \"disablePast\"\n | \"disableFuture\"\n | \"weekStartsOn\"\n | \"minDate\"\n | \"maxDate\"\n | \"isDateDisabled\"\n | \"locale\"\n >\n>"
|
|
6
|
+
],
|
|
7
|
+
"styles": {
|
|
8
|
+
"base": [
|
|
9
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
10
|
+
"@smwb/ui-styles/less/theme.less"
|
|
11
|
+
],
|
|
12
|
+
"entries": [],
|
|
13
|
+
"dependencies": [
|
|
14
|
+
"@smwb/ui-styles/less/components/icon/icon.entry.less",
|
|
15
|
+
"@smwb/ui-styles/less/components/menu/menu.entry.less",
|
|
16
|
+
"@smwb/ui-styles/less/components/ripple/ripple.entry.less",
|
|
17
|
+
"@smwb/ui-styles/less/components/textField/textField.entry.less"
|
|
18
|
+
],
|
|
19
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/icon/icon.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/menu/menu.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/ripple/ripple.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/textField/textField.entry.less\";"
|
|
20
|
+
},
|
|
21
|
+
"props": {
|
|
22
|
+
"viewValue": {
|
|
23
|
+
"type": "Date",
|
|
24
|
+
"required": true,
|
|
25
|
+
"description": "View Value. Required. Type: Date."
|
|
26
|
+
},
|
|
27
|
+
"range": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Range selection mode."
|
|
31
|
+
},
|
|
32
|
+
"rangeStart": {
|
|
33
|
+
"type": "Date",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "Range Start. Optional. Type: Date."
|
|
36
|
+
},
|
|
37
|
+
"rangeEnd": {
|
|
38
|
+
"type": "Date",
|
|
39
|
+
"required": false,
|
|
40
|
+
"description": "Range End. Optional. Type: Date."
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataPickerHeader",
|
|
3
|
+
"description": "Month/year navigation header for the date picker calendar.",
|
|
4
|
+
"styles": {
|
|
5
|
+
"base": [
|
|
6
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
7
|
+
"@smwb/ui-styles/less/theme.less"
|
|
8
|
+
],
|
|
9
|
+
"entries": [],
|
|
10
|
+
"dependencies": [
|
|
11
|
+
"@smwb/ui-styles/less/components/icon/icon.entry.less",
|
|
12
|
+
"@smwb/ui-styles/less/components/menu/menu.entry.less",
|
|
13
|
+
"@smwb/ui-styles/less/components/ripple/ripple.entry.less",
|
|
14
|
+
"@smwb/ui-styles/less/components/textField/textField.entry.less"
|
|
15
|
+
],
|
|
16
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/icon/icon.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/menu/menu.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/ripple/ripple.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/textField/textField.entry.less\";"
|
|
17
|
+
},
|
|
18
|
+
"props": {
|
|
19
|
+
"viewValue": {
|
|
20
|
+
"type": "Date",
|
|
21
|
+
"required": true,
|
|
22
|
+
"description": "View Value. Required. Type: Date."
|
|
23
|
+
},
|
|
24
|
+
"openView": {
|
|
25
|
+
"type": "OpenView",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "Open View. Optional. Type: OpenView."
|
|
28
|
+
},
|
|
29
|
+
"onChange": {
|
|
30
|
+
"type": "(value: Date) => void",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "Callback fired when the value changes."
|
|
33
|
+
},
|
|
34
|
+
"onMonthLabelClick": {
|
|
35
|
+
"type": "React.MouseEventHandler",
|
|
36
|
+
"required": false,
|
|
37
|
+
"description": "On Month Label Click. Optional. Type: React.MouseEventHandler."
|
|
38
|
+
},
|
|
39
|
+
"onYearLabelClick": {
|
|
40
|
+
"type": "React.MouseEventHandler",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "On Year Label Click. Optional. Type: React.MouseEventHandler."
|
|
43
|
+
},
|
|
44
|
+
"locale": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "Locale. Optional. Type: string."
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataPickerInput",
|
|
3
|
+
"description": "Internal date picker input field and toggle control.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Omit<\n DatePickerProps,\n \"locale\" | \"showDaysOutsideMonth\" | \"disablePast\" | \"disableFuture\" | \"weekStartsOn\" | \"placement\"\n>"
|
|
6
|
+
],
|
|
7
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
|
+
"styles": {
|
|
9
|
+
"base": [
|
|
10
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
11
|
+
"@smwb/ui-styles/less/theme.less"
|
|
12
|
+
],
|
|
13
|
+
"entries": [],
|
|
14
|
+
"dependencies": [
|
|
15
|
+
"@smwb/ui-styles/less/components/icon/icon.entry.less",
|
|
16
|
+
"@smwb/ui-styles/less/components/menu/menu.entry.less",
|
|
17
|
+
"@smwb/ui-styles/less/components/ripple/ripple.entry.less",
|
|
18
|
+
"@smwb/ui-styles/less/components/textField/textField.entry.less"
|
|
19
|
+
],
|
|
20
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/icon/icon.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/menu/menu.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/ripple/ripple.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/textField/textField.entry.less\";"
|
|
21
|
+
},
|
|
22
|
+
"props": {
|
|
23
|
+
"onToggle": {
|
|
24
|
+
"type": "() => void",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "Callback fired when expand/collapse toggles."
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|