@leafygreen-ui/combobox 5.0.8 → 5.0.10

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/{Chip.d.ts → Chip/Chip.d.ts} +1 -1
  3. package/dist/Chip/Chip.d.ts.map +1 -0
  4. package/dist/Chip/Chip.styles.d.ts +23 -0
  5. package/dist/Chip/Chip.styles.d.ts.map +1 -0
  6. package/dist/Chip/index.d.ts +2 -0
  7. package/dist/Chip/index.d.ts.map +1 -0
  8. package/dist/{Combobox.d.ts → Combobox/Combobox.d.ts} +1 -1
  9. package/dist/Combobox/Combobox.d.ts.map +1 -0
  10. package/dist/{Combobox.styles.d.ts → Combobox/Combobox.styles.d.ts} +1 -12
  11. package/dist/Combobox/Combobox.styles.d.ts.map +1 -0
  12. package/dist/Combobox/index.d.ts +2 -0
  13. package/dist/Combobox/index.d.ts.map +1 -0
  14. package/dist/{ComboboxContext.d.ts → ComboboxContext/ComboboxContext.d.ts} +1 -4
  15. package/dist/ComboboxContext/ComboboxContext.d.ts.map +1 -0
  16. package/dist/ComboboxContext/index.d.ts +2 -0
  17. package/dist/ComboboxContext/index.d.ts.map +1 -0
  18. package/dist/{ComboboxGroup.d.ts → ComboboxGroup/ComboboxGroup.d.ts} +3 -4
  19. package/dist/ComboboxGroup/ComboboxGroup.d.ts.map +1 -0
  20. package/dist/ComboboxGroup/ComboboxGroup.styles.d.ts +5 -0
  21. package/dist/ComboboxGroup/ComboboxGroup.styles.d.ts.map +1 -0
  22. package/dist/ComboboxGroup/index.d.ts +2 -0
  23. package/dist/ComboboxGroup/index.d.ts.map +1 -0
  24. package/dist/ComboboxMenu/ComboboxMenu.d.ts.map +1 -1
  25. package/dist/ComboboxMenu/index.d.ts +2 -0
  26. package/dist/ComboboxMenu/index.d.ts.map +1 -0
  27. package/dist/{ComboboxOption.d.ts → ComboboxOption/ComboboxOption.d.ts} +5 -4
  28. package/dist/ComboboxOption/ComboboxOption.d.ts.map +1 -0
  29. package/dist/ComboboxOption/ComboboxOption.styles.d.ts +11 -0
  30. package/dist/ComboboxOption/ComboboxOption.styles.d.ts.map +1 -0
  31. package/dist/ComboboxOption/OptionContent.d.ts +4 -0
  32. package/dist/ComboboxOption/OptionContent.d.ts.map +1 -0
  33. package/dist/ComboboxOption/index.d.ts +2 -0
  34. package/dist/ComboboxOption/index.d.ts.map +1 -0
  35. package/dist/esm/index.js +1 -1
  36. package/dist/esm/index.js.map +1 -1
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +1 -1
  40. package/dist/index.js.map +1 -1
  41. package/dist/{ComboboxTestUtils.d.ts → utils/ComboboxTestUtils.d.ts} +1 -1
  42. package/dist/utils/ComboboxTestUtils.d.ts.map +1 -0
  43. package/package.json +11 -10
  44. package/src/Chip/Chip.styles.ts +150 -0
  45. package/src/{Chip.tsx → Chip/Chip.tsx} +18 -138
  46. package/src/Chip/index.ts +1 -0
  47. package/src/{Combobox.spec.tsx → Combobox/Combobox.spec.tsx} +2 -2
  48. package/src/{Combobox.story.tsx → Combobox/Combobox.story.tsx} +3 -3
  49. package/src/{Combobox.styles.ts → Combobox/Combobox.styles.ts} +5 -19
  50. package/src/{Combobox.tsx → Combobox/Combobox.tsx} +192 -257
  51. package/src/Combobox/index.ts +1 -0
  52. package/src/{ComboboxContext.tsx → ComboboxContext/ComboboxContext.tsx} +1 -7
  53. package/src/ComboboxContext/index.ts +1 -0
  54. package/src/ComboboxGroup/ComboboxGroup.styles.ts +34 -0
  55. package/src/ComboboxGroup/ComboboxGroup.tsx +53 -0
  56. package/src/ComboboxGroup/index.ts +1 -0
  57. package/src/ComboboxMenu/ComboboxMenu.tsx +3 -2
  58. package/src/ComboboxMenu/index.ts +1 -0
  59. package/src/ComboboxOption/ComboboxOption.styles.ts +68 -0
  60. package/src/ComboboxOption/ComboboxOption.tsx +107 -0
  61. package/src/ComboboxOption/OptionContent.tsx +87 -0
  62. package/src/ComboboxOption/index.ts +1 -0
  63. package/src/index.ts +1 -1
  64. package/src/{ComboboxTestUtils.tsx → utils/ComboboxTestUtils.tsx} +2 -2
  65. package/tsconfig.json +3 -0
  66. package/tsconfig.tsbuildinfo +1 -1
  67. package/tsdoc.json +540 -3
  68. package/dist/Chip.d.ts.map +0 -1
  69. package/dist/Combobox.d.ts.map +0 -1
  70. package/dist/Combobox.styles.d.ts.map +0 -1
  71. package/dist/ComboboxContext.d.ts.map +0 -1
  72. package/dist/ComboboxGroup.d.ts.map +0 -1
  73. package/dist/ComboboxOption.d.ts.map +0 -1
  74. package/dist/ComboboxTestUtils.d.ts.map +0 -1
  75. package/dist/Menu.styles.d.ts +0 -22
  76. package/dist/Menu.styles.d.ts.map +0 -1
  77. package/src/ComboboxGroup.tsx +0 -80
  78. package/src/ComboboxOption.tsx +0 -329
  79. package/src/Menu.styles.ts +0 -112
