@arc-ui/components 11.8.0 → 11.9.0

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 (42) hide show
  1. package/dist/Badge/Badge.cjs.d.ts +4 -0
  2. package/dist/Badge/Badge.cjs.js +3 -3
  3. package/dist/Badge/Badge.esm.d.ts +4 -0
  4. package/dist/Badge/Badge.esm.js +3 -3
  5. package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +1 -89
  6. package/dist/ProgressStepper/ProgressStepper.cjs.js +10 -144
  7. package/dist/ProgressStepper/ProgressStepper.esm.d.ts +1 -89
  8. package/dist/ProgressStepper/ProgressStepper.esm.js +9 -143
  9. package/dist/Tabs/Tabs.cjs.d.ts +1 -75
  10. package/dist/Tabs/Tabs.cjs.js +11 -505
  11. package/dist/Tabs/Tabs.esm.d.ts +1 -75
  12. package/dist/Tabs/Tabs.esm.js +10 -504
  13. package/dist/TextArea/TextArea.cjs.js +20 -8
  14. package/dist/TextArea/TextArea.esm.js +20 -8
  15. package/dist/Toast/Toast.cjs.d.ts +1 -52
  16. package/dist/Toast/Toast.cjs.js +14 -734
  17. package/dist/Toast/Toast.esm.d.ts +1 -52
  18. package/dist/Toast/Toast.esm.js +13 -733
  19. package/dist/_shared/cjs/MediaCard-9483ad5f.d.ts +60 -0
  20. package/dist/_shared/cjs/ProgressStepper-f740d7bb.d.ts +89 -0
  21. package/dist/_shared/cjs/ProgressStepper-f740d7bb.js +149 -0
  22. package/dist/_shared/cjs/Tabs-fda49692.d.ts +75 -0
  23. package/dist/_shared/cjs/Tabs-fda49692.js +510 -0
  24. package/dist/_shared/cjs/Toast-0cb23cae.d.ts +52 -0
  25. package/dist/_shared/cjs/Toast-0cb23cae.js +739 -0
  26. package/dist/_shared/esm/MediaCard-9483ad5f.d.ts +60 -0
  27. package/dist/_shared/esm/ProgressStepper-7ab88f4c.d.ts +89 -0
  28. package/dist/_shared/esm/ProgressStepper-7ab88f4c.js +143 -0
  29. package/dist/_shared/esm/Tabs-5af0b940.d.ts +75 -0
  30. package/dist/_shared/esm/Tabs-5af0b940.js +504 -0
  31. package/dist/_shared/esm/Toast-43795e91.d.ts +52 -0
  32. package/dist/_shared/esm/Toast-43795e91.js +733 -0
  33. package/dist/index.es.js +2312 -407
  34. package/dist/index.es.js.map +1 -1
  35. package/dist/index.js +2667 -751
  36. package/dist/index.js.map +1 -1
  37. package/dist/styles.css +1 -1
  38. package/dist/types/components/Badge/Badge.d.ts +4 -0
  39. package/dist/types/components/Toast/Toast.d.ts +2 -2
  40. package/dist/types/components/Toast/ToastNotification.d.ts +1 -1
  41. package/dist/types/components/index.d.ts +17 -6
  42. package/package.json +4 -4
@@ -1,52 +1 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC } from "react";
4
- declare const ToastNotification: FC<ToastNotificationProps>;
5
- type ToastStatus = "general" | "error" | "warning" | "success";
6
- interface ToastNotificationProps {
7
- /**
8
- * Title for `<Toast />`
9
- */
10
- title: string;
11
- /**
12
- * Set open state for `<Toast />`
13
- */
14
- isOpen: boolean;
15
- /**
16
- * Function to call when the open state of `<Toast />` changes. This needs to be supplied in order for the auto dismiss and the close button to work.
17
- */
18
- onOpenChange: (isOpen: boolean) => void;
19
- /**
20
- * Set whether close button shows
21
- */
22
- isCloseButtonVisible?: boolean;
23
- /**
24
- * Set whether to include a status icon
25
- */
26
- isStatusIconVisible?: boolean;
27
- /**
28
- * Link for `<Toast />`
29
- */
30
- link?: {
31
- text: string;
32
- ariaLabel?: string;
33
- href?: string;
34
- onClick?: () => void;
35
- };
36
- /**
37
- * Sstatus of `<Toast />`
38
- */
39
- status?: ToastStatus;
40
- }
41
- /** Use `Toast` to display temporary messages at the bottom of the viewport. */
42
- declare const Toast: FC<ToastProps> & {
43
- Notification: typeof ToastNotification;
44
- };
45
- interface ToastProps {
46
- children: React.ReactNode;
47
- /**
48
- * Color scheme for `<Toast />`
49
- */
50
- pathway?: "dark" | "light";
51
- }
52
- export { Toast };
1
+ export { Toast } from "../_shared/cjs/Toast-0cb23cae";