@nimbus-ds/components 5.23.0-rc.1 → 5.24.0-rc.1

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/CHANGELOG.md +14 -0
  2. package/dist/Accordion/index.js +1 -1
  3. package/dist/Alert/index.d.ts +60 -0
  4. package/dist/Alert/index.js +1 -1
  5. package/dist/Box/index.d.ts +6 -3
  6. package/dist/Button/index.d.ts +1 -1
  7. package/dist/CHANGELOG.md +14 -0
  8. package/dist/Chip/index.d.ts +59 -0
  9. package/dist/Chip/index.js +1 -1
  10. package/dist/FileUploader/index.d.ts +98 -0
  11. package/dist/FileUploader/index.js +1 -1
  12. package/dist/Icon/index.d.ts +120 -0
  13. package/dist/Icon/index.js +1 -1
  14. package/dist/IconButton/index.d.ts +7 -0
  15. package/dist/IconButton/index.js +1 -1
  16. package/dist/Input/index.d.ts +76 -0
  17. package/dist/Input/index.js +1 -1
  18. package/dist/Link/index.d.ts +115 -0
  19. package/dist/Modal/index.d.ts +232 -0
  20. package/dist/Modal/index.js +1 -1
  21. package/dist/MultiSelect/index.d.ts +107 -0
  22. package/dist/MultiSelect/index.js +1 -1
  23. package/dist/Pagination/index.d.ts +41 -0
  24. package/dist/Pagination/index.js +1 -1
  25. package/dist/Popover/index.d.ts +165 -0
  26. package/dist/Radio/index.d.ts +62 -0
  27. package/dist/ScrollPane/index.d.ts +889 -0
  28. package/dist/SegmentedControl/index.d.ts +6 -3
  29. package/dist/Select/index.d.ts +81 -0
  30. package/dist/Select/index.js +1 -1
  31. package/dist/Skeleton/index.d.ts +31 -0
  32. package/dist/Spinner/index.d.ts +53 -0
  33. package/dist/Stepper/index.d.ts +869 -0
  34. package/dist/Stepper/index.js +1 -1
  35. package/dist/Thumbnail/index.d.ts +73 -0
  36. package/dist/Thumbnail/index.js +1 -1
  37. package/dist/Toast/index.d.ts +56 -0
  38. package/dist/Toast/index.js +1 -1
  39. package/dist/Tooltip/index.d.ts +46 -0
  40. package/dist/index.d.ts +14 -4
  41. package/dist/index.js +1 -1
  42. package/package.json +1 -1
@@ -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 {};
package/dist/index.d.ts CHANGED
@@ -170,7 +170,9 @@ declare const propertiesBox: {
170
170
  "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
171
171
  "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
172
172
  "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
173
- "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
173
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
174
+ * The min height property specifies the height of a box's content area.
175
+ */
174
176
  "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
175
177
  "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
176
178
  "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -201,7 +203,9 @@ declare const propertiesBox: {
201
203
  "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
202
204
  "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
203
205
  "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
204
- "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
206
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
207
+ * The min height property specifies the height of a box's content area.
208
+ */
205
209
  "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
206
210
  "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
207
211
  "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -231,7 +235,6 @@ declare const propertiesBox: {
231
235
  "neutral-surfaceDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
232
236
  "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
233
237
  transparent: string;
234
- "ai-generative-interactive": string;
235
238
  };
236
239
  borderRadius: {
237
240
  "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -877,6 +880,7 @@ declare const propertiesIconButton: {
877
880
  "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
878
881
  "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
879
882
  "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
883
+ "ai-generativeSurface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
880
884
  };
881
885
  borderColor: {
882
886
  "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -886,6 +890,7 @@ declare const propertiesIconButton: {
886
890
  transparent: string;
887
891
  "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
888
892
  "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
893
+ "ai-generativeSurface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
889
894
  };
890
895
  };
891
896
  export type IconButtonBackgroundColorProperties = keyof typeof propertiesIconButton.backgroundColor;
@@ -2218,7 +2223,7 @@ export interface ButtonProperties {
2218
2223
  * Change the visual style of the button.
2219
2224
  * @default neutral
2220
2225
  */
2221
- appearance?: "primary" | "danger" | "neutral" | "transparent";
2226
+ appearance?: "primary" | "danger" | "neutral" | "transparent" | "ai-primary" | "ai-secondary";
2222
2227
  /**
2223
2228
  * Disables the button, disallowing user interaction.
2224
2229
  * @default false
@@ -2426,6 +2431,11 @@ export interface IconButtonProperties extends IconButtonSprinkle {
2426
2431
  * @default neutral-textHigh
2427
2432
  */
2428
2433
  color?: IconProps["color"];
2434
+ /**
2435
+ * AI gradient background appearance for the button container.
2436
+ * When provided, container color/border sprinkles are ignored in favor of gradient styles.
2437
+ */
2438
+ appearance?: "ai-generative";
2429
2439
  }
2430
2440
  export type IconButtonProps = IconButtonProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
2431
2441
  export declare const IconButton: React.FC<IconButtonProps> & IconButtonComponents;