@nimbus-ds/components 5.29.0-rc.1 → 5.29.0

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 (78) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/Accordion/index.d.ts +136 -0
  3. package/dist/Accordion/index.js +1 -1
  4. package/dist/Alert/index.d.ts +60 -0
  5. package/dist/Alert/index.js +1 -1
  6. package/dist/Badge/index.d.ts +55 -0
  7. package/dist/Badge/index.js +1 -1
  8. package/dist/Box/index.d.ts +779 -0
  9. package/dist/Button/index.d.ts +83 -0
  10. package/dist/Button/index.js +1 -1
  11. package/dist/CHANGELOG.md +1 -1
  12. package/dist/Card/index.d.ts +153 -0
  13. package/dist/Card/index.js +1 -1
  14. package/dist/Checkbox/index.d.ts +62 -0
  15. package/dist/Checkbox/index.js +1 -1
  16. package/dist/Chip/index.d.ts +59 -0
  17. package/dist/Chip/index.js +1 -1
  18. package/dist/Collapsible/index.d.ts +45 -0
  19. package/dist/Divider/index.d.ts +30 -0
  20. package/dist/FileUploader/index.d.ts +98 -0
  21. package/dist/FileUploader/index.js +1 -1
  22. package/dist/Icon/index.d.ts +120 -0
  23. package/dist/Icon/index.js +1 -1
  24. package/dist/IconButton/index.d.ts +170 -0
  25. package/dist/IconButton/index.js +1 -1
  26. package/dist/Input/index.d.ts +76 -0
  27. package/dist/Input/index.js +1 -1
  28. package/dist/Label/index.d.ts +55 -0
  29. package/dist/Label/index.js +1 -1
  30. package/dist/Link/index.d.ts +115 -0
  31. package/dist/Link/index.js +1 -1
  32. package/dist/List/index.d.ts +75 -0
  33. package/dist/List/index.js +1 -1
  34. package/dist/Modal/index.d.ts +232 -0
  35. package/dist/Modal/index.js +1 -1
  36. package/dist/MultiSelect/index.d.ts +107 -0
  37. package/dist/MultiSelect/index.js +1 -1
  38. package/dist/Pagination/index.d.ts +41 -0
  39. package/dist/Pagination/index.js +1 -1
  40. package/dist/Popover/index.d.ts +165 -0
  41. package/dist/ProgressBar/index.d.ts +57 -0
  42. package/dist/ProgressBar/index.js +1 -1
  43. package/dist/Radio/index.d.ts +62 -0
  44. package/dist/Radio/index.js +1 -1
  45. package/dist/ScrollPane/index.d.ts +893 -0
  46. package/dist/ScrollPane/index.js +1 -1
  47. package/dist/SegmentedControl/index.d.ts +879 -0
  48. package/dist/SegmentedControl/index.js +1 -1
  49. package/dist/Select/index.d.ts +87 -0
  50. package/dist/Select/index.js +1 -1
  51. package/dist/Sidebar/index.d.ts +389 -0
  52. package/dist/Sidebar/index.js +1 -1
  53. package/dist/Skeleton/index.d.ts +31 -0
  54. package/dist/Spinner/index.d.ts +53 -0
  55. package/dist/Stepper/index.d.ts +873 -0
  56. package/dist/Stepper/index.js +1 -1
  57. package/dist/Table/index.d.ts +123 -0
  58. package/dist/Tabs/index.d.ts +92 -0
  59. package/dist/Tag/index.d.ts +51 -0
  60. package/dist/Tag/index.js +1 -1
  61. package/dist/Text/index.d.ts +508 -0
  62. package/dist/Text/index.js +1 -1
  63. package/dist/Textarea/index.d.ts +71 -0
  64. package/dist/Textarea/index.js +1 -1
  65. package/dist/Thumbnail/index.d.ts +73 -0
  66. package/dist/Thumbnail/index.js +1 -1
  67. package/dist/Title/index.d.ts +164 -0
  68. package/dist/Title/index.js +1 -1
  69. package/dist/Toast/index.d.ts +56 -0
  70. package/dist/Toast/index.js +1 -1
  71. package/dist/Toggle/index.d.ts +48 -0
  72. package/dist/Toggle/index.js +1 -1
  73. package/dist/Tooltip/index.d.ts +46 -0
  74. package/dist/Tooltip/index.js +1 -1
  75. package/dist/components-props.json +1 -0
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.js +1 -1
  78. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -6,7 +6,7 @@ Nimbus is an open-source Design System created by Tiendanube / Nuvemshop's team