package/tsdoc.json CHANGED
@@ -1,10 +1,70 @@
1
1
  [
2
+ {
3
+ "tags": {},
4
+ "description": "",
5
+ "methods": [],
6
+ "displayName": "Chip",
7
+ "props": {
8
+ "ChipProps": {
9
+ "displayName": {
10
+ "name": "displayName",
11
+ "defaultValue": null,
12
+ "description": "",
13
+ "required": true,
14
+ "type": {
15
+ "name": "string"
16
+ },
17
+ "tags": {}
18
+ },
19
+ "isFocused": {
20
+ "name": "isFocused",
21
+ "defaultValue": null,
22
+ "description": "",
23
+ "required": true,
24
+ "type": {
25
+ "name": "enum",
26
+ "raw": "boolean",
27
+ "value": [
28
+ {
29
+ "value": "false"
30
+ },
31
+ {
32
+ "value": "true"
33
+ }
34
+ ]
35
+ },
36
+ "tags": {}
37
+ },
38
+ "onRemove": {
39
+ "name": "onRemove",
40
+ "defaultValue": null,
41
+ "description": "",
42
+ "required": true,
43
+ "type": {
44
+ "name": "() => void"
45
+ },
46
+ "tags": {}
47
+ },
48
+ "onFocus": {
49
+ "name": "onFocus",
50
+ "defaultValue": null,
51
+ "description": "",
52
+ "required": true,
53
+ "type": {
54
+ "name": "() => void"
55
+ },
56
+ "tags": {}
57
+ }
58
+ }
59
+ }
60
+ },
2
61
  {
3
62
  "tags": {},
4
63
  "description": "Combobox is a combination of a Select and TextInput,\nallowing the user to either type a value directly or select a value from the list.\nCan be configured to select a single or multiple options.",
5
64
  "methods": [],
6
65
  "displayName": "Combobox",
7
66
  "props": {
67
+ "DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
8
68
  "HTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
9
69
  "BaseComboboxProps": {
10
70
  "placeholder": {
@@ -401,7 +461,6 @@
401
461
  }
402
462
  },
403
463
  "AriaAttributes": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes",
404
- "DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
405
464
  "ComboboxMultiselectProps": {
406
465
  "onChange": {
407
466
  "name": "onChange",
@@ -520,12 +579,361 @@
520
579
  }
521
580
  }
522
581
  },
582
+ {
583
+ "tags": {},
584
+ "description": "",
585
+ "methods": [],
586
+ "displayName": "ComboboxGroup",
587
+ "props": {
588
+ "ComboboxGroupProps": {
589
+ "label": {
590
+ "name": "label",
591
+ "defaultValue": null,
592
+ "description": "Label for the group of options",
593
+ "required": true,
594
+ "type": {
595
+ "name": "string"
596
+ },
597
+ "tags": {}
598
+ },
599
+ "children": {
600
+ "name": "children",
601
+ "defaultValue": null,
602
+ "description": "Options in the group. Must be one or more `ComboboxOption` components",
603
+ "required": true,
604
+ "type": {
605
+ "name": "enum",
606
+ "raw": "ReactNode",
607
+ "value": [
608
+ {
609
+ "value": "string"
610
+ },
611
+ {
612
+ "value": "number"
613
+ },
614
+ {
615
+ "value": "false"
616
+ },
617
+ {
618
+ "value": "true"
619
+ },
620
+ {
621
+ "value": "{}",
622
+ "description": "",
623
+ "fullComment": "",
624
+ "tags": {}
625
+ },
626
+ {
627
+ "value": "ReactElement<any, string | JSXElementConstructor<any>>",
628
+ "description": "",
629
+ "fullComment": "",
630
+ "tags": {}
631
+ },
632
+ {
633
+ "value": "ReactNodeArray",
634
+ "description": "",
635
+ "fullComment": "",
636
+ "tags": {}
637
+ },
638
+ {
639
+ "value": "ReactPortal",
640
+ "description": "",
641
+ "fullComment": "",
642
+ "tags": {}
643
+ }
644
+ ]
645
+ },
646
+ "tags": {}
647
+ },
648
+ "className": {
649
+ "name": "className",
650
+ "defaultValue": null,
651
+ "description": "Styling prop",
652
+ "required": false,
653
+ "type": {
654
+ "name": "string"
655
+ },
656
+ "tags": {}
657
+ }
658
+ }
659
+ }
660
+ },
661
+ {
662
+ "tags": {},
663
+ "description": "",
664
+ "methods": [],
665
+ "displayName": "InternalComboboxGroup",
666
+ "props": {
667
+ "ComboboxGroupProps": {
668
+ "label": {
669
+ "name": "label",
670
+ "defaultValue": null,
671
+ "description": "Label for the group of options",
672
+ "required": true,
673
+ "type": {
674
+ "name": "string"
675
+ },
676
+ "tags": {}
677
+ },
678
+ "children": {
679
+ "name": "children",
680
+ "defaultValue": null,
681
+ "description": "Options in the group. Must be one or more `ComboboxOption` components",
682
+ "required": true,
683
+ "type": {
684
+ "name": "enum",
685
+ "raw": "ReactNode",
686
+ "value": [
687
+ {
688
+ "value": "string"
689
+ },
690
+ {
691
+ "value": "number"
692
+ },
693
+ {
694
+ "value": "false"
695
+ },
696
+ {
697
+ "value": "true"
698
+ },
699
+ {
700
+ "value": "{}",
701
+ "description": "",
702
+ "fullComment": "",
703
+ "tags": {}
704
+ },
705
+ {
706
+ "value": "ReactElement<any, string | JSXElementConstructor<any>>",
707
+ "description": "",
708
+ "fullComment": "",
709
+ "tags": {}
710
+ },
711
+ {
712
+ "value": "ReactNodeArray",
713
+ "description": "",
714
+ "fullComment": "",
715
+ "tags": {}
716
+ },
717
+ {
718
+ "value": "ReactPortal",
719
+ "description": "",
720
+ "fullComment": "",
721
+ "tags": {}
722
+ }
723
+ ]
724
+ },
725
+ "tags": {}
726
+ },
727
+ "className": {
728
+ "name": "className",
729
+ "defaultValue": null,
730
+ "description": "Styling prop",
731
+ "required": false,
732
+ "type": {
733
+ "name": "string"
734
+ },
735
+ "tags": {}
736
+ }
737
+ }
738
+ }
739
+ },
740
+ {
741
+ "tags": {},
742
+ "description": "",
743
+ "methods": [],
744
+ "displayName": "ComboboxMenu",
745
+ "props": {
746
+ "ComboboxMenuProps": {
747
+ "children": {
748
+ "name": "children",
749
+ "defaultValue": null,
750
+ "description": "",
751
+ "required": false,
752
+ "type": {
753
+ "name": "enum",
754
+ "raw": "ReactNode",
755
+ "value": [
756
+ {
757
+ "value": "string"
758
+ },
759
+ {
760
+ "value": "number"
761
+ },
762
+ {
763
+ "value": "false"
764
+ },
765
+ {
766
+ "value": "true"
767
+ },
768
+ {
769
+ "value": "{}",
770
+ "description": "",
771
+ "fullComment": "",
772
+ "tags": {}
773
+ },
774
+ {
775
+ "value": "ReactElement<any, string | JSXElementConstructor<any>>",
776
+ "description": "",
777
+ "fullComment": "",
778
+ "tags": {}
779
+ },
780
+ {
781
+ "value": "ReactNodeArray",
782
+ "description": "",
783
+ "fullComment": "",
784
+ "tags": {}
785
+ },
786
+ {
787
+ "value": "ReactPortal",
788
+ "description": "",
789
+ "fullComment": "",
790
+ "tags": {}
791
+ }
792
+ ]
793
+ },
794
+ "tags": {}
795
+ },
796
+ "refEl": {
797
+ "name": "refEl",
798
+ "defaultValue": null,
799
+ "description": "",
800
+ "required": true,
801
+ "type": {
802
+ "name": "RefObject<HTMLDivElement>"
803
+ },
804
+ "tags": {}
805
+ },
806
+ "id": {
807
+ "name": "id",
808
+ "defaultValue": null,
809
+ "description": "",
810
+ "required": true,
811
+ "type": {
812
+ "name": "string"
813
+ },
814
+ "tags": {}
815
+ },
816
+ "labelId": {
817
+ "name": "labelId",
818
+ "defaultValue": null,
819
+ "description": "",
820
+ "required": true,
821
+ "type": {
822
+ "name": "string"
823
+ },
824
+ "tags": {}
825
+ },
826
+ "menuWidth": {
827
+ "name": "menuWidth",
828
+ "defaultValue": null,
829
+ "description": "",
830
+ "required": true,
831
+ "type": {
832
+ "name": "number"
833
+ },
834
+ "tags": {}
835
+ }
836
+ },
837
+ "BaseComboboxProps": {
838
+ "searchEmptyMessage": {
839
+ "name": "searchEmptyMessage",
840
+ "defaultValue": null,
841
+ "description": "A message shown within the menu when there are no options passed in as children, or `filteredOptions` is an empty array",
842
+ "required": false,
843
+ "type": {
844
+ "name": "string"
845
+ },
846
+ "tags": {}
847
+ },
848
+ "searchErrorMessage": {
849
+ "name": "searchErrorMessage",
850
+ "defaultValue": null,
851
+ "description": "A message shown within the menu when searchState is `error`",
852
+ "required": false,
853
+ "type": {
854
+ "name": "string"
855
+ },
856
+ "tags": {}
857
+ },
858
+ "searchLoadingMessage": {
859
+ "name": "searchLoadingMessage",
860
+ "defaultValue": null,
861
+ "description": "A message shown within the menu when searchState is `loading`",
862
+ "required": false,
863
+ "type": {
864
+ "name": "string"
865
+ },
866
+ "tags": {}
867
+ },
868
+ "usePortal": {
869
+ "name": "usePortal",
870
+ "defaultValue": null,
871
+ "description": "Specifies that the popover content should be rendered at the end of the DOM,\nrather than in the DOM tree.\n\ndefault: `true`",
872
+ "required": false,
873
+ "type": {
874
+ "name": "enum",
875
+ "raw": "boolean",
876
+ "value": [
877
+ {
878
+ "value": "false"
879
+ },
880
+ {
881
+ "value": "true"
882
+ }
883
+ ]
884
+ },
885
+ "tags": {}
886
+ },
887
+ "portalClassName": {
888
+ "name": "portalClassName",
889
+ "defaultValue": null,
890
+ "description": "When usePortal is `true`, specifies a class name to apply to the root element of the portal.",
891
+ "required": false,
892
+ "type": {
893
+ "name": "undefined"
894
+ },
895
+ "tags": {}
896
+ },
897
+ "portalContainer": {
898
+ "name": "portalContainer",
899
+ "defaultValue": null,
900
+ "description": "When usePortal is `true`, specifies an element to portal within. The default behavior is to generate a div at the end of the document to render within.",
901
+ "required": false,
902
+ "type": {
903
+ "name": "null"
904
+ },
905
+ "tags": {}
906
+ },
907
+ "scrollContainer": {
908
+ "name": "scrollContainer",
909
+ "defaultValue": null,
910
+ "description": "When usePortal is `true`, specifies the scrollable element to position relative to.",
911
+ "required": false,
912
+ "type": {
913
+ "name": "null"
914
+ },
915
+ "tags": {}
916
+ },
917
+ "popoverZIndex": {
918
+ "name": "popoverZIndex",
919
+ "defaultValue": null,
920
+ "description": "Number that controls the z-index of the popover element directly.",
921
+ "required": false,
922
+ "type": {
923
+ "name": "number"
924
+ },
925
+ "tags": {}
926
+ }
927
+ }
928
+ }
929
+ },
523
930
  {
524
931
  "tags": {},
525
932
  "description": "",
526
933
  "methods": [],
527
934
  "displayName": "ComboboxOption",
528
935
  "props": {
936
+ "DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
529
937
  "AriaAttributes": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes",
530
938
  "HTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
531
939
  "BaseComboboxOptionProps": {
@@ -568,6 +976,16 @@
568
976
  },
569
977
  "tags": {}
570
978
  },
979
+ "displayName": {
980
+ "name": "displayName",
981
+ "defaultValue": null,
982
+ "description": "The display value of the option. Used as the rendered string within the menu and chips.\nWhen undefined, this is set to `value`",
983
+ "required": false,
984
+ "type": {
985
+ "name": "string"
986
+ },
987
+ "tags": {}
988
+ },
571
989
  "value": {
572
990
  "name": "value",
573
991
  "defaultValue": null,
@@ -577,19 +995,138 @@
577
995
  "name": "string"
578
996
  },
579
997
  "tags": {}
998
+ }
999
+ }
1000
+ }
1001
+ },
1002
+ {
1003
+ "tags": {},
1004
+ "description": "Internal ComboboxOption Component for use within Combobox only.\n\nPrefer using {@link ComboboxOption}",
1005
+ "methods": [],
1006
+ "displayName": "InternalComboboxOption",
1007
+ "props": {
1008
+ "InternalComboboxOptionProps": {
1009
+ "value": {
1010
+ "name": "value",
1011
+ "defaultValue": null,
1012
+ "description": "",
1013
+ "required": true,
1014
+ "type": {
1015
+ "name": "string"
1016
+ },
1017
+ "tags": {}
580
1018
  },
581
1019
  "displayName": {
582
1020
  "name": "displayName",
583
1021
  "defaultValue": null,
584
- "description": "The display value of the option. Used as the rendered string within the menu and chips.\nWhen undefined, this is set to `value`",
1022
+ "description": "",
1023
+ "required": true,
1024
+ "type": {
1025
+ "name": "string"
1026
+ },
1027
+ "tags": {}
1028
+ },
1029
+ "isSelected": {
1030
+ "name": "isSelected",
1031
+ "defaultValue": null,
1032
+ "description": "",
1033
+ "required": true,
1034
+ "type": {
1035
+ "name": "enum",
1036
+ "raw": "boolean",
1037
+ "value": [
1038
+ {
1039
+ "value": "false"
1040
+ },
1041
+ {
1042
+ "value": "true"
1043
+ }
1044
+ ]
1045
+ },
1046
+ "tags": {}
1047
+ },
1048
+ "isFocused": {
1049
+ "name": "isFocused",
1050
+ "defaultValue": null,
1051
+ "description": "",
1052
+ "required": true,
1053
+ "type": {
1054
+ "name": "enum",
1055
+ "raw": "boolean",
1056
+ "value": [
1057
+ {
1058
+ "value": "false"
1059
+ },
1060
+ {
1061
+ "value": "true"
1062
+ }
1063
+ ]
1064
+ },
1065
+ "tags": {}
1066
+ },
1067
+ "setSelected": {
1068
+ "name": "setSelected",
1069
+ "defaultValue": null,
1070
+ "description": "",
1071
+ "required": true,
1072
+ "type": {
1073
+ "name": "() => void"
1074
+ },
1075
+ "tags": {}
1076
+ },
1077
+ "disabled": {
1078
+ "name": "disabled",
1079
+ "defaultValue": null,
1080
+ "description": "",
1081
+ "required": false,
1082
+ "type": {
1083
+ "name": "enum",
1084
+ "raw": "boolean",
1085
+ "value": [
1086
+ {
1087
+ "value": "false"
1088
+ },
1089
+ {
1090
+ "value": "true"
1091
+ }
1092
+ ]
1093
+ },
1094
+ "tags": {}
1095
+ },
1096
+ "glyph": {
1097
+ "name": "glyph",
1098
+ "defaultValue": null,
1099
+ "description": "",
1100
+ "required": false,
1101
+ "type": {
1102
+ "name": "ReactElement<any, string | JSXElementConstructor<any>>"
1103
+ },
1104
+ "tags": {}
1105
+ },
1106
+ "className": {
1107
+ "name": "className",
1108
+ "defaultValue": null,
1109
+ "description": "",
585
1110
  "required": false,
586
1111
  "type": {
587
1112
  "name": "string"
588
1113
  },
589
1114
  "tags": {}
1115
+ },
1116
+ "index": {
1117
+ "name": "index",
1118
+ "defaultValue": null,
1119
+ "description": "",
1120
+ "required": true,
1121
+ "type": {
1122
+ "name": "number"
1123
+ },
1124
+ "tags": {}
590
1125
  }
591
1126
  },
592
- "DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes"
1127
+ "DOMAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes",
1128
+ "AriaAttributes": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes",
1129
+ "HTMLAttributes": "https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes"
593
1130
  }
594
1131
  }
