@nimbus-ds/components 5.57.2-rc.4 → 5.57.2-rc.6

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 (91) hide show
  1. package/dist/Accordion/index.d.ts +160 -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 +62 -0
  6. package/dist/Badge/index.js +2 -0
  7. package/dist/Box/index.d.ts +792 -0
  8. package/dist/Box/index.js +2 -0
  9. package/dist/Button/index.d.ts +88 -0
  10. package/dist/Button/index.js +2 -0
  11. package/dist/CHANGELOG.md +919 -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 +68 -0
  15. package/dist/Checkbox/index.js +2 -0
  16. package/dist/Chip/index.d.ts +59 -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/Divider/index.d.ts +43 -0
  21. package/dist/Divider/index.js +2 -0
  22. package/dist/FileUploader/index.d.ts +210 -0
  23. package/dist/FileUploader/index.js +2 -0
  24. package/dist/Icon/index.d.ts +123 -0
  25. package/dist/Icon/index.js +2 -0
  26. package/dist/IconButton/index.d.ts +175 -0
  27. package/dist/IconButton/index.js +2 -0
  28. package/dist/Input/index.d.ts +76 -0
  29. package/dist/Input/index.js +2 -0
  30. package/dist/Label/index.d.ts +55 -0
  31. package/dist/Label/index.js +2 -0
  32. package/dist/Link/index.d.ts +115 -0
  33. package/dist/Link/index.js +2 -0
  34. package/dist/List/index.d.ts +105 -0
  35. package/dist/List/index.js +2 -0
  36. package/dist/Modal/index.d.ts +239 -0
  37. package/dist/Modal/index.js +2 -0
  38. package/dist/MultiSelect/index.d.ts +107 -0
  39. package/dist/MultiSelect/index.js +2 -0
  40. package/dist/Pagination/index.d.ts +41 -0
  41. package/dist/Pagination/index.js +2 -0
  42. package/dist/Popover/index.d.ts +166 -0
  43. package/dist/Popover/index.js +2 -0
  44. package/dist/ProgressBar/index.d.ts +72 -0
  45. package/dist/ProgressBar/index.js +2 -0
  46. package/dist/README.md +235 -0
  47. package/dist/Radio/index.d.ts +62 -0
  48. package/dist/Radio/index.js +2 -0
  49. package/dist/ScrollPane/index.d.ts +925 -0
  50. package/dist/ScrollPane/index.js +2 -0
  51. package/dist/SegmentedControl/index.d.ts +894 -0
  52. package/dist/SegmentedControl/index.js +2 -0
  53. package/dist/Select/index.d.ts +87 -0
  54. package/dist/Select/index.js +2 -0
  55. package/dist/Sidebar/index.d.ts +390 -0
  56. package/dist/Sidebar/index.js +2 -0
  57. package/dist/Skeleton/index.d.ts +31 -0
  58. package/dist/Skeleton/index.js +2 -0
  59. package/dist/Slider/index.d.ts +158 -0
  60. package/dist/Slider/index.js +2 -0
  61. package/dist/Spinner/index.d.ts +53 -0
  62. package/dist/Spinner/index.js +2 -0
  63. package/dist/SplitButton/index.d.ts +1022 -0
  64. package/dist/SplitButton/index.js +2 -0
  65. package/dist/Stepper/index.d.ts +887 -0
  66. package/dist/Stepper/index.js +2 -0
  67. package/dist/Table/index.d.ts +193 -0
  68. package/dist/Table/index.js +2 -0
  69. package/dist/Tabs/index.d.ts +92 -0
  70. package/dist/Tabs/index.js +2 -0
  71. package/dist/Tag/index.d.ts +51 -0
  72. package/dist/Tag/index.js +2 -0
  73. package/dist/Text/index.d.ts +615 -0
  74. package/dist/Text/index.js +2 -0
  75. package/dist/Textarea/index.d.ts +76 -0
  76. package/dist/Textarea/index.js +2 -0
  77. package/dist/Thumbnail/index.d.ts +73 -0
  78. package/dist/Thumbnail/index.js +2 -0
  79. package/dist/TimePicker/index.d.ts +343 -0
  80. package/dist/TimePicker/index.js +2 -0
  81. package/dist/Title/index.d.ts +165 -0
  82. package/dist/Title/index.js +2 -0
  83. package/dist/Toast/index.d.ts +71 -0
  84. package/dist/Toast/index.js +2 -0
  85. package/dist/Toggle/index.d.ts +48 -0
  86. package/dist/Toggle/index.js +2 -0
  87. package/dist/Tooltip/index.d.ts +47 -0
  88. package/dist/Tooltip/index.js +2 -0
  89. package/dist/index.d.ts +4834 -0
  90. package/dist/index.js +2 -0
  91. package/package.json +1 -1
