playbook_ui 14.7.0.pre.rc.13 → 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: dfcc768fdfc174c37ee2588fb728c0d0d33d05dc946889552413eb9ee8ff2b8e
4
- data.tar.gz: 5f5e873043a193d76faab8b35fe440c85a47df2852ee03341dd950da62ce167e
3
+ metadata.gz: 852ed0b0be1be193a0c7b42f885404e6de32cb5baf36d149e81900e8998d06dc
4
+ data.tar.gz: 49ea620b5632e4a0199fb7e6661b78f5ea481f25f587673bb164f0e202497d68
5
5
  SHA512:
6
- metadata.gz: ed4478ceb654b29459609fd90984b72ff0751b822b08395a45a05ab0b084a17b217f8d5c2020b27e71b2dacbf06d531da6e574a0b9300d049cee1a9fcef9de61
7
- data.tar.gz: 8826d8ea4e6d7e77cdec0491cb06dfefc2b91bdb924f1882c2c23af0dced1eb1cc3044a0386903177b9783e848f90b1d7bf7ffa882cff89e0d4af5942b56d929
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;