@gostudent/shared-ui-library-mcp 3.1.0 → 3.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/library-manifest.json +90 -1
- package/package.json +1 -1
package/library-manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"libraryVersion": "3.
|
|
2
|
+
"libraryVersion": "3.2.0",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "Avatar",
|
|
@@ -746,6 +746,95 @@
|
|
|
746
746
|
}
|
|
747
747
|
]
|
|
748
748
|
},
|
|
749
|
+
{
|
|
750
|
+
"name": "InputAutocomplete",
|
|
751
|
+
"description": "Text input that filters a list of suggestions as the user types, and lets them pick one.\n\n- Type-to-filter: the dropdown narrows to options whose label contains the typed text\n- Opens on focus, closes on **Escape**, blur outside, or option selection\n- Arrow Up/Down moves the highlighted option, Enter selects it\n- Supports an `error` message/state, same as `InputText`\n- Unlike `InputSelect`, the field stays a free-text input — a typed value that matches no\n option is still accepted, so the consumer can show a custom \"no match\" error",
|
|
752
|
+
"storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/components-inputs-inputautocomplete",
|
|
753
|
+
"props": [
|
|
754
|
+
{
|
|
755
|
+
"name": "options",
|
|
756
|
+
"description": "",
|
|
757
|
+
"options": []
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "value",
|
|
761
|
+
"description": "",
|
|
762
|
+
"options": []
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "onChange",
|
|
766
|
+
"description": "",
|
|
767
|
+
"options": []
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"name": "onSelect",
|
|
771
|
+
"description": "",
|
|
772
|
+
"options": []
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "label",
|
|
776
|
+
"description": "",
|
|
777
|
+
"options": []
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"name": "placeholder",
|
|
781
|
+
"description": "",
|
|
782
|
+
"options": []
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "error",
|
|
786
|
+
"description": "",
|
|
787
|
+
"options": []
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "disabled",
|
|
791
|
+
"description": "",
|
|
792
|
+
"options": []
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "className",
|
|
796
|
+
"description": "",
|
|
797
|
+
"options": []
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "id",
|
|
801
|
+
"description": "",
|
|
802
|
+
"options": []
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "name",
|
|
806
|
+
"description": "",
|
|
807
|
+
"options": []
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"name": "type",
|
|
811
|
+
"description": "",
|
|
812
|
+
"options": []
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "aria-label",
|
|
816
|
+
"description": "",
|
|
817
|
+
"options": []
|
|
818
|
+
}
|
|
819
|
+
],
|
|
820
|
+
"examples": [
|
|
821
|
+
{
|
|
822
|
+
"name": "Default",
|
|
823
|
+
"jsx": "// See \"Default\" story — uses interactive render wrapper",
|
|
824
|
+
"storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-inputautocomplete--default"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "WithMatch",
|
|
828
|
+
"jsx": "// See \"WithMatch\" story — uses interactive render wrapper",
|
|
829
|
+
"storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-inputautocomplete--with-match"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "NoMatchError",
|
|
833
|
+
"jsx": "// See \"NoMatchError\" story — uses interactive render wrapper",
|
|
834
|
+
"storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-inputautocomplete--no-match-error"
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
},
|
|
749
838
|
{
|
|
750
839
|
"name": "InputSelect",
|
|
751
840
|
"description": "Single-select input with a dropdown list.\n\n- Trigger styled as an input field (48 px height, 2 px border, 4 px radius)\n- Chevron rotates 180° when open\n- Selected option shows a checkmark and a distinct background\n- Optional left icon slot (e.g. `GlobeIcon` for language pickers)\n- `fullWidth` (default `true`) — set to `false` for an intrinsic-width trigger instead of\n stretching to fill its container\n- Closes on **Escape** or **click outside**\n- Full keyboard + ARIA support: `role=\"listbox\"` / `role=\"option\"` / `aria-selected`",
|