@@ -0,0 +1,160 @@
1
+ // Generated by dts-bundle-generator v7.2.0
2
+
3
+ import React from 'react';
4
+ import { HTMLAttributes, ReactNode } from 'react';
5
+
6
+ declare const accordion: {
7
+ sprinkle: ((props: {
8
+ borderTop?: "base" | "none" | undefined;
9
+ borderBottom?: "base" | "none" | undefined;
10
+ padding?: "base" | "none" | undefined;
11
+ }) => string) & {
12
+ properties: Set<"borderBottom" | "borderTop" | "padding">;
13
+ };
14
+ properties: {
15
+ borderTop: {
16
+ none: string;
17
+ base: string;
18
+ };
19
+ borderBottom: {
20
+ none: string;
21
+ base: string;
22
+ };
23
+ padding: {
24
+ none: string;
25
+ base: string;
26
+ };
27
+ };
28
+ classnames: {
29
+ header: string;
30
+ header_static: string;
31
+ header__content: string;
32
+ header__description: string;
33
+ header__title: string;
34
+ header_active: string;
35
+ body: string;
36
+ };
37
+ };
38
+ export interface AccordionBodyProperties {
39
+ /**
40
+ * The content of the accordion body.
41
+ * @TJS-type React.ReactNode
42
+ */
43
+ children: ReactNode;
44
+ /**
45
+ * The borderBottom property defines a lower border of the accordion body.
46
+ * @default none
47
+ */
48
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
49
+ /**
50
+ * The borderTop property defines a top border of the accordion body.
51
+ * @default none
52
+ */
53
+ borderTop?: keyof typeof accordion.properties.borderTop;
54
+ /**
55
+ * Padding properties are used to generate space around the content area of an Accordion.Body..
56
+ * @default base
57
+ */
58
+ padding?: keyof typeof accordion.properties.padding;
59
+ }
60
+ export type AccordionBodyProps = AccordionBodyProperties & HTMLAttributes<HTMLElement>;
61
+ export declare const AccordionBody: React.FC<AccordionBodyProps>;
62
+ export interface AccordionItemProperties {
63
+ /**
64
+ * The content of the accordion body.
65
+ * @TJS-type React.ReactNode
66
+ */
67
+ children: ReactNode;
68
+ /**
69
+ * Unique indicator to identify accordion items
70
+ */
71
+ index: string;
72
+ /**
73
+ * Determines if the accordion item is interactive (clickable) or static.
74
+ * When false, the header renders as a div without click handlers, hover effects, or toggle icon.
75
+ * @default true
76
+ */
77
+ interactive?: boolean;
78
+ /**
79
+ * This is an attribute used to identify a DOM node for testing purposes.
80
+ */
81
+ testId?: string;
82
+ }
83
+ export type AccordionItemProps = AccordionItemProperties;
84
+ export declare const AccordionItem: React.FC<AccordionItemProps>;
85
+ export interface AccordionHeaderProperties {
86
+ /**
87
+ * The content of the accordion header.
88
+ * @TJS-type React.ReactNode | ((data: { selected: string; index: string }) => React.ReactNode);
89
+ */
90
+ children?: ReactNode | ((data: {
91
+ selected: string;
92
+ index: string;
93
+ }) => ReactNode);
94
+ /**
95
+ * The title to display in the accordion header.
96
+ */
97
+ title?: string;
98
+ /**
99
+ * The subtitle to display in the accordion header.
100
+ */
101
+ subtitle?: string;
102
+ /**
103
+ * The SVG contents to display in the accordion header.
104
+ * @TJS-type React.ReactNode
105
+ */
106
+ icon?: ReactNode;
107
+ /**
108
+ * Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
109
+ * @default false
110
+ */
111
+ noIconToggle?: boolean;
112
+ /**
113
+ * The borderTop property defines a lower border of the accordion header.
114
+ * @default base
115
+ */
116
+ borderTop?: keyof typeof accordion.properties.borderTop;
117
+ /**
118
+ * The borderBottom property defines a lower border of the accordion header.
119
+ */
120
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
121
+ }
122
+ export type AccordionHeaderProps = AccordionHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "children">;
123
+ export declare const AccordionHeader: React.FC<AccordionHeaderProps>;
124
+ export interface AccordionComponents {
125
+ Body: typeof AccordionBody;
126
+ Item: typeof AccordionItem;
127
+ Header: typeof AccordionHeader;
128
+ }
129
+ export interface AccordionBaseProperties {
130
+ /**
131
+ * The content of the accordion.
132
+ * @TJS-type React.ReactNode
133
+ */
134
+ children?: ReactNode;
135
+ }
136
+ export interface UncontrolledAccordionProperties extends AccordionBaseProperties {
137
+ /**
138
+ * Informs which accordion item is open by default, this value must be the same as informed in the index of each item
139
+ */
140
+ selectedDefault?: string;
141
+ }
142
+ export interface ControlledAccordionProperties extends AccordionBaseProperties {
143
+ /**
144
+ * The currently selected accordion item ID.
145
+ */
146
+ selectedItem: string;
147
+ /**
148
+ * Callback fired when the selected accordion item changes.
149
+ * @param selectedId The ID of the selected accordion item
150
+ */
151
+ onItemSelect?: (selectedId: string) => void;
152
+ }
153
+ /**
154
+ * Props for the Accordion component, supporting both controlled and uncontrolled modes
155
+ */
156
+ export type AccordionProps = (UncontrolledAccordionProperties | ControlledAccordionProperties) & Omit<HTMLAttributes<HTMLElement>, "onItemSelect" | "selectedItem">;
157
+ export type AccordionProperties = AccordionBaseProperties & UncontrolledAccordionProperties & ControlledAccordionProperties;
158
+ export declare const Accordion: React.FC<AccordionProps> & AccordionComponents;
159
+
160
+ export {};