@fewangsit/wangsvue-gsts 2.0.0-alpha.24 → 2.0.0-alpha.28
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/badge/Badge.fm.md +32 -0
- package/breadcrumb/Breadcrumb.fm.md +23 -0
- package/button/Button.fm.md +53 -0
- package/buttonbulkaction/ButtonBulkAction-MenuItem.fm.md +18 -0
- package/buttonbulkaction/ButtonBulkAction.fm.md +25 -0
- package/buttondownload/ButtonDownload.fm.md +22 -0
- package/buttonfilter/ButtonFilter.fm.md +19 -0
- package/buttonsearch/ButtonSearch.fm.md +19 -0
- package/buttonsearchbyscan/ButtonSearchByScan.fm.md +25 -0
- package/buttonselecttree/ButtonSelectTree.fm.md +40 -0
- package/calendar/Calendar.fm.md +34 -0
- package/changelogpage/index.d.ts +1 -1
- package/components.fm.md +56 -0
- package/datatable/DataTable-MenuItem.fm.md +22 -0
- package/datatable/DataTable-TableColumn.fm.md +52 -0
- package/datatable/DataTable.fm.md +40 -0
- package/datatable/index.d.ts +1 -0
- package/dialogconfirm/DialogConfirm.fm.md +29 -0
- package/dialogform/DialogForm.fm.md +57 -0
- package/dialogselecttree/DialogSelectTree.fm.md +42 -0
- package/dropdown/Dropdown.fm.md +34 -0
- package/fileupload/FileUpload.fm.md +31 -0
- package/icon/index.d.ts +63 -66
- package/imagecompressor/ImageCompressor.fm.md +44 -0
- package/inputbadge/InputBadge.fm.md +34 -0
- package/inputnumber/InputNumber.fm.md +39 -0
- package/inputpassword/InputPassword.fm.md +28 -0
- package/inputphonenumber/InputPhoneNumber.fm.md +34 -0
- package/inputrangenumber/InputRangeNumber.fm.md +31 -0
- package/inputtext/InputText.fm.md +34 -0
- package/mcp/main.js +1216 -1092
- package/mcp/package.json +6 -6
- package/multiselect/MultiSelect.fm.md +34 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/tabmenu/TabMenu.fm.md +28 -0
- package/textarea/TextArea.fm.md +34 -0
- package/wangsvue-gsts.es.js +2952 -2945
- package/wangsvue-gsts.es.js.map +1 -1
- package/wangsvue-gsts.system.js +54 -54
- package/wangsvue-gsts.system.js.map +1 -1
- package/mcp/components.json +0 -4776
- package/mcp/components.summary.txt +0 -27
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# TabMenu
|
|
2
|
+
type reference: ./index.d.ts
|
|
3
|
+
|
|
4
|
+
Append a `TabMenu` component when the figma context contains:
|
|
5
|
+
|
|
6
|
+
- A figma component or instance named "Tab Menu" or similar.
|
|
7
|
+
|
|
8
|
+
## Metadata Shape (Component)
|
|
9
|
+
|
|
10
|
+
Append this component to the `components` array of the returned JSON.
|
|
11
|
+
|
|
12
|
+
## Metadata Shape (Properties)
|
|
13
|
+
|
|
14
|
+
Append these properties to the `props` object of this component.
|
|
15
|
+
|
|
16
|
+
### Properties definitions
|
|
17
|
+
|
|
18
|
+
- `menu` (MenuItem[])
|
|
19
|
+
Get each menu item and set them as follows:
|
|
20
|
+
- `label` (string)
|
|
21
|
+
The label of this item.
|
|
22
|
+
- `route` (string)
|
|
23
|
+
Must be empty.
|
|
24
|
+
|
|
25
|
+
- `type` (string)
|
|
26
|
+
- tab if the tab menu contains "Tab" or similar in their name.
|
|
27
|
+
- pill if the tab menu contains "Pill" or similar in their name.
|
|
28
|
+
- Default to tab if you can't determine it.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# TextArea
|
|
2
|
+
type reference: ./index.d.ts
|
|
3
|
+
|
|
4
|
+
Append a `TextArea` component when the figma context contains:
|
|
5
|
+
|
|
6
|
+
- A figma component or instance named "Text Area" or similar, consisting of a multi-line text input field optionally paired with a label, required asterisk, and info icon.
|
|
7
|
+
|
|
8
|
+
## Metadata Shape (Component)
|
|
9
|
+
|
|
10
|
+
Append this component to the `components` array of the returned JSON.
|
|
11
|
+
|
|
12
|
+
## Metadata Shape (Properties)
|
|
13
|
+
|
|
14
|
+
Append these properties to the `props` object of this component.
|
|
15
|
+
|
|
16
|
+
### Properties definitions
|
|
17
|
+
|
|
18
|
+
- `label` (string)
|
|
19
|
+
The text of the label displayed above the textarea.
|
|
20
|
+
|
|
21
|
+
- `placeholder` (string | undefined)
|
|
22
|
+
The placeholder text inside the textarea (e.g. "Enter"). When a value is present, the placeholder is replaced with filled text. Omit if no placeholder text is visible.
|
|
23
|
+
|
|
24
|
+
- `mandatory` (boolean | undefined)
|
|
25
|
+
Whether a red asterisk `*` is present next to the label, indicating the field is required. Omit if absent.
|
|
26
|
+
|
|
27
|
+
- `fieldInfo` (string | undefined)
|
|
28
|
+
Whether an info icon (`information-line`) is present next to the label. Omit if absent.
|
|
29
|
+
|
|
30
|
+
- `invalid` (boolean | undefined)
|
|
31
|
+
Whether the textarea shows an error state (red border, red caption text). Omit if the field is not in error state.
|
|
32
|
+
|
|
33
|
+
- `disabled` (boolean | undefined)
|
|
34
|
+
Whether the textarea shows a disabled state (gray background, gray text). Omit if the field is not disabled.
|