595
1132
  ]
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../src/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AActE,OAAO,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAiInE,eAAO,MAAM,IAAI,mFA0IhB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../src/Combobox.tsx"],"names":[],"mappings":";AAaA,OAAO,SAAS,MAAM,YAAY,CAAC;AAuCnC,OAAO,EAEL,aAAa,EAUd,MAAM,kBAAkB,CAAC;AAY1B;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,OAAO,EAAE,EAC1C,QAAQ,EACR,KAAK,EACL,WAAW,EACX,WAAsB,EACtB,YAAY,EAAE,SAAS,EACvB,QAAgB,EAChB,IAA2B,EAC3B,QAAQ,EAAE,YAAY,EACtB,KAAc,EACd,YAAY,EACZ,WAAqB,EACrB,kBAAuC,EACvC,kBAA6C,EAC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BAAkB,CAAC;AAE1B,UAAU,YAAY;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,WAAW,CAAC;IACzB,sBAAsB,CAAC,EAAE,kBAAkB,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,uCAU1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComboboxGroup.d.ts","sourceRoot":"","sources":["../src/ComboboxGroup.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAOnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAkCtD,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,SAAS,EACT,QAAQ,GACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAqBlC;AAUD,iBAAwB,aAAa,CAAC,CAAC,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAExE;kBAFuB,aAAa;;;;;;;;eAAb,aAAa"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComboboxOption.d.ts","sourceRoot":"","sources":["../src/ComboboxOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,SAAS,MAAM,YAAY,CAAC;AAWnC,OAAO,EACL,mBAAmB,EAEnB,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAuJ1B;;GAEG;AACH,QAAA,MAAM,sBAAsB,mGA+I3B,CAAC;AAGF,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,wBA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CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D7C;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,cAAe,OAAO,YAAmC,CAAC;AAiC7E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,IAAI,CAAC;QACb,UAAU,QAAQ,CAAC,CAAC;YAClB,cAAc,IAAI,CAAC,CAAC;SACrB;KACF;CACF"}
@@ -1,22 +0,0 @@
1
- import { Theme } from '@leafygreen-ui/lib';
2
- import { ComboboxSize } from './Combobox.types';
3
- /** Height of a menu item (in px) */
4
- export declare const menuItemHeight = 36;
5
- export declare const menuItemPadding: Record<ComboboxSize, {
6
- x: number;
7
- y: number;
8
- }>;
9
- /**
10
- * Menu styles
11
- */
12
- export declare const popoverStyle: (width?: number) => string;
13
- export declare const popoverThemeStyle: Record<Theme, string>;
14
- export declare const menuBaseStyle: string;
15
- export declare const menuThemeStyle: Record<Theme, string>;
16
- export declare const menuList: string;
17
- export declare const menuMessageBaseStyle: string;
18
- export declare const menuMessageThemeStyle: Record<Theme, string>;
19
- export declare const menuMessageSizeStyle: Record<ComboboxSize, string>;
20
- export declare const menuMessageIconSizeStyle: Record<ComboboxSize, string>;
21
- export declare const loadingIconStyle: string;
22
- //# sourceMappingURL=Menu.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Menu.styles.d.ts","sourceRoot":"","sources":["../src/Menu.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,oCAAoC;AACpC,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAG1E,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,YAAY,4BAIxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAKnD,CAAC;AAEF,eAAO,MAAM,aAAa,QAUzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAMhD,CAAC;AAEF,eAAO,MAAM,QAAQ,QAIpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAKhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAKvD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAe7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CASjE,CAAC;AAWF,eAAO,MAAM,gBAAgB,QAE5B,CAAC"}