playbook_ui 14.7.0.pre.rc.12 → 14.7.0.pre.rc.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 733fa930e848bccc673f62ba9924d0f05c2580d03c6803d1502263e3cced95eb
4
- data.tar.gz: 33057dace8766b922f395b58ea85292d2823f9c43bcd1b0afe9efaf67bd292fc
3
+ metadata.gz: 852ed0b0be1be193a0c7b42f885404e6de32cb5baf36d149e81900e8998d06dc
4
+ data.tar.gz: 49ea620b5632e4a0199fb7e6661b78f5ea481f25f587673bb164f0e202497d68
5
5
  SHA512:
6
- metadata.gz: ddc5877f29db457d1c70da6bbd3d54b95ca52724f4a7645fb35e867374d3a1893557e59fe2bae13c4d32f9f32e1b287a0712a1064a52fe69fb6f72749412194d
7
- data.tar.gz: 19503f5a9cdd8b9c8a4f0e61b49bb381e9d36d9155264c43f7bd721bafad8a713a6f7710827ab7533693da76b05b2bfe988c8e9869414f5a9f977fb9112cc214
6
+ metadata.gz: 4a1b786ccdc03b193008a48f8ce566d661ab9c8d032af68e6e4cf52cc1d511dc13c24e5a830fbbd8bafcedf654d0febd8fcc863c91bb0e27bd993c787a57189f
7
+ data.tar.gz: 96462588d4175123ef8ad54012d6988b001b13cdbc9eab0cd8f72d772707a7dec5ec774bb4d1cb4681d1e7ce2f0cb020c9295670ed885b93bc518dc582f137b8
@@ -47,7 +47,7 @@ interface DropdownComponent
47
47
  Container: typeof DropdownContainer;
48
48
  }
49
49
 
50
- const Dropdown = forwardRef((props: DropdownProps, ref: any) => {
50
+ let Dropdown = (props: DropdownProps, ref: any): React.ReactElement | null => {
51
51
  const {
52
52
  aria = {},
53
53
  autocomplete = false,
@@ -260,7 +260,7 @@ const Dropdown = forwardRef((props: DropdownProps, ref: any) => {
260
260
  <DropdownContainer>
261
261
  {optionsWithBlankSelection &&
262
262
  optionsWithBlankSelection?.map((option: GenericObject) => (
263
- <Dropdown.Option key={option.id}
263
+ <DropdownOption key={option.id}
264
264
  option={option}
265
265
  />
266
266
  ))}
@@ -278,11 +278,12 @@ const Dropdown = forwardRef((props: DropdownProps, ref: any) => {
278
278
  </DropdownContext.Provider>
279
279
  </div>
280
280
  )
281
- }) as DropdownComponent
281
+ }
282
282
 
283
- Dropdown.displayName = "Dropdown";
284
- Dropdown.Option = DropdownOption;
285
- Dropdown.Trigger = DropdownTrigger;
286
- Dropdown.Container = DropdownContainer;
283
+ Dropdown = forwardRef(Dropdown) as unknown as DropdownComponent;
284
+ (Dropdown as DropdownComponent).displayName = "Dropdown";
285
+ (Dropdown as DropdownComponent).Option = DropdownOption;
286
+ (Dropdown as DropdownComponent).Trigger = DropdownTrigger;
287
+ (Dropdown as DropdownComponent).Container = DropdownContainer;
287
288
 
288
289
  export default Dropdown;