bestax-mcp 1.1.2 → 1.2.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/data/catalog.json +11 -3
- package/data/components/DateInput.json +48 -0
- package/data/components/DateTimeInput.json +48 -0
- package/data/components/Dialog.json +2 -2
- package/data/components/Modal.json +3 -3
- package/data/components/TimeInput.json +48 -0
- package/data/skills/bestax-custom-component/references/component-catalog.md +2 -2
- package/data/skills.json +1 -1
- package/dist/format.d.ts.map +1 -1
- package/dist/format.js +7 -0
- package/package.json +1 -1
package/data/catalog.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"generatedFrom": {
|
|
4
4
|
"package": "@allxsmith/bestax-bulma",
|
|
5
|
-
"version": "5.11.
|
|
5
|
+
"version": "5.11.4"
|
|
6
6
|
},
|
|
7
7
|
"docsBase": "https://bestax.io/docs",
|
|
8
8
|
"categories": [
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
"name": "Dialog",
|
|
400
400
|
"kind": "component",
|
|
401
401
|
"category": "components",
|
|
402
|
-
"purpose": "The `Dialog` component provides
|
|
402
|
+
"purpose": "The `Dialog` component provides ready-made confirm and alert dialogs, so a destructive action stays one `await dialog.confirm()` call away.",
|
|
403
403
|
"slug": "components/dialog",
|
|
404
404
|
"import": "import { Dialog, DialogContainer, dialog } from '@allxsmith/bestax-bulma';",
|
|
405
405
|
"compound": false,
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
"name": "Modal",
|
|
642
642
|
"kind": "component",
|
|
643
643
|
"category": "components",
|
|
644
|
-
"purpose": "The `Modal` component provides
|
|
644
|
+
"purpose": "The `Modal` component provides an empty, accessible overlay for arbitrary content — for a ready-made confirm or alert, reach for `Dialog` instead.",
|
|
645
645
|
"slug": "components/modal",
|
|
646
646
|
"import": "import { Modal } from '@allxsmith/bestax-bulma';",
|
|
647
647
|
"compound": true,
|
|
@@ -1658,6 +1658,14 @@
|
|
|
1658
1658
|
"--bulma-panel-tab-border-bottom-style": "Panel",
|
|
1659
1659
|
"--bulma-panel-tab-border-bottom-width": "Panel",
|
|
1660
1660
|
"--bulma-panel-tabs-font-size": "Panel",
|
|
1661
|
+
"--bulma-picker-popover-animation-duration": "TimeInput",
|
|
1662
|
+
"--bulma-picker-popover-background": "TimeInput",
|
|
1663
|
+
"--bulma-picker-popover-border-color": "TimeInput",
|
|
1664
|
+
"--bulma-picker-popover-offset": "TimeInput",
|
|
1665
|
+
"--bulma-picker-popover-padding": "TimeInput",
|
|
1666
|
+
"--bulma-picker-popover-radius": "TimeInput",
|
|
1667
|
+
"--bulma-picker-popover-shadow": "TimeInput",
|
|
1668
|
+
"--bulma-picker-popover-z-index": "TimeInput",
|
|
1661
1669
|
"--bulma-pre-code-font-size": "Pre",
|
|
1662
1670
|
"--bulma-pre-font-size": "Pre",
|
|
1663
1671
|
"--bulma-pre-padding": "Pre",
|
|
@@ -772,6 +772,54 @@
|
|
|
772
772
|
"default": "1.75rem",
|
|
773
773
|
"scope": "element"
|
|
774
774
|
},
|
|
775
|
+
{
|
|
776
|
+
"css": "--bulma-picker-popover-z-index",
|
|
777
|
+
"sass": "$picker-popover-z-index",
|
|
778
|
+
"default": "30",
|
|
779
|
+
"scope": "element"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"css": "--bulma-picker-popover-background",
|
|
783
|
+
"sass": "$picker-popover-background",
|
|
784
|
+
"default": "var(--bulma-scheme-main)",
|
|
785
|
+
"scope": "element"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"css": "--bulma-picker-popover-radius",
|
|
789
|
+
"sass": "$picker-popover-radius",
|
|
790
|
+
"default": "var(--bulma-radius-large)",
|
|
791
|
+
"scope": "element"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"css": "--bulma-picker-popover-shadow",
|
|
795
|
+
"sass": "$picker-popover-shadow",
|
|
796
|
+
"default": "0 8px 24px hsla(0, 0%, 0%, 0.18)",
|
|
797
|
+
"scope": "element"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"css": "--bulma-picker-popover-border-color",
|
|
801
|
+
"sass": "$picker-popover-border-color",
|
|
802
|
+
"default": "var(--bulma-border)",
|
|
803
|
+
"scope": "element"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"css": "--bulma-picker-popover-padding",
|
|
807
|
+
"sass": "$picker-popover-padding",
|
|
808
|
+
"default": "0.75rem",
|
|
809
|
+
"scope": "element"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"css": "--bulma-picker-popover-offset",
|
|
813
|
+
"sass": "$picker-popover-offset",
|
|
814
|
+
"default": "4px",
|
|
815
|
+
"scope": "element"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"css": "--bulma-picker-popover-animation-duration",
|
|
819
|
+
"sass": "$picker-popover-animation-duration",
|
|
820
|
+
"default": "0.15s",
|
|
821
|
+
"scope": "element"
|
|
822
|
+
},
|
|
775
823
|
{
|
|
776
824
|
"css": "--bulma-input-h",
|
|
777
825
|
"sass": "$input-h",
|
|
@@ -900,6 +900,54 @@
|
|
|
900
900
|
"default": "3px",
|
|
901
901
|
"scope": "element"
|
|
902
902
|
},
|
|
903
|
+
{
|
|
904
|
+
"css": "--bulma-picker-popover-z-index",
|
|
905
|
+
"sass": "$picker-popover-z-index",
|
|
906
|
+
"default": "30",
|
|
907
|
+
"scope": "element"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"css": "--bulma-picker-popover-background",
|
|
911
|
+
"sass": "$picker-popover-background",
|
|
912
|
+
"default": "var(--bulma-scheme-main)",
|
|
913
|
+
"scope": "element"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"css": "--bulma-picker-popover-radius",
|
|
917
|
+
"sass": "$picker-popover-radius",
|
|
918
|
+
"default": "var(--bulma-radius-large)",
|
|
919
|
+
"scope": "element"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"css": "--bulma-picker-popover-shadow",
|
|
923
|
+
"sass": "$picker-popover-shadow",
|
|
924
|
+
"default": "0 8px 24px hsla(0, 0%, 0%, 0.18)",
|
|
925
|
+
"scope": "element"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"css": "--bulma-picker-popover-border-color",
|
|
929
|
+
"sass": "$picker-popover-border-color",
|
|
930
|
+
"default": "var(--bulma-border)",
|
|
931
|
+
"scope": "element"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"css": "--bulma-picker-popover-padding",
|
|
935
|
+
"sass": "$picker-popover-padding",
|
|
936
|
+
"default": "0.75rem",
|
|
937
|
+
"scope": "element"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"css": "--bulma-picker-popover-offset",
|
|
941
|
+
"sass": "$picker-popover-offset",
|
|
942
|
+
"default": "4px",
|
|
943
|
+
"scope": "element"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"css": "--bulma-picker-popover-animation-duration",
|
|
947
|
+
"sass": "$picker-popover-animation-duration",
|
|
948
|
+
"default": "0.15s",
|
|
949
|
+
"scope": "element"
|
|
950
|
+
},
|
|
903
951
|
{
|
|
904
952
|
"css": "--bulma-timeinput-wheel-width",
|
|
905
953
|
"sass": "$timeinput-wheel-width",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"accessibility": "- Uses `role=\"alertdialog\"` for proper screen reader announcement\n- Has `aria-modal=\"true\"` to indicate modal behavior\n- Focus is trapped within the dialog when open\n- Escape key closes the dialog (when `canCancel` is true)\n- Body scroll is prevented when dialog is open\n- Confirm/cancel buttons are keyboard accessible",
|
|
30
30
|
"related": ["Modal", "Toast"],
|
|
31
31
|
"storybook": "https://bestax.io/storybook/?path=/story/components-dialog",
|
|
32
|
-
"summary": "The `Dialog` component provides
|
|
32
|
+
"summary": "The `Dialog` component provides ready-made confirm and alert dialogs, so a destructive action stays one `await dialog.confirm()` call away.",
|
|
33
33
|
"import": "import { Dialog, DialogContainer, dialog } from '@allxsmith/bestax-bulma';",
|
|
34
34
|
"sourceFile": "bulma-ui/src/components/Dialog.tsx",
|
|
35
35
|
"rootClass": "dialog",
|
|
36
36
|
"parts": [
|
|
37
37
|
{
|
|
38
38
|
"path": "Dialog",
|
|
39
|
-
"summary": "The `Dialog` component provides
|
|
39
|
+
"summary": "The `Dialog` component provides ready-made confirm and alert dialogs, so a destructive action stays one `await dialog.confirm()` call away.",
|
|
40
40
|
"component": null,
|
|
41
41
|
"props": [
|
|
42
42
|
{
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"accessibility": "- The modal root uses Bulma’s structure and ARIA roles for accessibility.\n- The modal background closes the modal on click (`onClose` required).\n- Close buttons are provided for both modal-card and modal-content variants.\n- Keyboard/screen reader accessibility is supported, but for focus trap or escape key handling, implement those patterns in your app as needed.\n\n:::note\nAlways provide an `onClose` handler for accessibility and to allow users to dismiss the modal.\n:::",
|
|
42
|
-
"related": ["Button", "Field", "Input", "useBulmaClasses"],
|
|
42
|
+
"related": ["Button", "Dialog", "Field", "Input", "useBulmaClasses"],
|
|
43
43
|
"storybook": "https://bestax.io/storybook/?path=/story/components-modal--modal-card",
|
|
44
|
-
"summary": "The `Modal` component provides
|
|
44
|
+
"summary": "The `Modal` component provides an empty, accessible overlay for arbitrary content — for a ready-made confirm or alert, reach for `Dialog` instead.",
|
|
45
45
|
"import": "import { Modal } from '@allxsmith/bestax-bulma';",
|
|
46
46
|
"sourceFile": "bulma-ui/src/components/Modal.tsx",
|
|
47
47
|
"rootClass": "modal",
|
|
48
48
|
"parts": [
|
|
49
49
|
{
|
|
50
50
|
"path": "Modal",
|
|
51
|
-
"summary": "The `Modal` component provides
|
|
51
|
+
"summary": "The `Modal` component provides an empty, accessible overlay for arbitrary content — for a ready-made confirm or alert, reach for `Dialog` instead.",
|
|
52
52
|
"component": null,
|
|
53
53
|
"props": [
|
|
54
54
|
{
|
|
@@ -722,6 +722,54 @@
|
|
|
722
722
|
}
|
|
723
723
|
],
|
|
724
724
|
"cssVars": [
|
|
725
|
+
{
|
|
726
|
+
"css": "--bulma-picker-popover-z-index",
|
|
727
|
+
"sass": "$picker-popover-z-index",
|
|
728
|
+
"default": "30",
|
|
729
|
+
"scope": "element"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"css": "--bulma-picker-popover-background",
|
|
733
|
+
"sass": "$picker-popover-background",
|
|
734
|
+
"default": "var(--bulma-scheme-main)",
|
|
735
|
+
"scope": "element"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"css": "--bulma-picker-popover-radius",
|
|
739
|
+
"sass": "$picker-popover-radius",
|
|
740
|
+
"default": "var(--bulma-radius-large)",
|
|
741
|
+
"scope": "element"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"css": "--bulma-picker-popover-shadow",
|
|
745
|
+
"sass": "$picker-popover-shadow",
|
|
746
|
+
"default": "0 8px 24px hsla(0, 0%, 0%, 0.18)",
|
|
747
|
+
"scope": "element"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"css": "--bulma-picker-popover-border-color",
|
|
751
|
+
"sass": "$picker-popover-border-color",
|
|
752
|
+
"default": "var(--bulma-border)",
|
|
753
|
+
"scope": "element"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"css": "--bulma-picker-popover-padding",
|
|
757
|
+
"sass": "$picker-popover-padding",
|
|
758
|
+
"default": "0.75rem",
|
|
759
|
+
"scope": "element"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"css": "--bulma-picker-popover-offset",
|
|
763
|
+
"sass": "$picker-popover-offset",
|
|
764
|
+
"default": "4px",
|
|
765
|
+
"scope": "element"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"css": "--bulma-picker-popover-animation-duration",
|
|
769
|
+
"sass": "$picker-popover-animation-duration",
|
|
770
|
+
"default": "0.15s",
|
|
771
|
+
"scope": "element"
|
|
772
|
+
},
|
|
725
773
|
{
|
|
726
774
|
"css": "--bulma-timeinput-wheel-width",
|
|
727
775
|
"sass": "$timeinput-wheel-width",
|
|
@@ -82,12 +82,12 @@ component is guaranteed to appear (the generator fails if one lacks an API page)
|
|
|
82
82
|
- [Card](https://bestax.io/docs/api/components/card) — The `Card` component renders a Bulma-styled card with optional header, image, content, and footer.
|
|
83
83
|
- [Carousel](https://bestax.io/docs/api/components/carousel) — The `Carousel` component provides an image/content slider with navigation arrows and indicators.
|
|
84
84
|
- [Collapse](https://bestax.io/docs/api/components/collapse) — The `Collapse` component provides an expandable/collapsible content panel.
|
|
85
|
-
- [Dialog](https://bestax.io/docs/api/components/dialog) — The `Dialog` component provides
|
|
85
|
+
- [Dialog](https://bestax.io/docs/api/components/dialog) — The `Dialog` component provides ready-made confirm and alert dialogs, so a destructive action stays one `await dialog.confirm()` call away.
|
|
86
86
|
- [Dropdown](https://bestax.io/docs/api/components/dropdown) — The `Dropdown` component provides Bulma's versatile dropdown menu for your Bulma React UI.
|
|
87
87
|
- [Loading](https://bestax.io/docs/api/components/loading) — The `Loading` component provides a loading overlay with a spinner animation.
|
|
88
88
|
- [Menu](https://bestax.io/docs/api/components/menu) — The `Menu` component provides Bulma's vertical navigation menu: a simple, accessible sidebar or section menu for your Bulma React UI.
|
|
89
89
|
- [Message](https://bestax.io/docs/api/components/message) — The `Message` component provides Bulma's flexible notice/message box for your Bulma React UI.
|
|
90
|
-
- [Modal](https://bestax.io/docs/api/components/modal) — The `Modal` component provides
|
|
90
|
+
- [Modal](https://bestax.io/docs/api/components/modal) — The `Modal` component provides an empty, accessible overlay for arbitrary content — for a ready-made confirm or alert, reach for `Dialog` instead.
|
|
91
91
|
- [Navbar](https://bestax.io/docs/api/components/navbar) — The `Navbar` component implements Bulma's powerful, responsive navigation bar for your Bulma React UI.
|
|
92
92
|
- [Pagination](https://bestax.io/docs/api/components/pagination) — The `Pagination` component provides a flexible, composable Bulma pagination navigation for your Bulma React UI.
|
|
93
93
|
- [Panel](https://bestax.io/docs/api/components/panel) — The `Panel` component implements Bulma's versatile panel block for React.
|
package/data/skills.json
CHANGED
package/dist/format.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../src/format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,MAAM,EACN,OAAO,EACP,IAAI,EAEJ,KAAK,EACN,MAAM,WAAW,CAAC;AAUnB;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgB9C;AAED,wBAAgB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,CAOjE;AAsBD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,OAAc,EAAE;;CAAK,GAAG,MAAM,CAiCtE;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,eAAe,EACvB,OAAO,EAAE,MAAM,EAAE,GAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../src/format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,MAAM,EACN,OAAO,EACP,IAAI,EAEJ,KAAK,EACN,MAAM,WAAW,CAAC;AAUnB;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgB9C;AAED,wBAAgB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,CAOjE;AAsBD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,OAAc,EAAE;;CAAK,GAAG,MAAM,CAiCtE;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,eAAe,EACvB,OAAO,EAAE,MAAM,EAAE,GAChB,MAAM,CAkER;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,CAI1D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CA8CpD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,MAAM,CAkB7D;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAgBpD;AAED,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;;;;;EAM3D;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM;;;;;;EAK1C"}
|
package/dist/format.js
CHANGED
|
@@ -131,6 +131,13 @@ export function renderComponent(record, include) {
|
|
|
131
131
|
if (include.includes('cssVars') && record.cssVars.length) {
|
|
132
132
|
out.push('## CSS Variables', renderCssVars(record.cssVars));
|
|
133
133
|
}
|
|
134
|
+
else if (record.cssVars.length) {
|
|
135
|
+
// Routing, not a second tool call: get_component can already serve this on the
|
|
136
|
+
// call being made, so the fix is a pointer at `include`, not at get_css_variables.
|
|
137
|
+
// A 20-run eval (issue #501) found get_css_variables reached 1/10 MCP-only builders
|
|
138
|
+
// in an arm where every one themed the site by hand instead.
|
|
139
|
+
out.push(`\`${record.name}\` has ${record.cssVars.length} CSS variable${record.cssVars.length === 1 ? '' : 's'} for theming — pass \`include: ["cssVars"]\` to see them.`);
|
|
140
|
+
}
|
|
134
141
|
if (include.includes('accessibility') && record.accessibility) {
|
|
135
142
|
out.push('## Accessibility', record.accessibility);
|
|
136
143
|
}
|
package/package.json
CHANGED