@fewangsit/wangsvue-gsts 2.0.0-alpha.27 → 2.0.0-alpha.29
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/basetree/index.d.ts +31 -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/buttonscan/index.d.ts +6 -0
- package/buttonsearch/ButtonSearch.fm.md +19 -0
- package/buttonsearchbyscan/ButtonSearchByScan.fm.md +25 -0
- package/buttonselecttree/ButtonSelectTree.fm.md +40 -0
- package/buttonselecttree/index.d.ts +18 -0
- package/calendar/Calendar.fm.md +34 -0
- package/calendar/index.d.ts +41 -0
- package/changelogpage/index.d.ts +1 -1
- package/components.fm.md +56 -0
- package/customcolumn/index.d.ts +5 -5
- 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 +8 -0
- package/dialog/index.d.ts +5 -0
- package/dialogconfirm/DialogConfirm.fm.md +29 -0
- package/dialogform/DialogForm.fm.md +57 -0
- package/dialogselecttree/DialogSelectTree.fm.md +42 -0
- package/dialogselecttree/index.d.ts +25 -1
- package/dropdown/Dropdown.fm.md +34 -0
- package/fieldwrapper/index.d.ts +5 -0
- package/fileupload/FileUpload.fm.md +31 -0
- package/fileupload/index.d.ts +7 -1
- package/icon/index.d.ts +75 -66
- package/imagecompressor/ImageCompressor.fm.md +44 -0
- package/imagecompressor/index.d.ts +1 -1
- package/inputbadge/InputBadge.fm.md +34 -0
- package/inputbadge/index.d.ts +4 -0
- package/inputcurrency/index.d.ts +14 -0
- package/inputnumber/InputNumber.fm.md +39 -0
- package/inputpassword/InputPassword.fm.md +28 -0
- package/inputpassword/index.d.ts +4 -0
- package/inputphonenumber/InputPhoneNumber.fm.md +34 -0
- package/inputrangenumber/InputRangeNumber.fm.md +31 -0
- package/inputtext/InputText.fm.md +34 -0
- package/mcp/components.json +2 -2
- package/mcp/components.summary.txt +1 -1
- package/mcp/main.js +1216 -1092
- package/mcp/package.json +6 -6
- package/mcp/skills/figma-to-code/SKILL.md +1 -0
- package/mcp/skills/wangsvue-code-review/SKILL.md +2 -0
- package/mcp/skills/wangsvue-workflow/SKILL.md +1 -0
- package/menu/index.d.ts +4 -0
- package/multiselect/MultiSelect.fm.md +34 -0
- package/overlaypanel/index.d.ts +4 -0
- package/package.json +1 -1
- package/plugins/WangsVue.d.ts +2 -1
- package/stats.html +1 -1
- package/style.css +2 -2
- package/tabmenu/TabMenu.fm.md +28 -0
- package/tagtype/index.d.ts +1 -1
- package/textarea/TextArea.fm.md +34 -0
- package/tree/index.d.ts +34 -0
- package/wangsvue-gsts.es.js +17242 -16702
- package/wangsvue-gsts.es.js.map +1 -1
- package/wangsvue-gsts.system.js +58 -58
- package/wangsvue-gsts.system.js.map +1 -1
package/mcp/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fewangsit/wangsvue-gsts-mcp",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.27",
|
|
4
4
|
"description": "MCP Server for @fewangsit/wangsvue-gsts",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"buildContext": {
|
|
11
11
|
"package": {
|
|
12
12
|
"name": "@fewangsit/wangsvue-gsts",
|
|
13
|
-
"version": "2.0.0-alpha.
|
|
13
|
+
"version": "2.0.0-alpha.27",
|
|
14
14
|
"description": "Global Settings Tagsamurai VueJS Component Library",
|
|
15
15
|
"repository": "https://github.com/fewangsit/wangsvue",
|
|
16
16
|
"workspace": "wangsvue-gsts"
|
|
17
17
|
},
|
|
18
18
|
"build": {
|
|
19
|
-
"timestamp": "2026-
|
|
19
|
+
"timestamp": "2026-06-18T08:03:24.331Z",
|
|
20
20
|
"gitInfo": {
|
|
21
|
-
"head": "
|
|
21
|
+
"head": "f4ff98a0072a0842858be181982bc7ad2c61320a",
|
|
22
22
|
"branch": "dev",
|
|
23
|
-
"repository": "
|
|
24
|
-
"timestamp": "2026-
|
|
23
|
+
"repository": "git@github.com:fewangsit/wangsvue.git",
|
|
24
|
+
"timestamp": "2026-06-18T08:03:23.552Z"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -101,6 +101,7 @@ NO → Keep as layout: <div data-name="HeaderSection"> → <div class="...">
|
|
|
101
101
|
- **Views Architecture:** Views are lightweight, only import and compose from modules.
|
|
102
102
|
- **Logic Placement:** Business logic, data, columns, and handlers belong in modules, NOT in view components.
|
|
103
103
|
- **Testing Attributes:** Always include `data-wv-name` and `data-wv-section`.
|
|
104
|
+
- **Accessibility:** Interactive elements must have `aria-label`, `aria-labelledby`, or `aria-describedby`.
|
|
104
105
|
|
|
105
106
|
## 6. Critical Failure Indicators (STOP IF ANY OCCUR)
|
|
106
107
|
|
|
@@ -43,6 +43,8 @@ This skill enforces the strict quality standards for Wangsvue code. Use this che
|
|
|
43
43
|
### 3. Testing & Attributes
|
|
44
44
|
|
|
45
45
|
- [ ] **Data Attributes:** `data-wv-name` on root element, `data-wv-section` on significant sections.
|
|
46
|
+
- [ ] **Accessibility:** Every interactive element (button, input, select, toggle, link) MUST have `aria-label`, `aria-labelledby`, or `aria-describedby`.
|
|
47
|
+
- [ ] **PrimeVue Passthrough:** For components wrapping PrimeVue primitives, attributes on inner PrimeVue elements MUST go through `:pt`, not directly on the wrapper tag.
|
|
46
48
|
|
|
47
49
|
### 4. Code Quality
|
|
48
50
|
|
|
@@ -80,6 +80,7 @@ This skill guides you through the 5 mandatory steps for any Wangsvue development
|
|
|
80
80
|
- **Logic:** Business logic in `components/modules/`, NOT in views.
|
|
81
81
|
- **Views:** Lightweight, only import and compose from modules.
|
|
82
82
|
- **Attributes:** Ensure `data-wv-name` and `data-wv-section` are present.
|
|
83
|
+
- **Accessibility:** Interactive elements must have `aria-label`, `aria-labelledby`, or `aria-describedby`.
|
|
83
84
|
|
|
84
85
|
### Step 5: Validation (The "Black Box" Linter Rule)
|
|
85
86
|
|
package/menu/index.d.ts
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# MultiSelect
|
|
2
|
+
type reference: ./index.d.ts
|
|
3
|
+
|
|
4
|
+
Append a `MultiSelect` component when the figma context contains:
|
|
5
|
+
|
|
6
|
+
- A figma component or instance named "Multi Select" or similar, consisting of a multi-select input field optionally paired with a label, required asterisk, info icon, and a dropdown arrow icon. When values are selected, they appear as badge chips inside the input area.
|
|
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 multi-select.
|
|
20
|
+
|
|
21
|
+
- `placeholder` (string | undefined)
|
|
22
|
+
The placeholder text inside the multi-select (e.g. "Select"). When value(s) are selected, the placeholder is replaced with badge chips. 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 multi-select 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 multi-select shows a disabled state (gray background, gray text). Omit if the field is not disabled.
|
package/overlaypanel/index.d.ts
CHANGED
|
@@ -129,6 +129,10 @@ export interface OverlayPanelBreakpoints {
|
|
|
129
129
|
* Defines valid properties in OverlayPanel component.
|
|
130
130
|
*/
|
|
131
131
|
export interface OverlayPanelProps {
|
|
132
|
+
/**
|
|
133
|
+
* Defines the aria-label attribute for the overlay panel.
|
|
134
|
+
*/
|
|
135
|
+
ariaLabel?: string;
|
|
132
136
|
/**
|
|
133
137
|
* Enables to hide the overlay when outside is clicked.
|
|
134
138
|
* @defaultValue true
|
package/package.json
CHANGED
package/plugins/WangsVue.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { ButtonSearchLocaleConfig } from '../buttonsearch';
|
|
|
15
15
|
import { CalendarLocaleConfig, CalendarPresetOptions } from '../calendar';
|
|
16
16
|
import { CustomColumnLocaleConfig } from '../customcolumn';
|
|
17
17
|
import {
|
|
18
|
+
Data,
|
|
18
19
|
DataTableLocaleConfig,
|
|
19
20
|
DataTableProps,
|
|
20
21
|
TreeTableProps,
|
|
@@ -59,7 +60,7 @@ export interface ComponentDefaultPropsConfig {
|
|
|
59
60
|
Image?: ImageProps;
|
|
60
61
|
ButtonBulkAction?: Omit<ButtonBulkActionProps, 'selectedData' | 'options'>;
|
|
61
62
|
Animation?: AnimationDefaultConfig;
|
|
62
|
-
DataTable?: Partial<DataTableProps | TreeTableProps
|
|
63
|
+
DataTable?: Partial<DataTableProps<Data> | TreeTableProps<Data>>;
|
|
63
64
|
Badge?: Partial<BadgeComponentConfigs>;
|
|
64
65
|
UserName?: UserNameComponentConfigs;
|
|
65
66
|
Dropdown?: DropdownProps;
|