@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
@@ -119,7 +119,9 @@ declare const propertiesBox: {
119
119
  "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
120
120
  "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
121
121
  "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
122
- "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
122
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
123
+ * The min height property specifies the height of a box's content area.
124
+ */
123
125
  "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
124
126
  "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
125
127
  "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -150,7 +152,9 @@ declare const propertiesBox: {
150
152
  "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
151
153
  "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
152
154
  "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
153
- "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
155
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
156
+ * The min height property specifies the height of a box's content area.
157
+ */
154
158
  "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
155
159
  "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
156
160
  "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -180,7 +184,6 @@ declare const propertiesBox: {
180
184
  "neutral-surfaceDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
181
185
  "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
182
186
  transparent: string;
183
- "ai-generative-interactive": string;
184
187
  };
185
188
  borderRadius: {
186
189
  "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -64,7 +64,7 @@ export interface ButtonProperties {
64
64
  * Change the visual style of the button.
65
65
  * @default neutral
66
66
  */
67
- appearance?: "primary" | "danger" | "neutral" | "transparent";
67
+ appearance?: "primary" | "danger" | "neutral" | "transparent" | "ai-primary" | "ai-secondary";
68
68
  /**
69
69
  * Disables the button, disallowing user interaction.
70
70
  * @default false
package/dist/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  Nimbus is an open-source Design System created by Tiendanube / Nuvemshop's team to empower and enhance more stories every day, with simplicity, accessibility, consistency and performance.
4
4
 
5
+ ## 2025-09-17 `5.24.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added `ai-generative` appearance to `IconButton` component to match Nimbus AI gradient style. ([#353](https://github.com/TiendaNube/nimbus-design-system/pull/353) by [@joacotornello](https://github.com/joacotornello))
10
+ - Added `ai-generative` appearance to `Button` component to match Nimbus AI gradient style. ([#353](https://github.com/TiendaNube/nimbus-design-system/pull/353) by [@joacotornello](https://github.com/joacotornello))
11
+ - Several components received `:hover` and `:active` properties to improve hover and active states. ([#353](https://github.com/TiendaNube/nimbus-design-system/pull/353) by [@joacotornello](https://github.com/joacotornello))
12
+
13
+ ## 2025-09-16 `5.23.0`
14
+
15
+ #### 🎉 New features
16
+
17
+ - `Box`: Added `ai-generative-interactive` and `ai-generative-interactive-border` options to `background` property, and `aiFocus` option to `boxShadow` property. ([#352](https://github.com/TiendaNube/nimbus-design-system/pull/352) by [@joacotornello](https://github.com/joacotornello))
18
+
5
19
  ## 2025-09-15 `5.22.0`
6
20
 
7
21
  #### 🎉 New features
@@ -0,0 +1,59 @@
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
+ * Highlights the chip to indicate its value was generated by AI.
52
+ * Applies AI gradient border and an AI outline.
53
+ */
54
+ aiGenerated?: boolean;
55
+ }
56
+ export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
57
+ export declare const Chip: React.FC<ChipProps> & ChipComponents;
58
+
59
+ export {};