@nimbus-ds/components 5.8.0-rc.22 → 5.8.0-rc.24

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 (74) hide show
  1. package/dist/Accordion/index.d.ts +136 -0
  2. package/dist/Accordion/index.js +2 -0
  3. package/dist/Alert/index.d.ts +60 -0
  4. package/dist/Alert/index.js +2 -0
  5. package/dist/Badge/index.d.ts +55 -0
  6. package/dist/Badge/index.js +2 -0
  7. package/dist/Box/index.d.ts +763 -0
  8. package/dist/Box/index.js +2 -0
  9. package/dist/Button/index.d.ts +78 -0
  10. package/dist/Button/index.js +2 -0
  11. package/dist/CHANGELOG.md +489 -0
  12. package/dist/Card/index.d.ts +153 -0
  13. package/dist/Card/index.js +2 -0
  14. package/dist/Checkbox/index.d.ts +62 -0
  15. package/dist/Checkbox/index.js +2 -0
  16. package/dist/Chip/index.d.ts +54 -0
  17. package/dist/Chip/index.js +2 -0
  18. package/dist/Collapsible/index.d.ts +45 -0
  19. package/dist/Collapsible/index.js +2 -0
  20. package/dist/FileUploader/index.d.ts +98 -0
  21. package/dist/FileUploader/index.js +2 -0
  22. package/dist/Icon/index.d.ts +96 -0
  23. package/dist/Icon/index.js +2 -0
  24. package/dist/IconButton/index.d.ts +98 -0
  25. package/dist/IconButton/index.js +2 -0
  26. package/dist/Input/index.d.ts +71 -0
  27. package/dist/Input/index.js +2 -0
  28. package/dist/Label/index.d.ts +55 -0
  29. package/dist/Label/index.js +2 -0
  30. package/dist/Link/index.d.ts +115 -0
  31. package/dist/Link/index.js +2 -0
  32. package/dist/List/index.d.ts +75 -0
  33. package/dist/List/index.js +2 -0
  34. package/dist/Modal/index.d.ts +210 -0
  35. package/dist/Modal/index.js +2 -0
  36. package/dist/MultiSelect/index.d.ts +107 -0
  37. package/dist/MultiSelect/index.js +2 -0
  38. package/dist/Pagination/index.d.ts +41 -0
  39. package/dist/Pagination/index.js +2 -0
  40. package/dist/Popover/index.d.ts +160 -0
  41. package/dist/Popover/index.js +2 -0
  42. package/dist/README.md +235 -0
  43. package/dist/Radio/index.d.ts +62 -0
  44. package/dist/Radio/index.js +2 -0
  45. package/dist/Select/index.d.ts +81 -0
  46. package/dist/Select/index.js +2 -0
  47. package/dist/Sidebar/index.d.ts +367 -0
  48. package/dist/Sidebar/index.js +2 -0
  49. package/dist/Skeleton/index.d.ts +31 -0
  50. package/dist/Skeleton/index.js +2 -0
  51. package/dist/Spinner/index.d.ts +53 -0
  52. package/dist/Spinner/index.js +2 -0
  53. package/dist/Table/index.d.ts +123 -0
  54. package/dist/Table/index.js +2 -0
  55. package/dist/Tabs/index.d.ts +78 -0
  56. package/dist/Tabs/index.js +2 -0
  57. package/dist/Tag/index.d.ts +51 -0
  58. package/dist/Tag/index.js +2 -0
  59. package/dist/Text/index.d.ts +465 -0
  60. package/dist/Text/index.js +2 -0
  61. package/dist/Textarea/index.d.ts +50 -0
  62. package/dist/Textarea/index.js +2 -0
  63. package/dist/Thumbnail/index.d.ts +72 -0
  64. package/dist/Thumbnail/index.js +2 -0
  65. package/dist/Title/index.d.ts +164 -0
  66. package/dist/Title/index.js +2 -0
  67. package/dist/Toast/index.d.ts +56 -0
  68. package/dist/Toast/index.js +2 -0
  69. package/dist/Toggle/index.d.ts +48 -0
  70. package/dist/Toggle/index.js +2 -0
  71. package/dist/Tooltip/index.d.ts +46 -0
  72. package/dist/Tooltip/index.js +2 -0
  73. package/dist/index.js +2 -1
  74. package/package.json +148 -3
@@ -0,0 +1,46 @@
1
+ // Generated by dts-bundle-generator v7.2.0
2
+
3
+ import React from 'react';
4
+ import { HTMLAttributes, ReactNode } from 'react';
5
+
6
+ export interface Conditions<T> {
7
+ xs?: T;
8
+ md?: T;
9
+ lg?: T;
10
+ xl?: T;
11
+ }
12
+ export interface TooltipSprinkle {
13
+ /**
14
+ * The maxWidth property specifies the maximum width of a popover's content area.
15
+ */
16
+ maxWidth?: string | Conditions<string>;
17
+ }
18
+ export interface TooltipProperties extends TooltipSprinkle {
19
+ /**
20
+ * An HTML element, or a function that returns one. It's used to set the position of the tooltip.
21
+ * @TJS-type React.ReactNode
22
+ */
23
+ children: ReactNode;
24
+ /**
25
+ * The text that should appear in the tooltip message.
26
+ */
27
+ content: string;
28
+ /**
29
+ * Conditional for displaying the popover arrow.
30
+ * @default false
31
+ */
32
+ arrow?: boolean;
33
+ /**
34
+ * Position of the popover.
35
+ * @default bottom
36
+ */
37
+ position?: "top" | "bottom" | "left" | "right";
38
+ }
39
+ export type TooltipProps = TooltipProperties & HTMLAttributes<HTMLDivElement>;
40
+ export declare const Tooltip: React.FC<TooltipProps>;
41
+
42
+ export {
43
+ Tooltip as default,
44
+ };
45
+
46
+ export {};