@ilo-org/react 0.4.3 → 0.4.4

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 (57) hide show
  1. package/.eslintrc.cjs +39 -0
  2. package/CHANGELOG.md +12 -0
  3. package/lib/cjs/{DailyMotion-5654fa6e.js → DailyMotion-2cda261d.js} +1 -1
  4. package/lib/cjs/{Facebook-1924e510.js → Facebook-40bd92e7.js} +1 -1
  5. package/lib/cjs/{FilePlayer-9c697e42.js → FilePlayer-b5a2e7b1.js} +1 -1
  6. package/lib/cjs/{Kaltura-177bb003.js → Kaltura-8544b000.js} +1 -1
  7. package/lib/cjs/{Mixcloud-91a772a6.js → Mixcloud-2c92778a.js} +1 -1
  8. package/lib/cjs/{Preview-8e2afb6a.js → Preview-a5f6c0c7.js} +1 -1
  9. package/lib/cjs/{SoundCloud-089e0f30.js → SoundCloud-ff297faf.js} +1 -1
  10. package/lib/cjs/{Streamable-4ca5b9c7.js → Streamable-612542e7.js} +1 -1
  11. package/lib/cjs/{Twitch-dbc5c387.js → Twitch-246c531e.js} +1 -1
  12. package/lib/cjs/{VideoPlayer-874a52b0.js → VideoPlayer-d576de50.js} +16 -23
  13. package/lib/cjs/{Vidyard-371acdcb.js → Vidyard-e1bb2e3d.js} +1 -1
  14. package/lib/cjs/{Vimeo-4d2029a8.js → Vimeo-38a72f3d.js} +1 -1
  15. package/lib/cjs/{Wistia-cd0799ad.js → Wistia-1280865c.js} +1 -1
  16. package/lib/cjs/{YouTube-23b7ec9e.js → YouTube-1fbce80b.js} +1 -1
  17. package/lib/cjs/components/Callout/index.js +14 -3
  18. package/lib/cjs/components/Card/CardGroup.js +4 -4
  19. package/lib/cjs/components/Collapse/Collapse.js +32 -47
  20. package/lib/cjs/components/Collapse/index.js +1 -1
  21. package/lib/cjs/components/Video/Video.js +2 -2
  22. package/lib/cjs/components/Video/VideoPlayer.js +2 -2
  23. package/lib/cjs/components/Video/index.js +2 -2
  24. package/lib/cjs/components/index.js +3 -3
  25. package/lib/cjs/{index-1b6434f0.js → index-0af02e81.js} +22 -59
  26. package/lib/cjs/index.js +4 -4
  27. package/lib/esm/{DailyMotion-88f6c379.js → DailyMotion-89500a59.js} +1 -1
  28. package/lib/esm/{Facebook-3a284039.js → Facebook-7abf2b6b.js} +1 -1
  29. package/lib/esm/{FilePlayer-dee1f94b.js → FilePlayer-c5879d9f.js} +1 -1
  30. package/lib/esm/{Kaltura-c5d42c88.js → Kaltura-424e97bb.js} +1 -1
  31. package/lib/esm/{Mixcloud-430ab42a.js → Mixcloud-a9c98513.js} +1 -1
  32. package/lib/esm/{Preview-7f57e055.js → Preview-05e5eb47.js} +1 -1
  33. package/lib/esm/{SoundCloud-d1ab591e.js → SoundCloud-0853e0b6.js} +1 -1
  34. package/lib/esm/{Streamable-042d61d5.js → Streamable-da3fc8b6.js} +1 -1
  35. package/lib/esm/{Twitch-2f45534f.js → Twitch-25eb6a7b.js} +1 -1
  36. package/lib/esm/{VideoPlayer-719076c4.js → VideoPlayer-a5fa87ce.js} +16 -23
  37. package/lib/esm/{Vidyard-4625527b.js → Vidyard-7284e1ca.js} +1 -1
  38. package/lib/esm/{Vimeo-03b960e6.js → Vimeo-4dc64c92.js} +1 -1
  39. package/lib/esm/{Wistia-48f9c303.js → Wistia-7f9e5ea3.js} +1 -1
  40. package/lib/esm/{YouTube-5b29a3d9.js → YouTube-9fef7faa.js} +1 -1
  41. package/lib/esm/components/Callout/index.js +16 -1
  42. package/lib/esm/components/Card/CardGroup.js +4 -4
  43. package/lib/esm/components/Collapse/Collapse.js +32 -47
  44. package/lib/esm/components/Collapse/index.js +1 -1
  45. package/lib/esm/components/Video/Video.js +2 -2
  46. package/lib/esm/components/Video/VideoPlayer.js +2 -2
  47. package/lib/esm/components/Video/index.js +2 -2
  48. package/lib/esm/components/index.js +3 -3
  49. package/lib/esm/{index-8ebb2cc1.js → index-623ce3f5.js} +21 -60
  50. package/lib/esm/index.js +4 -4
  51. package/lib/types/react/src/components/Fieldset/Fieldset.props.d.ts +1 -2
  52. package/lib/types/react/src/components/Video/Video.props.d.ts +1 -1
  53. package/package.json +29 -35
  54. package/src/components/Fieldset/Fieldset.props.ts +1 -2
  55. package/src/components/Video/Video.props.ts +1 -1
  56. package/lib/cjs/Callout.args-bcd5a9f1.js +0 -17
  57. package/lib/esm/Callout.args-3a0e0416.js +0 -15
