@smwb/ui-mcp-solid 0.1.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/animateHeight/animateHeight.json +74 -0
- package/component-meta/base/icon/icon.json +61 -0
- package/component-meta/base/ripple/ripple.json +51 -0
- package/component-meta/clickAwayListener/clickAwayListener.json +40 -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 +46 -0
- package/component-meta/dataDisplay/carousel/carousel.json +89 -0
- package/component-meta/dataDisplay/chat/chat.json +225 -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 +85 -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 +70 -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 +85 -0
- package/component-meta/dataDisplay/imagesList/imagesList.json +57 -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 +62 -0
- package/component-meta/dataDisplay/table/table.json +59 -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 +93 -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.json +92 -0
- package/component-meta/feedBack/modal/modal.modalSlot.json +22 -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 +71 -0
- package/component-meta/feedBack/snackbar/snackbar.snackbarsProvider.json +51 -0
- package/component-meta/feedBack/tooltip/tooltip.json +62 -0
- package/component-meta/inputs/button/button.json +94 -0
- package/component-meta/inputs/buttonGroups/buttonGroup.json +59 -0
- package/component-meta/inputs/checkbox/checkbox.json +89 -0
- package/component-meta/inputs/datePicker/dataPickerDays.json +87 -0
- package/component-meta/inputs/datePicker/dataPickerHeader.json +48 -0
- package/component-meta/inputs/datePicker/dataPickerInput.json +34 -0
- package/component-meta/inputs/datePicker/datePicker.json +129 -0
- package/component-meta/inputs/datePicker/datePickerActionLabel.json +55 -0
- package/component-meta/inputs/datePicker/datePickerDay.json +61 -0
- package/component-meta/inputs/datePicker/datePickerIconButton.json +18 -0
- package/component-meta/inputs/datePicker/datePickerList.json +33 -0
- package/component-meta/inputs/dateTimePicker/dateTimePicker.json +120 -0
- package/component-meta/inputs/dateTimePicker/dateTimePickerInput.json +35 -0
- package/component-meta/inputs/fileDrop/countPreview.json +40 -0
- package/component-meta/inputs/fileDrop/fileDrop.json +71 -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 +61 -0
- package/component-meta/inputs/floatingButton/floatingButton.json +43 -0
- package/component-meta/inputs/radioButton/radioButton.json +90 -0
- package/component-meta/inputs/rating/rating.json +104 -0
- package/component-meta/inputs/selectField/dropdownMenu.json +107 -0
- package/component-meta/inputs/selectField/selectField.json +203 -0
- package/component-meta/inputs/slider/slider.json +133 -0
- package/component-meta/inputs/textField/textField.json +126 -0
- package/component-meta/inputs/textField/textFieldAdornment.json +47 -0
- package/component-meta/inputs/textField/textFieldWrapper.json +96 -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 +35 -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 +81 -0
- package/component-meta/layout/grid/grid.container.json +36 -0
- package/component-meta/layout/grid/grid.row.json +51 -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 +57 -0
- package/component-meta/layout/sheet/sheet.json +114 -0
- package/component-meta/layout/stack/stack.json +56 -0
- package/component-meta/navigation/appBar/appBar.json +71 -0
- package/component-meta/navigation/bottomBar/bottomBar.bottomBarMenuItem.json +55 -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 +26 -0
- package/component-meta/navigation/menu/menuFloating.json +51 -0
- package/component-meta/navigation/menu/menuItem.json +68 -0
- package/component-meta/navigation/menu/menuItemIcon.json +31 -0
- package/component-meta/navigation/menu/menuItemText.json +31 -0
- package/component-meta/navigation/menu/menuList.json +26 -0
- package/component-meta/navigation/menu/menuSubmenu.json +47 -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.sidebarMenuItem.json +56 -0
- package/component-meta/navigation/stepper/stepper.json +53 -0
- package/component-meta/navigation/tabs/tab/tab.json +64 -0
- package/component-meta/navigation/tabs/tabs.json +60 -0
- package/componentMeta.mjs +493 -0
- package/customizationMeta.mjs +451 -0
- package/package.json +37 -0
- package/server.mjs +169 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Snackbar",
|
|
3
|
+
"description": "Transient notification surface controlled by the snackbar provider.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"JSX.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": "JSX.Element",
|
|
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": "string",
|
|
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": "JSX.Element",
|
|
57
|
+
"required": false,
|
|
58
|
+
"description": "Optional action node rendered after the message (e.g. an Undo button)."
|
|
59
|
+
},
|
|
60
|
+
"transitionClass": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"required": false,
|
|
63
|
+
"description": "Enter-transition classes for the appear animation."
|
|
64
|
+
},
|
|
65
|
+
"ref": {
|
|
66
|
+
"type": "Ref<HTMLElement>",
|
|
67
|
+
"required": false,
|
|
68
|
+
"description": "Ref. Optional. Type: Ref<HTMLElement>."
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SnackbarsProvider",
|
|
3
|
+
"description": "Snackbars Provider component from the feedBack module.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"JSX.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": "string",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Root HTML element tag used by the skeleton."
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
"class": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"required": false,
|
|
19
|
+
"description": "Class. Optional. Type: string."
|
|
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": "JSX.Element",
|
|
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
|
+
"ref": {
|
|
57
|
+
"type": "Ref<HTMLDivElement>",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Ref. Optional. Type: Ref<HTMLDivElement>."
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Button",
|
|
3
|
+
"description": "Action button with variants, optional icon, ripple feedback, and link support.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"JSX.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": "Button text."
|
|
27
|
+
},
|
|
28
|
+
"variant": {
|
|
29
|
+
"type": "\"contained\" | \"text\" | \"outlined\"",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Visual style of the button."
|
|
32
|
+
},
|
|
33
|
+
"size": {
|
|
34
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Button size."
|
|
37
|
+
},
|
|
38
|
+
"icon": {
|
|
39
|
+
"type": "JSX.Element | string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Icon as an element (e.g. <Icon/>) or a string (icon name / url / base64)."
|
|
42
|
+
},
|
|
43
|
+
"iconProps": {
|
|
44
|
+
"type": "Omit<IconProps, \"name\">",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "Props forwarded to the <Icon/> when `icon` is a string."
|
|
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, resolved through `--smwb-*Color*` tokens."
|
|
57
|
+
},
|
|
58
|
+
"href": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "When set, the component renders as an <a>."
|
|
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": "Stretch to the full width of the container."
|
|
77
|
+
},
|
|
78
|
+
"rippleCenter": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Center the ripple effect."
|
|
82
|
+
},
|
|
83
|
+
"disableRipple": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"required": false,
|
|
86
|
+
"description": "Disable the ripple effect."
|
|
87
|
+
},
|
|
88
|
+
"ref": {
|
|
89
|
+
"type": "Ref<HTMLButtonElement | HTMLAnchorElement>",
|
|
90
|
+
"required": false,
|
|
91
|
+
"description": "Ref. Optional. Type: Ref<HTMLButtonElement | HTMLAnchorElement>."
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ButtonGroup",
|
|
3
|
+
"description": "Grouped buttons rendered as a single segmented control.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"JSX.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
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";"
|
|
16
|
+
},
|
|
17
|
+
"props": {
|
|
18
|
+
"orientation": {
|
|
19
|
+
"type": "\"horizontal\" | \"vertical\"",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "Layout orientation."
|
|
22
|
+
},
|
|
23
|
+
"variant": {
|
|
24
|
+
"type": "\"contained\" | \"text\" | \"outlined\"",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Visual style variant."
|
|
27
|
+
},
|
|
28
|
+
"size": {
|
|
29
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Visual size preset."
|
|
32
|
+
},
|
|
33
|
+
"fullWidth": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Whether the component spans the full width of its container."
|
|
37
|
+
},
|
|
38
|
+
"disabled": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Whether the control is disabled and non-interactive."
|
|
42
|
+
},
|
|
43
|
+
"colorTheme": {
|
|
44
|
+
"type": "\"primary\"",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "Deprecated alias for the primary color theme."
|
|
47
|
+
},
|
|
48
|
+
"color": {
|
|
49
|
+
"type": "\"primary\" | \"secondary\" | \"error\" | \"success\" | \"warning\" | \"info\"",
|
|
50
|
+
"required": false,
|
|
51
|
+
"description": "Semantic color propagated to child buttons."
|
|
52
|
+
},
|
|
53
|
+
"ref": {
|
|
54
|
+
"type": "Ref<HTMLDivElement>",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Ref. Optional. Type: Ref<HTMLDivElement>."
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Checkbox",
|
|
3
|
+
"description": "Binary selection control with label support.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Omit<JSX.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
|
+
"size": {
|
|
59
|
+
"type": "SelectionControlSize",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "Visual size preset."
|
|
62
|
+
},
|
|
63
|
+
"color": {
|
|
64
|
+
"type": "SelectionControlColor",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Semantic color token."
|
|
67
|
+
},
|
|
68
|
+
"onChange": {
|
|
69
|
+
"type": "(event: SelectionChangeEvent, checked: boolean, data: CheckboxProps) => void",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "Unified handler: `(event, checked, data)`."
|
|
72
|
+
},
|
|
73
|
+
"helperText": {
|
|
74
|
+
"type": "JSX.Element",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "Supplementary hint text displayed below the control."
|
|
77
|
+
},
|
|
78
|
+
"error": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Whether the control is in an error state."
|
|
82
|
+
},
|
|
83
|
+
"ref": {
|
|
84
|
+
"type": "Ref<HTMLInputElement>",
|
|
85
|
+
"required": false,
|
|
86
|
+
"description": "Ref. Optional. Type: Ref<HTMLInputElement>."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataPickerDays",
|
|
3
|
+
"description": "Calendar day grid for the date picker.",
|
|
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/ripple/ripple.entry.less"
|
|
12
|
+
],
|
|
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/ripple/ripple.entry.less\";"
|
|
14
|
+
},
|
|
15
|
+
"props": {
|
|
16
|
+
"viewValue": {
|
|
17
|
+
"type": "Date",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "View Value. Required. Type: Date."
|
|
20
|
+
},
|
|
21
|
+
"value": {
|
|
22
|
+
"type": "Date | undefined",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "Controlled value."
|
|
25
|
+
},
|
|
26
|
+
"showDaysOutsideMonth": {
|
|
27
|
+
"type": "boolean | undefined",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Show Days Outside Month. Optional. Type: boolean | undefined."
|
|
30
|
+
},
|
|
31
|
+
"onChange": {
|
|
32
|
+
"type": "((event?: Event, date?: Date) => void) | undefined",
|
|
33
|
+
"required": false,
|
|
34
|
+
"description": "Callback fired when the value changes."
|
|
35
|
+
},
|
|
36
|
+
"disablePast": {
|
|
37
|
+
"type": "boolean | undefined",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Disable Past. Optional. Type: boolean | undefined."
|
|
40
|
+
},
|
|
41
|
+
"disableFuture": {
|
|
42
|
+
"type": "boolean | undefined",
|
|
43
|
+
"required": false,
|
|
44
|
+
"description": "Disable Future. Optional. Type: boolean | undefined."
|
|
45
|
+
},
|
|
46
|
+
"weekStartsOn": {
|
|
47
|
+
"type": "WeekStart | undefined",
|
|
48
|
+
"required": false,
|
|
49
|
+
"description": "Week Starts On. Optional. Type: WeekStart | undefined."
|
|
50
|
+
},
|
|
51
|
+
"minDate": {
|
|
52
|
+
"type": "Date | undefined",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "Min Date. Optional. Type: Date | undefined."
|
|
55
|
+
},
|
|
56
|
+
"maxDate": {
|
|
57
|
+
"type": "Date | undefined",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Max Date. Optional. Type: Date | undefined."
|
|
60
|
+
},
|
|
61
|
+
"isDateDisabled": {
|
|
62
|
+
"type": "((day: Date) => boolean) | undefined",
|
|
63
|
+
"required": false,
|
|
64
|
+
"description": "Is Date Disabled. Optional. Type: ((day: Date) => boolean) | undefined."
|
|
65
|
+
},
|
|
66
|
+
"locale": {
|
|
67
|
+
"type": "string | undefined",
|
|
68
|
+
"required": false,
|
|
69
|
+
"description": "Locale. Optional. Type: string | undefined."
|
|
70
|
+
},
|
|
71
|
+
"range": {
|
|
72
|
+
"type": "boolean | undefined",
|
|
73
|
+
"required": false,
|
|
74
|
+
"description": "Range selection mode."
|
|
75
|
+
},
|
|
76
|
+
"rangeStart": {
|
|
77
|
+
"type": "Date | undefined",
|
|
78
|
+
"required": false,
|
|
79
|
+
"description": "Range Start. Optional. Type: Date | undefined."
|
|
80
|
+
},
|
|
81
|
+
"rangeEnd": {
|
|
82
|
+
"type": "Date | undefined",
|
|
83
|
+
"required": false,
|
|
84
|
+
"description": "Range End. Optional. Type: Date | undefined."
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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/ripple/ripple.entry.less"
|
|
13
|
+
],
|
|
14
|
+
"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/ripple/ripple.entry.less\";"
|
|
15
|
+
},
|
|
16
|
+
"props": {
|
|
17
|
+
"viewValue": {
|
|
18
|
+
"type": "Date",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "View Value. Required. Type: Date."
|
|
21
|
+
},
|
|
22
|
+
"openView": {
|
|
23
|
+
"type": "OpenView | undefined",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Open View. Optional. Type: OpenView | undefined."
|
|
26
|
+
},
|
|
27
|
+
"onChange": {
|
|
28
|
+
"type": "((value: Date) => void) | undefined",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Callback fired when the value changes."
|
|
31
|
+
},
|
|
32
|
+
"onMonthLabelClick": {
|
|
33
|
+
"type": "(() => void) | undefined",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "On Month Label Click. Optional. Type: (() => void) | undefined."
|
|
36
|
+
},
|
|
37
|
+
"onYearLabelClick": {
|
|
38
|
+
"type": "(() => void) | undefined",
|
|
39
|
+
"required": false,
|
|
40
|
+
"description": "On Year Label Click. Optional. Type: (() => void) | undefined."
|
|
41
|
+
},
|
|
42
|
+
"locale": {
|
|
43
|
+
"type": "string | undefined",
|
|
44
|
+
"required": false,
|
|
45
|
+
"description": "Locale. Optional. Type: string | undefined."
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataPickerInput",
|
|
3
|
+
"description": "Internal date picker input field and toggle control.",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Omit<DatePickerProps, \"placement\" | \"onToggle\">"
|
|
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
|
+
"ref": {
|
|
29
|
+
"type": "Ref<HTMLInputElement>",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Ref. Optional. Type: Ref<HTMLInputElement>."
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|