@draftbit/core 46.13.1-2d051e.2 → 46.13.1-618d50.2

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 (37) hide show
  1. package/lib/src/components/SwipeableItem/SwipeableItem.js +2 -2
  2. package/lib/src/components/SwipeableItem/SwipeableItem.js.map +1 -1
  3. package/lib/src/index.d.ts +0 -1
  4. package/lib/src/index.js +0 -1
  5. package/lib/src/index.js.map +1 -1
  6. package/lib/tsconfig.tsbuildinfo +1 -1
  7. package/package.json +3 -5
  8. package/src/components/SwipeableItem/SwipeableItem.js +2 -2
  9. package/src/components/SwipeableItem/SwipeableItem.js.map +1 -1
  10. package/src/components/SwipeableItem/SwipeableItem.tsx +4 -0
  11. package/src/index.js +0 -1
  12. package/src/index.js.map +1 -1
  13. package/src/index.tsx +0 -5
  14. package/lib/src/components/AudioPlayer/AudioPlayerCommon.d.ts +0 -39
  15. package/lib/src/components/AudioPlayer/AudioPlayerCommon.js +0 -2
  16. package/lib/src/components/AudioPlayer/AudioPlayerCommon.js.map +0 -1
  17. package/lib/src/components/AudioPlayer/AudioPlayerWithInterface.d.ts +0 -6
  18. package/lib/src/components/AudioPlayer/AudioPlayerWithInterface.js +0 -126
  19. package/lib/src/components/AudioPlayer/AudioPlayerWithInterface.js.map +0 -1
  20. package/lib/src/components/AudioPlayer/HeadlessAudioPlayer.d.ts +0 -8
  21. package/lib/src/components/AudioPlayer/HeadlessAudioPlayer.js +0 -132
  22. package/lib/src/components/AudioPlayer/HeadlessAudioPlayer.js.map +0 -1
  23. package/lib/src/components/AudioPlayer/index.d.ts +0 -10
  24. package/lib/src/components/AudioPlayer/index.js +0 -15
  25. package/lib/src/components/AudioPlayer/index.js.map +0 -1
  26. package/src/components/AudioPlayer/AudioPlayerCommon.js +0 -2
  27. package/src/components/AudioPlayer/AudioPlayerCommon.js.map +0 -1
  28. package/src/components/AudioPlayer/AudioPlayerCommon.ts +0 -44
  29. package/src/components/AudioPlayer/AudioPlayerWithInterface.js +0 -126
  30. package/src/components/AudioPlayer/AudioPlayerWithInterface.js.map +0 -1
  31. package/src/components/AudioPlayer/AudioPlayerWithInterface.tsx +0 -217
  32. package/src/components/AudioPlayer/HeadlessAudioPlayer.js +0 -132
  33. package/src/components/AudioPlayer/HeadlessAudioPlayer.js.map +0 -1
  34. package/src/components/AudioPlayer/HeadlessAudioPlayer.tsx +0 -187
  35. package/src/components/AudioPlayer/index.js +0 -15
  36. package/src/components/AudioPlayer/index.js.map +0 -1
  37. package/src/components/AudioPlayer/index.tsx +0 -30
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- import { withTheme } from "../../theming";
3
- import HeadlessAudioPlayer from "./HeadlessAudioPlayer";
4
- import AudioPlayerWithInterface from "./AudioPlayerWithInterface";
5
- const AudioPlayer = React.forwardRef(({ mode = "interface", ...rest }, ref) => {
6
- switch (mode) {
7
- case "headless":
8
- return React.createElement(HeadlessAudioPlayer, { ref: ref, ...rest });
9
- case "interface":
10
- //@ts-ignore Typescript unable to handle nested passing of theme
11
- return React.createElement(AudioPlayerWithInterface, { ref: ref, ...rest });
12
- }
13
- });
14
- export default withTheme(AudioPlayer);
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAMlE,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAGlC,CAAC,EAAE,IAAI,GAAG,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;IACzC,QAAQ,IAAI,EAAE;QACZ,KAAK,UAAU;YACb,OAAO,oBAAC,mBAAmB,IAAC,GAAG,EAAE,GAAG,KAAM,IAAI,GAAI,CAAC;QACrD,KAAK,WAAW;YACd,gEAAgE;YAChE,OAAO,oBAAC,wBAAwB,IAAC,GAAG,EAAE,GAAG,KAAM,IAAI,GAAI,CAAC;KAC3D;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC,WAAW,CAAC,CAAC"}
@@ -1,30 +0,0 @@
1
- import * as React from "react";
2
- import { withTheme } from "../../theming";
3
- import {
4
- AudioPlayerInterfaceProps,
5
- HeadlessAudioPlayerProps,
6
- HeadlessAudioPlayerRef,
7
- } from "./AudioPlayerCommon";
8
- import HeadlessAudioPlayer from "./HeadlessAudioPlayer";
9
- import AudioPlayerWithInterface from "./AudioPlayerWithInterface";
10
-
11
- interface AudioPlayerProps {
12
- mode?: "interface" | "headless";
13
- }
14
-
15
- const AudioPlayer = React.forwardRef<
16
- HeadlessAudioPlayerRef,
17
- AudioPlayerProps & AudioPlayerInterfaceProps & HeadlessAudioPlayerProps
18
- >(({ mode = "interface", ...rest }, ref) => {
19
- switch (mode) {
20
- case "headless":
21
- return <HeadlessAudioPlayer ref={ref} {...rest} />;
22
- case "interface":
23
- //@ts-ignore Typescript unable to handle nested passing of theme
24
- return <AudioPlayerWithInterface ref={ref} {...rest} />;
25
- }
26
- });
27
-
28
- export default withTheme(AudioPlayer);
29
-
30
- export { HeadlessAudioPlayerRef as AudioPlayerRef } from "./AudioPlayerCommon";