@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,54 @@
1
+ // Generated by dts-bundle-generator v7.2.0
2
+
3
+ import React from 'react';
4
+ import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
5
+
6
+ export interface SkeletonProperties {
7
+ /**
8
+ * Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.
9
+ */
10
+ width: string;
11
+ /**
12
+ * Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.
13
+ */
14
+ height: string;
15
+ /**
16
+ * The border radius of the skeleton.
17
+ */
18
+ borderRadius?: string;
19
+ /**
20
+ * This is an attribute used to identify a DOM node for testing purposes.
21
+ */
22
+ "data-testid"?: string;
23
+ }
24
+ export type SkeletonProps = SkeletonProperties & HTMLAttributes<HTMLDivElement>;
25
+ export type ChipSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
26
+ /**
27
+ * This is an attribute used to identify a DOM node for testing purposes.
28
+ */
29
+ "data-testid"?: string;
30
+ };
31
+ export type ChipSkeletonProps = ChipSkeletonProperties;
32
+ export declare const ChipSkeleton: React.FC<ChipSkeletonProps>;
33
+ export interface ChipComponents {
34
+ Skeleton: typeof ChipSkeleton;
35
+ }
36
+ export interface ChipProperties {
37
+ /**
38
+ Text to be displayed on chip.
39
+ */
40
+ text: string;
41
+ /**
42
+ * SVG icon to be displayed on chip.
43
+ * @TJS-type React.ReactNode
44
+ */
45
+ icon?: ReactNode;
46
+ /**
47
+ * Informs whether the close icon should be displayed.
48
+ */
49
+ removable?: boolean;
50
+ }
51
+ export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
52
+ export declare const Chip: React.FC<ChipProps> & ChipComponents;
53
+
54
+ export {};