@@ -2,8 +2,7 @@ import { ReactElement } from "react";
2
2
  import { InputProps } from "../Input/Input.props";
3
3
  import { TextareaProps } from "../Textarea/Textarea.props";
4
4
 
5
- export interface FieldsetChild
6
- extends ReactElement<InputProps | TextareaProps> {}
5
+ export type FieldsetChild = ReactElement<InputProps | TextareaProps>;
7
6
 
8
7
  export interface FieldsetProps {
9
8
  /**
@@ -53,7 +53,7 @@ export interface VideoProps {
53
53
  /**
54
54
  * Specify the alt for the image
55
55
  */
56
- alt: String;
56
+ alt: string;
57
57
 
58
58
  /**
59
59
  * Specify the caption for the image/video
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- const baseArgs = {
4
- copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
5
- isCollapsible: false,
6
- headline: "Info Callout",
7
- type: "info",
8
- };
9
- const success = Object.assign(Object.assign({}, baseArgs), { type: "success", headline: "Success Callout" });
10
- const warning = Object.assign(Object.assign({}, baseArgs), { type: "warning", headline: "Warning Callout" });
11
- const error = Object.assign(Object.assign({}, baseArgs), { cta: {
12
- label: "Optional CTA",
13
- url: "http://www.google.com",
14
- }, isCollapsible: true, isOpen: false, headline: "Error Callout (Collapsible)", toggleOpenLabel: "Open", toggleClosedLabel: "Closed", type: "error" });
15
- const CalloutArgs = { baseArgs, success, warning, error };
16
-
17
- exports.CalloutArgs = CalloutArgs;
@@ -1,15 +0,0 @@
1
- const baseArgs = {
2
- copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
3
- isCollapsible: false,
4
- headline: "Info Callout",
5
- type: "info",
6
- };
7
- const success = Object.assign(Object.assign({}, baseArgs), { type: "success", headline: "Success Callout" });
8
- const warning = Object.assign(Object.assign({}, baseArgs), { type: "warning", headline: "Warning Callout" });
9
- const error = Object.assign(Object.assign({}, baseArgs), { cta: {
10
- label: "Optional CTA",
11
- url: "http://www.google.com",
12
- }, isCollapsible: true, isOpen: false, headline: "Error Callout (Collapsible)", toggleOpenLabel: "Open", toggleClosedLabel: "Closed", type: "error" });
13
- const CalloutArgs = { baseArgs, success, warning, error };
14
-
15
- export { CalloutArgs as C };