6
6
 
7
7
  #### 🎉 New features
8
8
 
9
- - `Text`: Added `ai-generative` appearance to highlight AI-generated content using Nimbus AI gradient style. ([#TBD](https://github.com/TiendaNube/nimbus-design-system/pull/TBD) by [@usuario](https://github.com/usuario))
9
+ - `Text`: Added `ai-generative` appearance to highlight AI-generated content using Nimbus AI gradient style. ([#363](https://github.com/TiendaNube/nimbus-design-system/pull/363) by [@joacotornello](https://github.com/joacotornello))
10
10
 
11
11
  ## 2025-09-25 `5.28.0`
12
12
 
@@ -0,0 +1,136 @@
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__content: string;
31
+ header__description: string;
32
+ header__title: string;
33
+ header_active: string;
34
+ body: string;
35
+ };
36
+ };
37
+ export interface AccordionBodyProperties {
38
+ /**
39
+ * The content of the accordion body.
40
+ * @TJS-type React.ReactNode
41
+ */
42
+ children: ReactNode;
43
+ /**
44
+ * The borderBottom property defines a lower border of the accordion body.
45
+ * @default none
46
+ */
47
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
48
+ /**
49
+ * The borderTop property defines a top border of the accordion body.
50
+ * @default none
51
+ */
52
+ borderTop?: keyof typeof accordion.properties.borderTop;
53
+ /**
54
+ * Padding properties are used to generate space around the content area of an Accordion.Body..
55
+ * @default base
56
+ */
57
+ padding?: keyof typeof accordion.properties.padding;
58
+ }
59
+ export type AccordionBodyProps = AccordionBodyProperties & HTMLAttributes<HTMLElement>;
60
+ export declare const AccordionBody: React.FC<AccordionBodyProps>;
61
+ export interface AccordionItemProperties {
62
+ /**
63
+ * The content of the accordion body.
64
+ * @TJS-type React.ReactNode
65
+ */
66
+ children: ReactNode;
67
+ /**
68
+ * Unique indicator to identify accordion items
69
+ */
70
+ index: string;
71
+ /**
72
+ * This is an attribute used to identify a DOM node for testing purposes.
73
+ */
74
+ testId?: string;
75
+ }
76
+ export type AccordionItemProps = AccordionItemProperties;
77
+ export declare const AccordionItem: React.FC<AccordionItemProps>;
78
+ export interface AccordionHeaderProperties {
79
+ /**
80
+ * The content of the accordion header.
81
+ * @TJS-type React.ReactNode | ((data: { selected: string; index: string }) => React.ReactNode);
82
+ */
83
+ children?: ReactNode | ((data: {
84
+ selected: string;
85
+ index: string;
86
+ }) => ReactNode);
87
+ /**
88
+ * The title to display in the accordion header.
89
+ */
90
+ title?: string;
91
+ /**
92
+ * The subtitle to display in the accordion header.
93
+ */
94
+ subtitle?: string;
95
+ /**
96
+ * The SVG contents to display in the accordion header.
97
+ * @TJS-type React.ReactNode
98
+ */
99
+ icon?: ReactNode;
100
+ /**
101
+ * Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
102
+ * @default false
103
+ */
104
+ noIconToggle?: boolean;
105
+ /**
106
+ * The borderTop property defines a lower border of the accordion header.
107
+ * @default base
108
+ */
109
+ borderTop?: keyof typeof accordion.properties.borderTop;
110
+ /**
111
+ * The borderBottom property defines a lower border of the accordion header.
112
+ */
113
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
114
+ }
115
+ export type AccordionHeaderProps = AccordionHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "children">;
116
+ export declare const AccordionHeader: React.FC<AccordionHeaderProps>;
117
+ export interface AccordionComponents {
118
+ Body: typeof AccordionBody;
119
+ Item: typeof AccordionItem;
120
+ Header: typeof AccordionHeader;
121
+ }
122
+ export interface AccordionProperties {
123
+ /**
124
+ * The content of the accordion.
125
+ * @TJS-type React.ReactNode
126
+ */
127
+ children?: ReactNode;
128
+ /**
129
+ * Informs which accordion item is open by default, this value must be the same as informed in the index of each item
130
+ */
131
+ selectedDefault?: string;
132
+ }
133
+ export type AccordionProps = AccordionProperties & HTMLAttributes<HTMLElement>;
134
+ export declare const Accordion: React.FC<AccordionProps> & AccordionComponents;
135
+
136
+ export {};